Operating System - HP-UX
1845943 Members
3941 Online
110250 Solutions
New Discussion

JAVA program error!! help me!!

 

JAVA program error!! help me!!

Hi everyone!

My client system is L2000, HP-UX 11.11, JDK 1.3.0.01, Web enviornment is Apache 3.3.1 and Tomcat 1.1.1.1
Our user will draw graph use of JSP and Oracle.
the error occur as next.

Error: 500
Location: /kmcp/sttssrch/Merchant/mstat-01-coupon-graph.jsp
Internal Servlet Error:

java.lang.IllegalStateException: Response has already been committed
at org.apache.tomcat.core.HttpServletResponseFacade.sendError
(HttpServletResponseFacade.java:157)
at org.apache.jasper.runtime.JspServlet.unknownException
(JspServlet.java:299)
at org.apache.jasper.runtime.JspServlet.service
(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest
(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service
(ContextManager.java:559)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnect
ion(Ajp12ConnectionHandler.java:156)
at org.apache.tomcat.service.TcpConnectionThread.run
(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)
-------------------------------------------
the user use the library .

import="java.awt.*, java.awt.image.*, com.sun.image.codec.jpeg.*,
java.util.*, kmcp.*, java.sql.*, java.text.*"

the user define the graphic.

BufferedImage image=newBufferedImagewidth,height,BufferedImage.TYPE_INT_RGB);

Graphics g = image.getGraphics();
--------------------------------------

The error message is upper sentence.
How tell me the method of fix error.
If patch needed, tell me the Patch List.
If new version needed, tell me the lastest version.

Under the same environment, Win2K well work.
Tell me the method solve.

thank!!


3 REPLIES 3
Steve Steel
Honored Contributor

Re: JAVA program error!! help me!!

Hi

The HP Java is developing so quickly I would advise you to go to

www.hp.com/go/java

And download the latest verison available.

It is quite possible that this works there.

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Jim Butler
Valued Contributor

Re: JAVA program error!! help me!!

Make sure in your ../tomcat area your tomcat.properties has the classpath's defined - for example:
wrapperwrapper.classpath=/opt/java1.2/lib/tools.jar
wrapper.classpath=/opt/java1.2/lib/dt.jar
wrapper.classpath=/opt/java1.2/jre/lib/rt.jar

I also recommend getting an update - you are pretty far back - there is an update bundle out on hp's java site.

Your error looks like a tomcat configuration issue, but to test, you may want to start a trace on your listener on the database side to see if anything is coming through
Man The Bilge Pumps!
Pierrick herve
Advisor

Re: JAVA program error!! help me!!

to analyse your problem you should test :

1) try to launch your application with the option :
-classic
with that you will disable the hotspot compiler


2) do have this problem if you have a Xserver opened and a DISPLAY set ?

regards,
Pierrick
learn and explain