Hi,

  We are using servicemix in a production environment to integrate products.
The servicemic components we are using are 1. Http Su 2. JSR SU.

  The complete configuration runs fine with a small number of concurrent
users (20). But when the number of users increases beyond this number , some
threads complete their execution while the others throw the following error

 java.lang.OutOfMemoryError
        at java.lang.StringCoding.encode(StringCoding.java:599)
        at java.lang.String.getBytes(String.java:641)
        at
org.apache.servicemix.jbi.jaxp.StringSource.getInputStream(StringSource.java:60)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:719)
        at
com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:341)
        at
org.apache.servicemix.jbi.jaxp.StAXSourceTransformer.toXMLStreamReader(StAXSourceTransformer.java:84)
        at
org.apache.servicemix.soap.marshalers.SoapWriter.writeContents(SoapWriter.java:218)
        at
org.apache.servicemix.soap.marshalers.SoapWriter.writeSoapEnvelope(SoapWriter.java:211)
        at
org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:113)
        at
org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
        at
org.apache.servicemix.http.processors.ConsumerProcessor.processResponse(ConsumerProcessor.java:222)
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:203)
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
        at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
18:58:44,511 | WARN  | btpool1-30 | jetty                    |
ervicemix.http.jetty.JCLLogger   96 | Error for /vdss/

I tried the following methods

  1. Increase the java memory size in the servicemix.bat file.
  2. Increase the value of the properties in the components.properties file.

However it still continues to give me the same error. Pls let me know how to
solve the problem.

Regards,
Ganesh
-- 
View this message in context: 
http://www.nabble.com/Servicemix-Load-Test-Errors-tp17268028p17268028.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to