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

    JBoss 4.2.3 classcastexception JAXBContextImpl cannot be JAXBRIContext

    ajanz

      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

       

      http://www.2exception.com/question/19877

       

      https://jaxb.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.html

       

      http://stillhacking.blogspot.de/2013/05/classcastexception-jaxb.html

       

      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