3 Replies Latest reply on Sep 12, 2005 10:04 AM by Eduardo Elgueta

    ClassCastException

    Eduardo Elgueta Newbie

      Hi All,

      I have an EJB 3.0 project that uses Xerces and Axis. I put those jars in /server/all/lib and deploy my app to /server/all/deploy.

      But I keep getting ClassCastExceptions.

      The relevant code is this:

      SOAPMessage reply = con.call(soapMsg, endPoint); <-- Error

      The exception I get is "java.lang.ClassCastException: org.apache.axis.Message"

      How can I make sure JBoss is loading the classes I use in my app? An entry in a descriptor, maybe?

      Thank you in advance.

      Ed.