Hello,

We are seeing an IllegalStateException calling the getOutputStream method in JRun 3.1 
when this used to work fine using JRun 3.0.  Perusing the forums shows that this is a 
known problem with 3.1 and was supposed to have been fixed with a build newer the 
16777.  We are using build 17629 and we are still experiencing the same problem.  Is 
this something that is going to be fixed in an upcoming patch?  Is there any 
workaround?

Here is a simple way to reproduce the problem:

Create the following servlet - "SimpleServlet"

public void service( HttpServletRequest req, HttpServletResponse res ) 
throws IOException {
ServletOutputStream out = res.getOutputStream();
out.println("TEST");
}

Invoke test servlet from a JSP page or another servlet:
test.jsp:

<%
pageContext.forward("/servlet/SimpleServlet");
%>

When you call "test.jsp", you get the following exception:

java.lang.IllegalStateException
at allaire.jrun.servlet.JRunResponse.getOutputStream(../servlet/JRunResponse.java:294)
at SimpleServlet.service(SimpleServlet.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1417)
at 
allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1271)
at 
allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatcher.java:39)
at allaire.jrun.servlet.Invoker.service

Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to