4 Replies Latest reply on Jan 10, 2008 4:34 AM by vikas_sm

    webservice consumer1 giving java.lang.OutOfMemoryError

    vikas_sm

      All,

      I am getting java.lang.OutOfMemoryError: PermGen space while running webservice_consumer1 sample.

      I was getting NoClassDefFoundError as described in error below.

      15:20:40,399 INFO [STDOUT] 15:20:40,399 WARN [SoapUI] Failed to load settings [soapui-settings.xml (The system cannot find the file specified)], creati
      ng new

      15:20:50,055 ERROR [[HelloWorldWS]] Servlet.service() for servlet HelloWorldWS threw exception
      java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/runtime/MarshallerImpl
      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createMarshaller(JAXBContextImpl.java:718)
      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.createMarshaller(JAXBContextImpl.java:122)
      at org.jboss.ws.core.jaxws.JAXBSerializer.serialize(JAXBSerializer.java:72)
      at org.jboss.ws.core.binding.SerializerSupport.serialize(SerializerSupport.java:57)
      at org.jboss.ws.core.soap.ObjectContent.marshallObjectContents(ObjectContent.java:159)


      To resolve this i added jaxb jars and now I am getting OOM along with noclassdef for some class.

      Do I need to have the jaxb jars in server/lib?. Is "Failed to load settings [soapui-settings.xml" causing the issues?

      Any suggestions