Jump to content
Changes to the Jaspersoft community edition download ×

Webapp demo, get problem with JRun


Recommended Posts

By: Tran Nguyen - ntbtran

Webapp demo, get problem with JRun

2003-02-28 00:51

When I test Webapp demo (from jasperreports-0.4.5-project.zip) with JRun 3.1, i get error when lick "Execute" the JSP Example from PDF output. The following is error message:

 

JasperReports encountered this error :

java.lang.IllegalStateException

at allaire.jrun.servlet.JRunResponse.getOutputStream(../servlet/JRunResponse.java:294)

at jrun__jsp__pdf2ejspc._jspService(jrun__jsp__pdf2ejspc.java:66)

at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:39)

at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:228)

at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:196)

at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)

at allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)

at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)

at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)

at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)

at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)

at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)

at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)

at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)

at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)

 

Also, when execute JSP Example from Html output, i can get the result but with no images which from image.jsp. However, it runs well with servlet example.

I also test with jakarta-tomcat-3.3.1on the same PC, it runs well even though also throw :

 

2003-02-28 11:16:33 - Ctx(/webapp) : IllegalStateException in R( /webapp + /jsp/

pdf.jsp + null) - java.lang.IllegalStateException: getOutputStream() has already

been called

at org.apache.tomcat.facade.HttpServletResponseFacade.getWriter(HttpServ

letResponseFacade.java:199)

at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:16

6)

at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.jav

a:158)

at jsp.pdf_1._jspService(pdf_1.java:115)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java)

at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java

:574)

at org.apache.tomcat.core.Handler.invoke(Handler.java:322)

at org.apache.tomcat.core.Handler.service(Handler.java:235)

at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:4

85)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.

java:917)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833

)

at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(

Http10Interceptor.java:176)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java

:494)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:516)

at java.lang.Thread.run(Thread.java:484)

 

But when I run it on Tomcat 4.1.18LE, it's very OK with no exception.

I dont know why, but pls help me to find out the problem, I need to apply into my project which will be deployed on JRun.

 

Thanx in advanced.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...