Urgent - JBoss Servlet Container
--------------------------------

         Key: JBAS-1638
         URL: http://jira.jboss.com/jira/browse/JBAS-1638
     Project: JBoss Application Server
        Type: Patch
  Components: Deployment Service  
    Versions:  JBossAS-3.2.7 Final    
 Environment: Platform: Microsoft Windows XP, Application development tool: 
Oracle JDeveloper 10.1.2 
    Reporter: wayne hauchee


Hi, I am seeking help from Jboss community. Here is my problem:

I have an application developed by using Jdeveloper 10g. Most of the pages are 
ADF UIX and almost all these pages are including a specific JSP file. In this 
case, <servletinclude> tag is using to include that JSP file. However, when i 
deploy my application to Jboss and run it, whenever i open a page which 
including a JSP file, it encounter the following exception:

2005-03-08 11:14:00,140 ERROR [org.jboss.web.localhost.Engine] 
ApplicationDispatcher[/TestDeploy-ViewController-context-root] 
Servlet.service() for servlet jsp threw exception 
java.lang.IllegalStateException: getOutputStream() has already been called for 
this response 
at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599) 
at 
org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
 
at 
javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:111) 
at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122) 
at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115) 
at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:182) 
at 
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
 
at 
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
 
at org.apache.jsp.JTest_jsp._jspService(JTest_jsp.java:63) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) 
....etc

>From my researches, this may because of the confusing of OutputStream and 
>Writter where UIX using OutputStream and Jboss is using Writter to perform 
>output.

Besides, i heard that since Jboss 3.2.4 and onward, Jboss is able to 
choose/switch using OutputStream or Writter. Am i right? If yes, can you please 
tell me how to configure the jboss so it use OutputStream rather than Writter? 

I really need your help. Please help me. Your help is highly appreciated. 
Thanks in advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to