Solved

Urgent: HTTP 500 Internal Server error

Posted on 2004-08-24
3
22,655 Views
Last Modified: 2013-12-01
Hi Expert,
    We are experiencing a problem with a jsp file (report) when 2 or more people trying to access the same jsp file. The browser says "The page cannot be displayed".  

We don't know why this error is coming. Can you please help us to resolve this problem?

Here is the log from global-application.log:

8/24/04 11:36 AM defaultWebApp: oracle.jsp.runtimev2.JspServlet: init
8/24/04 11:36 AM defaultWebApp: 9.0.2.0.0 Started
8/24/04 11:39 AM defaultWebApp: Servlet error
java.lang.OutOfMemoryError
        <<no stack trace available>>
8/24/04 11:39 AM defaultWebApp: Servlet error
java.lang.OutOfMemoryError
        <<no stack trace available>>
8/24/04 11:39 AM defaultWebApp: Servlet error
java.lang.OutOfMemoryError
        <<no stack trace available>>
8/24/04 11:39 AM defaultWebApp: JspServlet: unable to dispatch to requested page: com.evermind.server.http.HttpIOException: Broken pipe
        at com.evermind.server.http.EvermindServletOutputStream.flush(EvermindServletOutputStream.java:261)
        at com.evermind.server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1291)
        at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1639)
        at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:609)
        at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:567)
        at _svt._reports._tpexecution._ProcedureRpt._jspService(_ProcedureRpt.java:674)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
        at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
        at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

8/24/04 11:39 AM defaultWebApp: Servlet error
java.lang.IllegalArgumentException: Attempted to write longer than Content-Length (199 + 1880 / 199)
        at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindServletOutputStream.write(vermindServletOutputStream.java:152)
        at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:130)
        at oracle.jsp.runtimev2.JspReportUtil.sendError(JspReportUtil.java:57)
        at oracle.jsp.runtimev2.JspReportUtil.reportException(JspReportUtil.java:166)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:333)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
        at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
        at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
        at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
        at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)

Thanks & Regards,
Prem.
0
Comment
Question by:PRAC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Expert Comment

by:Poornimashiv
ID: 11880316
Hi Prem,

Check if you have enough Temp/Swap space on the Server. When you say JSP file(report), is it Oracle Reports Jsp files that you are talking about?

Is this JSP invoked from an OC4J application? Provide Platform and version details.

Regards,
Poornima
0
 

Author Comment

by:PRAC
ID: 11880383
Hi Poornima,
    The JSP files are deployed in OC4J and will be invoked from the web browser.

The Oracle 9i AS version is: 9.0.2.0.0 and its installed in Solaris 5.8.

Thanks & Regards,
Prem.
0
 
LVL 1

Accepted Solution

by:
Poornimashiv earned 250 total points
ID: 11885777
Hi Prem,

Try increasing the Java Heap size of the OC4J_BI_Forms instance in the opmn.xml file.
For eg: if you have -Xms256M and -Xmx512M, change it as -Xms512M and -Xmx512M. If this does not help, increase the max value further like -Xmx1024M.

Regards,
Poornima
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jersey import error 8 114
error when deploying 23 936
How to find Tomcat initial memory and Max memory through command line windows 12 259
listing all functions in JavaScript 19 228
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question