This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Castor ClassLoading Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Castor ClassLoading Question" Watch "Castor ClassLoading Question" New topic

Castor ClassLoading Question

Don Hill

Joined: Apr 07, 2004
Posts: 4
I have been running an app in the default config( 4.0.1), this application uses castor and we are not on the same version of castor that ships with jboss-4.0.1, This is fine but now we need to move to the all config and there is a dependency in jboss on a diff version of castor, this version gets loaded before the war context web-inf/lib/castor-xxx.jar, how can we config our war/ear so that it can be just dropped into the deploy folder and not have any issues with the jboss version of castor ?
norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Set UseJBossWebLoader to false in your jbossweb-tomcat55.sar/META-INF/jboss-service.xml file. You get this by default if you move to 4.0.2.

I'm pretty sure we aren't using castor anymore, but don't quote me on that.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

I havent found any good documentation on Jboss Class laoding structure. Could some one please point to some good links ,please. Thanks

norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Although the JBoss documentation covers this, the wiki has some particularly good pages explaining everything. There's even a nice search feature for finding information there...
subject: Castor ClassLoading Question
Similar Threads
JBoss Error : application contains war files but no web container available
Help! Cannot invoke operation on web service!
WAR file issue
MySql, JBoss error: NPE @ .beginloadtask