Operating System - HP-UX
1830624 Members
1960 Online
110015 Solutions
New Discussion

"internal servlet error" please ^^

 
Hogun L
Occasional Contributor

"internal servlet error" please ^^

hi everyone

server HP L-2000 Class and
O/S : hp-ux 11i
JDK version: 1.3.0.01
Web environment : Apache 3.3.1 and Tomcat 1.1.1.1
JSP and Oracle share movement graphic write ...

my personal computer
??? ?????? O/S : Win 2k
JDK : 1.3.1.01
APache and Tomcat same
Oracle 9.0


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)


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

and...

when graph announce...
BufferedImage image=newBufferedImagewidth,height,BufferedImage.TYPE_INT_RGB);

Graphics g = image.getGraphics();

hogun L
1 REPLY 1
Steve Steel
Honored Contributor

Re: "internal servlet error" please ^^

Hi

commit
public void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
java.lang.SecurityException,
java.lang.IllegalStateException,
SystemException
Complete the transaction associated with the current thread. When this method completes, the thread becomes associated with no transaction.
Throws:
RollbackException - Thrown to indicate that the transaction has been rolled back rather than committed.
HeuristicMixedException - Thrown to indicate that a heuristic decision was made and that some relevant updates have been committed while others have been rolled back.
HeuristicRollbackException - Thrown to indicate that a heuristic decision was made and that some relevant updates have been rolled back.
java.lang.SecurityException - Thrown to indicate that the thread is not allowed to commit the transaction.
java.lang.IllegalStateException - Thrown if the current thread is not associated with a transaction.
SystemException - Thrown if the transaction manager encounters an unexpected error condition


go to
www.hp.com/go/java
select
version table

get to

http://www.hp.com/products1/unix/java/infolibrary/prod_ver_scheme.html

Download latest java

try again


Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)