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 239 added 2 lines
--lysior@gmx.de, 24-Sep-2009:
can be solved by deploying maven-2.2.1-uber.jar and standard-1.0.3.jar from apache Maven project
At line 242 added one line
At line 278 added 59 lines
----
! Issue with JBOSS-5.0.0.GA and JSPWiki 2.6.4
I successfully implemented JSPWiki 2.6.4 on JBOSS 3.2.6RC2 on a Windows 2000 Server. To do so I removed log4j from JSPWiki.war as suggested earlier in this page. I was then able to deploy. I then exploded the war file as suggested and that also worked fine.
When I upgraded JBOSS to 5.0.0.GA, I was unable to deploy JSPWiki 2.6.4. When I tried to do so, I got the following errors and warnings:
{{{
WARN [SaxJBossXBParser] SchemaLocation: schemaLocation value = 'http://java.sun.com/xml/ns/j2ee/web-app-2_4.xsd' must have an event number of URI's. @ vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/JSPWiki.war/WEB-INF/web.xml[6,23]
ERROR [AbstractKernelController] error installing to Parse: name-vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/JSPWiki.war state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creaing managed object for vfszip:C:/jboss-5.0.0.GA/server/default/deploy/JSPWiki.war
...
}}}
With the help of Harry Metske and Romano Silva, I was able to resolve this problem.
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 [Apache Commons Logging site | http://commons.apache.org/downloads/download_logging.cgi]
* remove JSPWiki.war/WEB-INF/lib/xmlrpc.jar
''Note: a [web posting | http://article.gmane.org/gmane.comp.java.xdoclet.user/7798] provides the clue to above.''
--Tom Duffy, 15-May-2009 13:24
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