3 Replies Latest reply on Nov 11, 2004 10:57 AM by Scott Stark

    war classloading issue on jboss-4.0.0

    Don Hill Newbie

      I am trying to deploy a war to the default server using the isolation methods described in the classloading docs, the issue I am having is that we use a diff version of castor than what is shipped with jboss-4.0.0, I have tried the isolation methods but it seems that once the castor.jar from server/default/lib is accessed it is placed on a classloader that seems to be the parent of the war, the class is loaded in the jboss-4.0.0\server\default\deploy\ebxmlrr-service.sar\ebxmlrr.war servlet, so when I try to call my version, the classes are already loaded and hence I get a ClassCastException, how do I get around this issue, do I need to create a subclass or my own LoaderRepository, any thought or suggestions would be helpful.