users@glassfish.java.net

Re: Glassfish v3 ,when click add property occur IllegalStateException:PWC3991

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Mon, 01 Mar 2010 08:08:20 -0800

Please provide more information about this.
What exactly were you doing at that time, ie which page or
configuration or resource that you want to add property to ?
Is this always reproducible ? which browser are you using ?

thanks
Anissa.

glassfish_at_javadesktop.org wrote:
> Hi Guys.In Glassfish v3(windows,fat32) admin console,when I click the "add property" button,occurs the exception:
>
> HTTP Status 500 -
>
> --------------------------------------------------------------------------------
>
> type Exception report
>
> message
>
> descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
>
> exception
>
> java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this response
> note The full stack traces of the exception and its root causes are available in the GlassFish v3 logs.
>
>
> --------------------------------------------------------------------------------
>
> GlassFish v3
>
> ****
> The exception log is:
>
> [#|2010-03-01T19:12:36.628+0800|WARNING|glassfishv3.0|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=28;_ThreadName=http-thread-pool-4848-(2);|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
> java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this response
> at org.apache.catalina.connector.Response.getWriter(Response.java:707)
> at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:224)
> at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:719)
> at com.sun.faces.context.PartialViewContextImpl.createPartialResponseWriter(PartialViewContextImpl.java:410)
> at com.sun.faces.context.PartialViewContextImpl.access$200(PartialViewContextImpl.java:72)
> at com.sun.faces.context.PartialViewContextImpl$DelayedInitPartialResponseWriter.getWrapped(PartialViewContextImpl.java:545)
> at javax.faces.context.PartialResponseWriter.startDocument(PartialResponseWriter.java:111)
> at com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError(AjaxExceptionHandlerImpl.java:192)
> at com.sun.faces.context.AjaxExceptionHandlerImpl.handle(AjaxExceptionHandlerImpl.java:119)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
> at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
> at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
> 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:239)
> 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:619)
>
>
> Please,anybody can help me?
> [Message sent by forum member 'airsex' (airsex_at_163.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=389341
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>