[MAGNOLIA-3169] Error After deploying Magnolia on Weblogic 10.3 Created: 30/Mar/10  Updated: 01/Apr/10  Resolved: 01/Apr/10

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 4.2.3
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Dixon Assignee: Boris Kraft
Resolution: Duplicate Votes: 0
Labels: deployment, weblogic
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Weblogic and Oracle


Issue Links:
duplicate
duplicates MAGNOLIA-2989 GZipFilter causes "getWriter() has al... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

After deploying a Magnolia application on Weblogic 10.3 I keep getting the following error on the logs.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<Mar 24, 2010 7:30:22 AM EDT> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@7a279c - appName: 'MagnoliaPublicWebApp', name: 'MagnoliaPublicWebApp.war', context-path: '', spec-version: '2.5'] Servlet failed with Exception
java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:281)
at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:106)
at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82)
at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84)
Truncated. see log file for complete stacktrace
>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The error doesn't stop the application from running but I'm afraid of what could happen if this keeps happening.

Thanks in advance.
Dixon



 Comments   
Comment by Magnolia International [ 30/Mar/10 ]

This is most likely MAGNOLIA-2989; can you verify this only happens on redirects or error pages ?
Is WebLogic just logging this but continues the execution of the request ?

Comment by Dixon [ 30/Mar/10 ]

Grégory,

I'll test that change tomorrow morning and I'll let you know of the results.

Thanks,
Dixon

Comment by Dixon [ 01/Apr/10 ]

The problem is resolved, it was cause by redirect.

Dixon

Generated at Mon Feb 12 03:43:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.