Solved

Urgent: HTTP 500 Internal Server error

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

10 Experts available now in Live!

Get 1:1 Help Now