Tomcat Version: 5.5

Database: Oracle 10g

Server OS: Linux

I am trying to deploy one of my JAVA/JSP web projects on Tomcat 5.5 server, the project is not getting deployed properly the Java(Sevlets, Class) files in the backend are not being deployed properly and the firefox give the following error

500 Internal Server Error   104ms

While all the JSP and HTML pages get deployed and a work properly. All the Servlets and the class files connect to a Oracle 10g database.

After which I went through the logs generated in tomcat

The following is the part of the log getting generated on tomcat :

Dec 27, 2011 4:41:44 PM org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Broken pipe
    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.jk.common.ChannelSocket.send(ChannelSocket.java:538)
    at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:127)
    at org.apache.jk.core.MsgContext.action(MsgContext.java:302)
    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:281)
    at org.apache.catalina.connector.Response.finishResponse(Response.java:478)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:154)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:595)
Dec 27, 2011 4:41:44 PM org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2

This same error was found repeatedly appearing in the log.

What might be the possible reason(s) for this?

link|improve this question
This is a general type of errors. Broken pipe can happen as a result of several things: when the connection is broken due to timeout (inactivity) or the other end aborts the connection. Maybe, you need to get higher level of debug or at least determines if you have a timeout between some communicating parties. – Khaled Jan 1 at 9:14
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.