Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-23) was last changed on 24-Sep-2009 18:53 by 213.252.50.50  

This page was created on 17-Dec-2005 05:59 by MyTestUser

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 278 changed one line
! Issue with JBOSS-5.0.0.GA
! Issue with JBOSS-5.0.0.GA and JSPWiki 2.6.4
At line 291 changed one line
My question now is how do I resolve this issue?
With the help of Harry Metske and Romano Silva, I was able to resolve this problem.
At line 293 added 38 lines
The resolution to this problem is two-fold. The web.xml in JSPWiki version 2.6.4 is not quite correct (this has already been corrected in JSPWiki 2.8) if you don't want to switch to 2.8, you can try to hack the JSPWiki JSPWiki.war/WEB-INF/web.xml file:
Change:
{{{
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
to read
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
}}}
That fixes the first problem you encounter. The second problem happens when you make the fix above. After fixing the above, you get the error:
{{{
ERROR [[/JSPWiki]] Exception starting filter WikiJSPFilter
Java.lang.LinkageError: loader constraints violated when linking
org/xml/sax/DTDHandler class
at org.jdom.input.SAXBuilder.configureParser(SAXBuilder.java:614)
...
ERROR [[/JSPWiki]] Exception starting filter WikiServletFilter
Java.lang.NoClassDefFoundError
at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:504)
...
}}}
To fix that error, use the hint found in the [BugProblemsWithCommonLogging] page:
* replace JSPWiki.war/WEB-INF/lib/commons-logging-api.jar with commons-logging-adapters-1.1.1.jar which appears in the commons-logging package downloaded from SourceForge
* remove JSPWiki.war/WEB-INF/lib/xmlrpc.jar
Version Date Modified Size Author Changes ... Change note
23 24-Sep-2009 18:53 17.338 kB 213.252.50.50 to previous
22 18-May-2009 16:34 17.207 kB TomDuffy to previous | to last
21 18-May-2009 16:33 17.251 kB TomDuffy to previous | to last
« This page (revision-23) was last changed on 24-Sep-2009 18:53 by 213.252.50.50