Solved

Urgent: HTTP 500 Internal Server error

Posted on 2004-08-24
3
22,614 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
  • 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now