Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Castor ClassLoading Question

 
Don Hill
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I havent found any good documentation on Jboss Class laoding structure. Could some one please point to some good links ,please. Thanks
 
norman richards
Author
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic