users@glassfish.java.net

Glassfish 3.1 Admin GUI Crash

From: <forums_at_java.net>
Date: Mon, 16 May 2011 08:45:12 -0500 (CDT)

Hello,

I am having a fairly serious problem with Glassfish v3.1.  I had written
several application, underglassfish 3.0, and after upgrading to 3.1, all of
them began experincing problems (even after updating the applications to use
the new libraries, etc...).  I have had difficulty in processing
JSF applications (the ELResolvers do not appear to get invoked, and the "web
page" that is sent back to the browser is the raw facelet XML, and the
Managed beans are not being called).  My latest problem is that the Admin
GUI has started crashing after the user/password has been entered.  The
exception is:

PWC1406: Servlet.service() for servlet FacesServlet threw exception

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while
attempting to process a 'afterCreate' event for 'event81'.
        at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:422)
        at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
        at
com.sun.jsftemplating.layout.descriptors.LayoutComponent.afterCreate(LayoutComponent.java:363)
        at
com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:294)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:556)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:551)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
        at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:255)
        at
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:244)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
        at
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:113)
        at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
        at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
        at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
        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:233)
        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:279)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
        at
org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
        at
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
        at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
        at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
        at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228)
        at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
        at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
        at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
        at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
        at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
        at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
        at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

        at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
        at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
        at java.lang.Thread.run(Thread.java:619)

There is more to the exception.  I have attached the server.log, which
contains the full exception as well as the JVM setup and other errors and
warning.  Some, such as three ArrayIndexOutOfBounds exception are from one
of my apps and is caused by a setup error.  Others are somewhat more
mysterious. 

I have tried many differnet things attempting to get this to work.  I have
reinstalled Glassfish several times, but I am now at a complete loss.

I had a single application, PagodaCouponTool, that did not get displayed
properly (due to the ELResolvers error), but the Glassfish Admin GUI
functoned properly.  After adding the other application, the GUI no longer
comes. 

Any information as to a course of action will be appreciated.  I am
beginning to think that Glassfish 3.1 is simply too buggy to be useful, and
that the solution is to downgrade to version 3.0 (assuming that I can still
find it).

Mike Laris
mglaris_at_gmail.com

 


--
[Message sent by forum member 'mlaris']
View Post: http://forums.java.net/node/802618