You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno (JIRA)" <de...@myfaces.apache.org> on 2006/05/23 11:32:29 UTC
[jira] Created: (MYFACES-1310) IllegalStateException:Strict Servlet
api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1 sp 5
IllegalStateException:Strict Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1 sp 5
------------------------------------------------------------------------------------------------------------
Key: MYFACES-1310
URL: http://issues.apache.org/jira/browse/MYFACES-1310
Project: MyFaces Core
Type: Bug
Environment: Weblogic 8.1 sp 5
Reporter: Bruno
Priority: Blocker
i am migrating my website based on jsf myfaces from JOnAS to WebLogic 8.1 sp 5 and i have still this issue :
i have downloaded the latest snapshot
myfaces-core-1.1.4-snapshot
tomahawk-1.1.3-snapshot
java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:162)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at simpa.web.utils.AuthorizationFilter.doFilter(AuthorizationFilter.java:58)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
it is critical for us as the experimentation should start next week
thanks in advance
Bruno
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (MYFACES-1310) IllegalStateException:Strict
Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1
sp 5
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Marinschek resolved MYFACES-1310.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.6
Assignee: Martin Marinschek
I am closing this out - it seems to be working now.
regards,
Martin
> IllegalStateException:Strict Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1 sp 5
> ------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-1310
> URL: https://issues.apache.org/jira/browse/MYFACES-1310
> Project: MyFaces Core
> Issue Type: Bug
> Environment: Weblogic 8.1 sp 5
> Reporter: Bruno
> Assignee: Martin Marinschek
> Priority: Critical
> Fix For: 1.1.6
>
>
> i am migrating my website based on jsf myfaces from JOnAS to WebLogic 8.1 sp 5 and i have still this issue :
> i have downloaded the latest snapshot
> myfaces-core-1.1.4-snapshot
> tomahawk-1.1.3-snapshot
> java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
> at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:162)
> at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at simpa.web.utils.AuthorizationFilter.doFilter(AuthorizationFilter.java:58)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
> it is critical for us as the experimentation should start next week
> thanks in advance
> Bruno
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1310) IllegalStateException:Strict
Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1
sp 5
Posted by "xavier l (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-1310?page=comments#action_12431870 ]
xavier l commented on MYFACES-1310:
-----------------------------------
exactly same problem here.
I guess it has something to do with that filter: org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
Have you solved it on a way or another?
thanks
> IllegalStateException:Strict Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1 sp 5
> ------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-1310
> URL: http://issues.apache.org/jira/browse/MYFACES-1310
> Project: MyFaces Core
> Issue Type: Bug
> Environment: Weblogic 8.1 sp 5
> Reporter: Bruno
> Priority: Blocker
>
> i am migrating my website based on jsf myfaces from JOnAS to WebLogic 8.1 sp 5 and i have still this issue :
> i have downloaded the latest snapshot
> myfaces-core-1.1.4-snapshot
> tomahawk-1.1.3-snapshot
> java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
> at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:162)
> at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at simpa.web.utils.AuthorizationFilter.doFilter(AuthorizationFilter.java:58)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
> it is critical for us as the experimentation should start next week
> thanks in advance
> Bruno
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-1310) IllegalStateException:Strict
Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1
sp 5
Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-1310?page=comments#action_12431871 ]
Mario Ivankovits commented on MYFACES-1310:
-------------------------------------------
sure, and there are good reasons to use the OutputStream at this place, else you cant deliver a binary content without damaging it.
Hmmm, and I cant see that we requrest the writer before .... maybe you are able to debug where getWriter() will be called?
---
Mario
> IllegalStateException:Strict Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1 sp 5
> ------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-1310
> URL: http://issues.apache.org/jira/browse/MYFACES-1310
> Project: MyFaces Core
> Issue Type: Bug
> Environment: Weblogic 8.1 sp 5
> Reporter: Bruno
> Priority: Blocker
>
> i am migrating my website based on jsf myfaces from JOnAS to WebLogic 8.1 sp 5 and i have still this issue :
> i have downloaded the latest snapshot
> myfaces-core-1.1.4-snapshot
> tomahawk-1.1.3-snapshot
> java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
> at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:162)
> at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at simpa.web.utils.AuthorizationFilter.doFilter(AuthorizationFilter.java:58)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
> it is critical for us as the experimentation should start next week
> thanks in advance
> Bruno
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-1310) IllegalStateException:Strict
Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1
sp 5
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531074 ]
Matthias Weßendorf commented on MYFACES-1310:
---------------------------------------------
have you tested on weblogic ?
> IllegalStateException:Strict Servlet api:cannot call getOutputSteam() after getWriter() on Weblogic 8.1 sp 5
> ------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-1310
> URL: https://issues.apache.org/jira/browse/MYFACES-1310
> Project: MyFaces Core
> Issue Type: Bug
> Environment: Weblogic 8.1 sp 5
> Reporter: Bruno
> Assignee: Martin Marinschek
> Priority: Critical
> Fix For: 1.1.6
>
>
> i am migrating my website based on jsf myfaces from JOnAS to WebLogic 8.1 sp 5 and i have still this issue :
> i have downloaded the latest snapshot
> myfaces-core-1.1.4-snapshot
> tomahawk-1.1.3-snapshot
> java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
> at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:162)
> at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at simpa.web.utils.AuthorizationFilter.doFilter(AuthorizationFilter.java:58)
> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
> it is critical for us as the experimentation should start next week
> thanks in advance
> Bruno
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.