I don't use JBoss so I can only guess... but it seems like your JBoss install have duplicate/different level jars of those in the WEB-INF/lib directory. Class loader rules may cause problems if classes are loaded from two different locations.
Ideally, you need to look at the names in the jforum war WEB-INF/lib directory and remove those that are found in the app server class path. But sometimes it's easier just to locate the problem classes listed in the root cause and rename the containing jar. [originally posted on jforum.net by monroe]
monroe wrote:I don't use JBoss so I can only guess... but it seems like your JBoss install have duplicate/different level jars of those in the WEB-INF/lib directory. Class loader rules may cause problems if classes are loaded from two different locations.
Ideally, you need to look at the names in the jforum war WEB-INF/lib directory and remove those that are found in the app server class path. But sometimes it's easier just to locate the problem classes listed in the root cause and rename the containing jar.
monroe wrote:
Ideally, you need to look at the names in the jforum war WEB-INF/lib directory and remove those that are found in the app server class path.
But that won't work because it isn't the jar files in the app/WEB-INF/lib directory that are being used during deploy. It's the ones in $JBOSS_HOME/lib/endorsed that are loaded during deploy and those are the ones that are in conflict. And you can't get rid of those.
Has anyone fixed this? [originally posted on jforum.net by edgoquist]
Poor wording in my post... remove from the WEB-INF/lib directory those that are found in the app server class path...
This is generally not a problem unless the "shared" lib is older.. in that case try upgrading the shared lib to the newer version. [originally posted on jforum.net by monroe]
Thanks for the reply Monroe. It looks like JBoss is using v2.9 and JForum is using v2.6 of the xerces parser. I need to do some more testing and I'm tired right now and, well, thanks. c.ya.l8r. [originally posted on jforum.net by edgoquist]
Did you finally manage to install JForum on JBoss 5?
I am facing the same problem with version conflict on Xerces library.
I would appreciate if you can post a final solution to this problem.
Thx [originally posted on jforum.net by mpiasecki]
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
Gift giving made easy with the permaculture playing cards