File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Getting ERROR 503 Service not Deployed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Getting ERROR 503 Service not Deployed" Watch "Getting ERROR 503 Service not Deployed" New topic
Author

Getting ERROR 503 Service not Deployed

paritosh pandey
Greenhorn

Joined: Jan 08, 2008
Posts: 10
Hi,

I have deployed my web services (VAS services) in tomcat 6.0 in production .I am using axis2 1.4.1 as web service engine and apache 2.2 for httpd service. My problem is that in every 8-10 hrs when no of transactions increase, a problem occurs in my server and I get an �ERROR 503 service not deployed�. I don�t know the exact cause and solution to this problem. Presently every time I face this problem, I restart my httpd services and tomcat. Please help me to rectify this problem as this is hampering our business in a big way. I am sending the log details of catalina.log in tomcat�s log folder



17-Nov-2008 17:20:56 org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet AxisServlet threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:21:33 org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet AxisServlet threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:21:33 org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet AxisServlet threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:21:36 org.apache.jk.core.MsgContext action

WARNING: Error sending end packet

java.net.SocketException: Software caused connection abort: socket write error

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

at java.net.SocketOutputStream.socketWrite(Unknown Source)

at java.net.SocketOutputStream.write(Unknown Source)

at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)

at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121)

at org.apache.jk.core.MsgContext.action(MsgContext.java:301)

at org.apache.coyote.Response.action(Response.java:183)

at org.apache.coyote.Response.finish(Response.java:305)

at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:276)

at org.apache.catalina.connector.Response.finishResponse(Response.java:486)

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

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)

at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)

at java.lang.Thread.run(Unknown Source)

17-Nov-2008 17:21:36 org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet AxisServlet threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:23:31 org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:23:31 org.apache.jk.common.ChannelSocket processConnection

WARNING: processCallbacks status 2

17-Nov-2008 17:23:31 org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:23:31 org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:23:31 org.apache.jk.core.MsgContext action

WARNING: Error sending end packet

java.net.SocketException: Software caused connection abort: socket write error

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

at java.net.SocketOutputStream.socketWrite(Unknown Source)

at java.net.SocketOutputStream.write(Unknown Source)

at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)

at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121)

at org.apache.jk.core.MsgContext.action(MsgContext.java:301)

at org.apache.coyote.Response.action(Response.java:183)

at org.apache.coyote.Response.finish(Response.java:305)

at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:276)

at org.apache.catalina.connector.Response.finishResponse(Response.java:486)

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

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)

at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)

at java.lang.Thread.run(Unknown Source)

17-Nov-2008 17:23:31 org.apache.jk.core.MsgContext action

WARNING: Error sending end packet

java.net.SocketException: Software caused connection abort: socket write error

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

at java.net.SocketOutputStream.socketWrite(Unknown Source)

at java.net.SocketOutputStream.write(Unknown Source)

at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)

at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121)

at org.apache.jk.core.MsgContext.action(MsgContext.java:301)

at org.apache.coyote.Response.action(Response.java:183)

at org.apache.coyote.Response.finish(Response.java:305)

at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:276)

at org.apache.catalina.connector.Response.finishResponse(Response.java:486)

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

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)

at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)

at java.lang.Thread.run(Unknown Source)

17-Nov-2008 17:23:34 org.apache.jk.common.ChannelSocket processConnection

WARNING: processCallbacks status 2

17-Nov-2008 17:23:34 org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

java.lang.IllegalStateException: getOutputStream() has already been called for this response

at org.apache.catalina.connector.Response.getWriter(Response.java:604)

at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)

at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)

at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:118)

at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:186)

at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:118)

at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:77)

at org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java:110)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

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

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

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

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

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

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)

at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)

at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)

at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:287)

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

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

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

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

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)

at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)

at java.lang.Thread.run(Unknown Source)

17-Nov-2008 17:23:34 org.apache.jk.common.ChannelSocket processConnection

WARNING: processCallbacks status 2

17-Nov-2008 17:23:34 org.apache.catalina.core.ApplicationDispatcher invoke

SEVERE: Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

17-Nov-2008 17:23:34 org.apache.catalina.core.ApplicationDispatcher invoke





Regards,

Paritosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting ERROR 503 Service not Deployed