File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Castor ClassLoading Question" Watch "Castor ClassLoading Question" New topic
Author

Castor ClassLoading Question

Don Hill
Greenhorn

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
Author
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: 8898

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


Groovy
norman richards
Author
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Castor ClassLoading Question
 
Similar Threads
Help! Cannot invoke operation on web service!
Exception...
MySql, JBoss error: NPE @ org.jboss.mx.loading.loadmgr3 .beginloadtask
WAR file issue
JBoss Error : application contains war files but no web container available