users@glassfish.java.net

Glassfish Deployment Error SEVERE

From: <glassfish_at_javadesktop.org>
Date: Tue, 30 Sep 2008 06:06:25 PDT

Hi Guys, I´m crazy with this (probabily) glassfish bug. I have installed GF version V2UR1 b09 on Linux machine, and in begining everything is all right, I can deploy my WARS with no problem. But in a moment, I simply can´t do it. Every time I try deploy any war (ps, undeploy is all right, all others glassfish functions either) i get the following stack trace:

Plese, please, please, anybody can help me?

[#|2008-09-30T06:42:55.855-0300|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=20;_ThreadName=httpWorkerThread-8048-3;_RequestID=fe04f2ef-f225-4a47-bae8-55c7525b9d77;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl_at_1f9be7f) threw exception
javax.faces.FacesException: No file was uploaded
        at com.sun.webui.jsf.renderkit.html.UploadRenderer.encodeEnd(UploadRenderer.java:106)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at com.sun.webui.jsf.util.RenderingUtilities.renderComponent(RenderingUtilities.java:99)
        at com.sun.webui.jsf.renderkit.html.PropertyRenderer.renderPropertyComponents(PropertyRenderer.java:200)
        at com.sun.webui.jsf.renderkit.html.PropertyRenderer.encodeEnd(PropertyRenderer.java:161)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at com.sun.webui.jsf.util.RenderingUtilities.renderComponent(RenderingUtilities.java:99)
        at com.sun.webui.jsf.renderkit.html.PropertySheetSectionRenderer.renderProperties(PropertySheetSectionRenderer.java:192)
        at com.sun.webui.jsf.renderkit.html.PropertySheetSectionRenderer.renderPropertySheetSection(PropertySheetSectionRenderer.java:152)
        at com.sun.webui.jsf.renderkit.html.PropertySheetSectionRenderer.encodeEnd(PropertySheetSectionRenderer.java:95)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at com.sun.webui.jsf.util.RenderingUtilities.renderComponent(RenderingUtilities.java:99)
        at com.sun.webui.jsf.renderkit.html.PropertySheetRenderer.renderPropertySheetSections(PropertySheetRenderer.java:172)
        at com.sun.webui.jsf.renderkit.html.PropertySheetRenderer.encodeEnd(PropertySheetRenderer.java:122)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
        at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
        at com.sun.webui.jsf.renderkit.html.ContentPageTitleRenderer.encodeChildren(ContentPageTitleRenderer.java:170)
............

[#|2008-09-30T06:42:55.869-0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpWorkerThread-8048-3;_RequestID=fe04f2ef-f225-4a47-bae8-55c7525b9d77;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
javax.faces.FacesException: No file was uploaded
        at com.sun.webui.jsf.renderkit.html.UploadRenderer.encodeEnd(UploadRenderer.java:106)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at com.sun.webui.jsf.util.RenderingUtilities.renderComponent(RenderingUtilities.java:99)
        at com.sun.webui.jsf.renderkit.html.PropertyRenderer.renderPropertyComponents(PropertyRenderer.java:200)
        at com.sun.webui.jsf.renderkit.html.PropertyRenderer.encodeEnd(PropertyRenderer.java:161)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at com.sun.webui.jsf.util.RenderingUtilities.renderComponent(RenderingUtilities.java:99)
        at com.sun.webui.jsf.renderkit.html.PropertySheetSectionRenderer.renderProperties(PropertySheetSectionRenderer.java:192)
        at com.sun.webui.jsf.renderkit.html.PropertySheetSectionRenderer.renderPropertySheetSection(PropertySheetSectionRenderer.java:152)
        at com.sun.webui.jsf.renderkit.html.PropertySheetSectionRenderer.encodeEnd(PropertySheetSectionRenderer.java:95)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
        at com.sun.webui.jsf.util.RenderingUtilities.renderComponent(RenderingUtilities.java:99)
        at com.sun.webui.jsf.renderkit.html.PropertySheetRenderer.renderPropertySheetSections(PropertySheetRenderer.java:172)
        at com.sun.webui.jsf.renderkit.html.PropertySheetRenderer.encodeEnd(PropertySheetRenderer.java:122)
        at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
............

[#|2008-09-30T06:42:58.587-0300|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=21;_ThreadName=httpWorkerThread-8048-4;_RequestID=145d74f6-2d99-447d-ab7a-e643911b0844;|
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor401.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.faces.extensions.avatar.lifecycle.AsyncResponse.createAjaxResponseWriter(AsyncResponse.java:349)
        at com.sun.faces.extensions.avatar.lifecycle.AsyncResponse.getResponseWriter(AsyncResponse.java:105)
        at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewRootHelper.java:327)
        at com.sun.jsftemplating.layout.LayoutViewRoot.encodeBegin(LayoutViewRoot.java:159)
        at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:221)
        at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:484)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
.............
Caused by: java.lang.IllegalStateException: PWC3991: getOutputStream() has already been called for this response
        at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:701)
        at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:210)
        ... 46 more
...............

[#|2008-09-30T06:42:58.608-0300|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=21;_ThreadName=httpWorkerThread-8048-4;_RequestID=145d74f6-2d99-447d-ab7a-e643911b0844;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl_at_79a640) threw exception
java.lang.NullPointerException: Argument Error: ResponseWriter argument is null.
        at com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:338)
        at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewRootHelper.java:335)
        at com.sun.jsftemplating.layout.LayoutViewRoot.encodeBegin(LayoutViewRoot.java:159)
        at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:221)
        at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:484)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
        at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:107)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
        at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
...............

[#|2008-09-30T06:42:58.619-0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=21;_ThreadName=httpWorkerThread-8048-4;_RequestID=145d74f6-2d99-447d-ab7a-e643911b0844;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
java.lang.NullPointerException: Argument Error: ResponseWriter argument is null.
        at com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:338)
        at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.encodeBegin(PartialTraversalViewRootHelper.java:335)
        at com.sun.jsftemplating.layout.LayoutViewRoot.encodeBegin(LayoutViewRoot.java:159)
        at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:221)
        at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:484)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
        at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:107)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
        at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
.............


I know the exception is long, but my intention is give you full information I have.

Thanks for any help!

In attach the full exception I have.
[Message sent by forum member 'glassfishbugs' (glassfishbugs)]

http://forums.java.net/jive/thread.jspa?messageID=302527