Hey guys -- I just grabbed the Windows .exe for rc4 to try it out quick, and noticed that it doesn't work out of the box. When I start it, I get this failure: 19:08:46.125 WARN!! [main] org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:519)
12> Configuration error on file:/C:/Program%20Files/XWiki/xwikionjetty/webapps/xwiki/ org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory. at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source) at org.apache.xerces.impl.dv.DTDDVFactory.getInstance(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.<init>(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.<init>(Unknown Source) ...
I figured out that I needed to delete the xerces jar file from our lib directory, and after I did that it worked. But this is not at all obvious, and really for something that is stated "Should be used by first-time users.", it'll leave a very bad impression. I would just add it to the Instructions, but I'm not sure if that is good enough. Would it make sense to modify the build script to delete the xerces jar file when creating the Windows exe? shawn.
Hi Shawn, Shawn Lauzon a écrit :
I figured out that I needed to delete the xerces jar file from our lib directory,
When you say 'our lib directory', you mean the xwiki lib directory, aren't you ?
and after I did that it worked. But this is not at all obvious, and really for something that is stated "Should be used by first-time users.", it'll leave a very bad impression. I would just add it to the Instructions, but I'm not sure if that is good enough. Would it make sense to modify the build script to delete the xerces jar file when creating the Windows exe?
The build script already deletes these 3 files : xercesImpl.jar xml-apis.jar xmlParserAPIs-2.5.jar these files are found in the jetty 5.1.5 distribution, and will clash with XWiki provided jars, so they are removed during the exe construction. what is exactly the name of the jar file you had to remove ? may be a newly added jar file in XWiki lib clashes with a file present in Jetty distribution. regards, Seb.
Sébastien Gaïde <[email protected]> wrote on 05/14/2007 12:40:12 PM:
Hi Shawn,
Shawn Lauzon a écrit :
I figured out that I needed to delete the xerces jar file from our lib
directory,
When you say 'our lib directory', you mean the xwiki lib directory, aren't you ?
Yes I do.
and after I did that it worked. But this is not at all obvious, and really for something that is stated "Should be used by first-time users.", it'll leave a very bad impression. I would just
add
it to the Instructions, but I'm not sure if that is good enough. Would
it make sense to modify the build script to delete the xerces jar file
when creating the Windows exe?
The build script already deletes these 3 files :
xercesImpl.jar xml-apis.jar xmlParserAPIs-2.5.jar
these files are found in the jetty 5.1.5 distribution, and will clash with XWiki provided jars, so they are removed during the exe construction.
what is exactly the name of the jar file you had to remove ?
I deleted xerces-2.7.1.jar. And it was very weird, in that this file does not exist in the jetty installation. But when I have it in it fails, when not it works.
may be a newly added jar file in XWiki lib clashes with a file present in Jetty distribution.
regards,
Seb.
-- You receive this message as a subscriber of the xwiki-dev@objectweb. org mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi Shawn, I've tried again installing RC4 on windows XP and it worked now for me. What JDK are you using? (I have the feeling the JDK version could be causing the issue). Thanks -Vincent On May 14, 2007, at 7:47 PM, Shawn Lauzon wrote:
Sébastien Gaïde <[email protected]> wrote on 05/14/2007 12:40:12 PM:
Hi Shawn,
Shawn Lauzon a écrit :
I figured out that I needed to delete the xerces jar file from our lib directory,
When you say 'our lib directory', you mean the xwiki lib directory, aren't you ?
Yes I do.
and after I did that it worked. But this is not at all obvious, and really for something that is stated "Should be
used by
first-time users.", it'll leave a very bad impression. I would just add it to the Instructions, but I'm not sure if that is good enough. Would it make sense to modify the build script to delete the xerces jar file when creating the Windows exe?
The build script already deletes these 3 files :
xercesImpl.jar xml-apis.jar xmlParserAPIs-2.5.jar
these files are found in the jetty 5.1.5 distribution, and will clash with XWiki provided jars, so they are removed during the exe construction.
what is exactly the name of the jar file you had to remove ?
I deleted xerces-2.7.1.jar. And it was very weird, in that this file does not exist in the jetty installation. But when I have it in it fails, when not it works.
may be a newly added jar file in XWiki lib clashes with a file present in Jetty distribution.
regards,
Seb.
-- You receive this message as a subscriber of the xwiki-dev@objectweb. org mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http:// www.objectweb.org/wws
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
participants (3)
-
Shawn Lauzon -
Sébastien Gaïde -
Vincent Massol