0 Replies Latest reply on May 17, 2013 6:26 AM by Sascha Janz

    JBoss 4.2.3 classcastexception JAXBContextImpl cannot be JAXBRIContext

    Sascha Janz Master

      we are using jboss 4.2.3 one of our applications got following classcastexception Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to com.sun.xml.internal.bind.api.JAXBRIContext at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.(Unknown Source) ... 115 more   i tried jdk 1.6.04 and jdk7u2  any tips what to check?


      our application is an ear, with no jaxb* files deployed.


      it tried to put the jaxb-api file in java_home\jre\lib\endorsed


      but still got without a change.


      some tips i found








      can please someone help, i've been struggling with this problem the whole day.



      the exception occurs when our application is acting as an web service client