0 Replies Latest reply on Mar 14, 2008 10:07 AM by Greg Paul

    JAXB Intruduction for EJB3 deployed as a webservice

    Greg Paul Newbie

      I'm attempting to deploy a SLSB as a webservice on jboss-4.2.2. I'm getting an error that "Cannot build JAXB context" because my ejb is throwing an exception that inherits from EJBException

      java.lang.StackTraceElement does not have a no-arg default constructor.
       this problem is related to the following location:
       at java.lang.StackTraceElement
       at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace()
       at java.lang.Throwable
       at java.lang.Exception


      Research led me to using JAXB Introductions to address this, but since the webservice stack is creating the JAXBContext object, it doesn't seem to me that I have any options.

      It seems strange to me that others don't seem to be having this problem (based on searching). Any guidance would be appreciated.

      Thanks