[xwiki-users] Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context.
Hi again, I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started. "Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context." I have found no where a similar problem in the list. Here is below what's at the end of my web.xml file in the same WEB-INF directory. <env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app> What's wrong in my configuration ? Thanks again ! Fabien
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ?
Why did you add this in your web.xml? Thanks -Vincent
I don't remember adding it myself ! I will remove that just to see what's happen. Fabien 2008/6/4 Vincent Massol <[email protected]>:
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ?
Why did you add this in your web.xml?
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Vincent Massol wrote:
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ?
Why did you add this in your web.xml?
He didn't, that's part of the "official" web.xml Anyway, I never saw this error before. Are you sure the file is still there? Does the container have read access to it? -- Sergiu Dumitriu http://purl.org/net/sergiu/
Exactly same error after stop restart of tomcat 2008/6/4 Fabien <[email protected]>:
I don't remember adding it myself !
I will remove that just to see what's happen.
Fabien
2008/6/4 Vincent Massol <[email protected]>:
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ?
Why did you add this in your web.xml?
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Yes I checked that the file is world readable, and I can edit it. Is it ok that the path is absolute [/WEB-INF/xwiki.cfg] ? By looking at the code I did not find a prefix added before. Fabien 2008/6/4 Sergiu Dumitriu <[email protected]>:
Vincent Massol wrote:
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ?
Why did you add this in your web.xml?
He didn't, that's part of the "official" web.xml
Anyway, I never saw this error before. Are you sure the file is still there? Does the container have read access to it? -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Fabien wrote:
Yes I checked that the file is world readable, and I can edit it.
Is it ok that the path is absolute [/WEB-INF/xwiki.cfg] ?
Yes, it should be OK. The strange thing is that it used to work (right?). Did you change anything in the tomcat settings? Did you change the xwiki.cfg file? Check that the file does not contain any non-ascii characters. You could try to use the default xwiki.cfg and see if that works, then integrate your changes back, and see when it starts failing.
By looking at the code I did not find a prefix added before.
Fabien
2008/6/4 Sergiu Dumitriu <[email protected]>:
Vincent Massol wrote:
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ? Why did you add this in your web.xml? He didn't, that's part of the "official" web.xml
Anyway, I never saw this error before. Are you sure the file is still there? Does the container have read access to it?
-- Sergiu Dumitriu http://purl.org/net/sergiu/
It worked with a basic xwiki.cfg but I have still a debug trace in the log telling xwiki is not able to load it ! Perhaps the trace was always there and I only notice it recently, I will try to update my source repository and rebuild xwiki XE. Fabien 2008/6/4 Sergiu Dumitriu <[email protected]>:
Fabien wrote:
Yes I checked that the file is world readable, and I can edit it.
Is it ok that the path is absolute [/WEB-INF/xwiki.cfg] ?
Yes, it should be OK. The strange thing is that it used to work (right?). Did you change anything in the tomcat settings? Did you change the xwiki.cfg file?
Check that the file does not contain any non-ascii characters. You could try to use the default xwiki.cfg and see if that works, then integrate your changes back, and see when it starts failing.
By looking at the code I did not find a prefix added before.
Fabien
2008/6/4 Sergiu Dumitriu <[email protected]>:
Vincent Massol wrote:
On Jun 4, 2008, at 3:32 PM, Fabien wrote:
Hi again,
I have found that my xwiki.cfg is no more read when tomcat and xwiki sevlet is started.
"Failed to load the file [/WEB-INF/xwiki.cfg] as a resource using the Servlet Context."
I have found no where a similar problem in the list.
Here is below what's at the end of my web.xml file in the same WEB-INF directory.
<env-entry> <env-entry-name>XWikiConfig</env-entry-name> <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> </web-app>
What's wrong in my configuration ? Why did you add this in your web.xml? He didn't, that's part of the "official" web.xml
Anyway, I never saw this error before. Are you sure the file is still there? Does the container have read access to it?
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Fabien wrote:
It worked with a basic xwiki.cfg but I have still a debug trace in the log telling xwiki is not able to load it !
Perhaps the trace was always there and I only notice it recently, I will try to update my source repository and rebuild xwiki XE.
Oh, if it is a DEBUG trace, then that's normal. XWiki tries to read the file using several methods, and only if none of the methods succeeds it logs an error. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (3)
-
Fabien -
Sergiu Dumitriu -
Vincent Massol