2 Replies Latest reply on Mar 31, 2010 3:07 PM by Stefan Rufer

    Spring WS error in JBoss

    Sridhar Sripathy Newbie

      Hi,

      I am new to JBoss.

       

      I just finished successfully testing my Spring WS web service app in Tomcat 5.5/JVM 1.5 and ported it to JBoss 5.0/ running JVM 1.6. After I deploy the war file, I can display the wsdl file via the app url, but when I invoke a Web Service via client, I can see the app receiving the request and it just hangs after that. It then proceeds to crash JBoss. I know there is enough memory allocated, but I guess some runaway process on Spring WS is eating it all up.....

      I already solved another unrelated issue with JVM 1.6 and xerces/xalan parsers. This seems to be something else. I am also attaching all the jars in my lib folder

      Any ideas on how this can be solved or someone with Spring WS/JBoss can give me some insight it would be great. Thanks in advance!!!

       

      I get the following error after I

      010-02-24 23:54:54,694 [http-0.0.0.0-8080-2] DEBUG org.springframework.ws.transport.
      http.MessageDispatcherServlet - Published [SimpleXsdSchema{http://ncidng.nc.gov/NCIDN
      GWebService/schemas}] as schema.xsd
      2010-02-24 23:54:54,694 [http-0.0.0.0-8080-2] INFO  org.springframework.ws.transport.
      http.MessageDispatcherServlet - FrameworkServlet 'spring-ws': initialization complete
      d in 1157 ms
      2010-02-24 23:54:54,695 [http-0.0.0.0-8080-2] DEBUG org.springframework.ws.transport.
      http.MessageDispatcherServlet - Servlet 'spring-ws' configured successfully
      2010-02-24 23:54:54,784 [http-0.0.0.0-8080-2] DEBUG org.springframework.ws.transport.
      http.MessageDispatcherServlet - Successfully completed request
      2010-02-24 23:55:03,342 [http-0.0.0.0-8080-3] DEBUG org.springframework.ws.transport.
      http.WebServiceMessageReceiverHandlerAdapter - Accepting incoming [org.springframewor
      k.ws.transport.http.HttpServletConnection@19222f] to [http://10.56.131.15:8080/ncidwe
      bservice/]
      2010-02-25 00:05:55,345 [http-0.0.0.0-8080-2] DEBUG org.springframework.ws.transport.
      http.MessageDispatcherServlet - Could not complete request
      java.lang.OutOfMemoryError: Java heap space
      http.MessageDispatcherServlet - Could not complete request
      java.lang.OutOfMemoryError: Java heap space
              at java.util.Arrays.copyOf(Arrays.java:2882)
      100)
              at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
              at java.lang.StringBuffer.append(StringBuffer.java:224)
      ernParser.java:420)

        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
              at java.lang.StringBuffer.append(StringBuffer.java:224)
      ernParser.java:420)
              at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
              at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
              at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
              at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
      nderAttachableImpl.java:65)
              at org.apache.log4j.Category.callAppenders(Category.java:203)
              at org.apache.log4j.Category.forcedLog(Category.java:388)
              at org.apache.log4j.Category.log(Category.java:835)
              at org.jboss.logging.util.LoggerStream.write(LoggerStream.java:156)
              at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
              at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
              at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
              at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
              at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
              at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:57)
              at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:315)
              at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
              at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
      nderAttachableImpl.java:65)
              at org.apache.log4j.Category.callAppenders(Category.java:203)
              at org.apache.log4j.Category.forcedLog(Category.java:388)
              at org.apache.log4j.Category.log(Category.java:853)
              at org.jboss.logging.log4j.Log4jLoggerPlugin.warn(Log4jLoggerPlugin.java:199)
              at org.jboss.logging.Logger.warn(Logger.java:258)
      er.java:171)