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 > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
