Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Urgent: HTTP 500 Internal Server error

Posted on 2004-08-24
3
Medium Priority
?
22,697 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 750 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

-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 …
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

715 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