0 Replies Latest reply on Jul 11, 2012 4:05 AM by sam617

    Indesign refuses the socket connection with JVM, and not creating any response

    sam617

      Hi all,

       

      I am facing the following error while trying to spray the indesign pdf.Actually we need to generate 100's of pdf but after 12 to 15 jobs indesign refuses the connection with JVM.So that is why JVM is not giving the response to indesign and the indesign stucks waitnig for java side's data.

       

      (1) I have tried to increase the jvm memory using the  -Xms512M -Xmx1024M)

      I am getting this error in eclipse console.

      ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error

                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)

                at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)

                at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)

                at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)

                at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)

                at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)

                at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)

                at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java :1747)

                at java.io.ObjectOutputStream.<init>(ObjectOutputStream.java:226)

                at com.apsiva.commframework.server.CommunicationServlet.sendSerializedResponse(Communication Servlet.java:155)

                at com.apsiva.commframework.server.CommunicationServlet.doPost(CommunicationServlet.java:79)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

                at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)

                at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

                at java.lang.Thread.run(Thread.java:619)

      Caused by: java.net.SocketException: Connection reset by peer: socket write error

                at java.net.SocketOutputStream.socketWrite0(Native Method)

                at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

                at java.net.SocketOutputStream.write(SocketOutputStream.java:136)

                at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:74 0)

                at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)

                at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)

                at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOu tputBuffer.java:764)

                at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124 )

                at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573)

                at org.apache.coyote.Response.doWrite(Response.java:560)

                at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)

                ... 28 more

       

       

      Thanks.