Solved

Urgent: HTTP 500 Internal Server error

Posted on 2004-08-24
3
22,674 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

Plug and play, no additional software required!

The ATEN UE3310 USB3.1 Gen1 Extender Cable allows users to extend the distance between the computer and USB devices up to 10 m (33 ft). The UE3310 is a high-quality, cost-effective solution for professional environments such as hospitals, factories and business facilities.

Question has a verified solution.

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

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

632 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