[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27666#action_27666 ]
Hudson CI server commented on MAGNOLIA-2989: -------------------------------------------- Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-4.0-branch #76|http://hudson.magnolia-cms.com/job/magnolia_main-4.0-branch/76/] merging r33320 from trunk: MAGNOLIA-2989: patch applied, thanks to Joshua Portway ! Only bother to write anything to the output stream if there's something to write (length of response >0) > GZipFilter causes "getWriter() has already been called for this response" > error to be thrown on Glassfish v3 > ------------------------------------------------------------------------------------------------------------ > > Key: MAGNOLIA-2989 > URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2989 > Project: Magnolia > Issue Type: Bug > Components: admininterface, cache, core > Affects Versions: 4.2.3 > Reporter: joshua portway > Assignee: Grégory Joseph > Fix For: 4.3.x > > Attachments: MAGNOLIA-2989-stracktrace.txt, > NetBeansScreenSnapz001.png, screenshot-2.jpg, > vcs-diff7973054169198951414.patch > > Original Estimate: 0d > Remaining Estimate: 0d > > Immediately after logging in this error is thrown by the server, and the > admin page never renders. > This means that magnolia is effectively completely unusable under Glassfish > v3. > This has been a problem in previous version of glassfish, and with previous > versions of Magnolia (going back to at least 3.5, probably earlier, but I > can't remember), but in previous version of glassfish the problem only caused > a warning to be logged. Glassfish version 3 treats this as a fatal error and > aborts rendering the page. > With previous versions of Magnolia running under glassfish 2.5 (such as sites > I currently have running) it's only the admin interface that causes this > problem - rendering normal pages does not cause a warning to be logged. > here's the stack trace : > {noformat} > java.lang.IllegalStateException: PWC3990: getWriter() has already been called > for this response > at > org.apache.catalina.connector.Response.getOutputStream(Response.java:676) > at > org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:205) > at > info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:106) > at > info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62) > [...] > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------