File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes JSP servlet Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSP servlet Exception" Watch "JSP servlet Exception" New topic
Author

JSP servlet Exception

Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
Hi,
We are doing a project for General Motors. The web application using the following components.
1. Struts and JSP
2. Weblogic 7.0
3. Oblix
4. See beyond
5. Cognos.
6. Web server

When surfing the application, JSP servlet exception was displayed in the screen and the same found in the logs.

####<Jun 12, 2006 3:17:05 PM BST> <Error> <HTTP> <gbdxproc1> <vauxhallserver1> <ExecuteThread: '45' for queue: 'default'> <kernel identity> <> <101017> <[ServletContext(id=2189483,name=vauxhall,context-path=/vauxhall)] Root cause of ServletException>
javax.servlet.jsp.JspException: [ServletException in:/jsp/pricingmatrix/PMApprove.jsp] Input/output error: java.io.IOException: Broken pipe'
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.processException(InsertTag.java:956)
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:905)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)


Can anybody help me to find out the problem would be highly appreciated.

Thanks,
Pk
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61447
    
  67

'Broken pipe' usually means that the database connection has been interrupted. Whether that's the case here or not is not possible to ascertain without the original stack trace for the exception.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Periakaruppan Thiagarajan
Ranch Hand

Joined: Jul 26, 2005
Posts: 65
Bear,
For each request, the request first goes to web server then web logic and lastly database. I am damn sure that the database connection has not been the case. This was the trace i could able to find out server logs.

Thanks,
Pk
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61447
    
  67

Without a more detailed stack trace from the root exception, it's going to be hard to track down.

Since it looks like Struts is handling the exception, I'm going to move this to the Struts forum so that someone that uses it may be able to determine how to get more information.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP servlet Exception