2 Replies Latest reply on Feb 12, 2008 6:02 PM by iyiguncevik

    Unable to create SAAJ meta-factory

    iyiguncevik

      I implemented a small webservice from wsdl using JAX-WS. I'm trying to deploy it to JBOSS app server and getting the error below.

      I didn't specify any bindings neither in sun-jaxws.xml nor in service implementation class with annotations. What could be the reason for this?

      I use JBOSS 4.2.2_GA and JAXWS 2.1.3

      SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.Error: javax.xml.soap.SOAPException: Unable to create SAAJ
      meta-factoryorg.jboss.ws.core.soap.SAAJMetaFactoryImpl
      java.lang.Error: javax.xml.soap.SOAPException: Unable to create SAAJ meta-factoryorg.jboss.ws.core.soap.SAAJMetaFactoryImpl
      at com.sun.xml.ws.api.SOAPVersion.<init>(SOAPVersion.java:166)
      at com.sun.xml.ws.api.SOAPVersion.<clinit>(SOAPVersion.java:68)
      at com.sun.xml.ws.api.BindingID.<clinit>(BindingID.java:304)
      at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.createBinding(DeploymentDescriptorParser.java:281)
      at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:222)
      at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:133)


        • 1. Re: Unable to create SAAJ meta-factory
          bdaye42

          By any chance, did you get this figured out? I am having the same problem...please let me know.

          • 2. Re: Unable to create SAAJ meta-factory
            iyiguncevik

            Hi, I cannot say that I found the problem exactly. I think this is caused by some invalid packaging. I was using maven for building package, and it was adding some jar's in the war. I guess one of the libraries were causing the exception.

            I'm using ant for building and packaging. ant script doesn't include any libraries in the war and I don't have the exception again.

            Hope this helps.