[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25713#action_25713 ]
joshua portway commented on MAGNOLIA-2989: ------------------------------------------ so it looks to me like the problem is that virtualURIFilter is doing a redirect, but for some reason the request is carrying on and eventually GZipFilter gets called to return something. Presumably if sendRedirect() is being called then there probably shouldn't be any more processing done on the request? > Admin interface 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 > Affects Versions: 4.2.3 > Reporter: joshua portway > Assignee: Philipp Bärfuss > Attachments: NetBeansScreenSnapz001.png, screenshot-2.jpg > > > 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 : > 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) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84) > at > info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) > at > info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:61) > at > info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:89) > at > info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:84) > at > info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:84) > at > info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:87) > at > info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) > at > info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) > at > info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:64) > at > info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) > at > info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:96) > at > info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:199) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) > at > com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) > at > com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) > at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) > at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) > at > com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) > at com.sun.grizzly.ContextTask.run(ContextTask.java:69) > at > com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) > at > com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) > at java.lang.Thread.run(Thread.java:637) -- 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> ----------------------------------------------------------------