Access denied to xwiki.cfg

Fernando Lozano fernando.lozano at neki.com.br
Thu Jul 26 23:06:05 CEST 2007


Hi there,

After running XWiki fine in my local server, I'm trying to run it on my hosting provider.
Acces to WebHome yelds the error:

javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: access denied (java.io.FilePermission /WEB-INF/xwiki.cfg read)

I tried changing web.xml to

<env-entry>
        <env-entry-name>XWikiConfig</env-entry-name>
        <!--
        <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value>
        -->
        <env-entry-value>/virtual/lozano.eti.br/www/xwiki/WEB-INF/xwiki.cfg</env
-entry-value>
        <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>

That is, I tried cofiguring the real phisical path to the xwiki.cfg file,
But still get the same error.

My ISP tells me Xwiki is trying to get /WEB-INF/xwiki.cfg as an absolute file system path,
not as a context-relative path, and it looks like changing the <env-entry> has no effect.

What should I do?


[]s, Fernando Lozano


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fernando.lozano.vcf
Type: text/x-vcard
Size: 284 bytes
Desc: not available
Url : http://lists.xwiki.org/pipermail/users/attachments/20070726/214d51dd/attachment-0001.vcf 


More information about the users mailing list