admin@glassfish.java.net

b33 -> b49 upgrade fails

From: Dick Davies <rasputnik_at_gmail.com>
Date: Mon, 4 Jun 2007 08:02:02 +0100

I tried to upgrade to glassfish v2 b49
(the latest promoted build) and it hasn't gone all that well :)

First question - does a fresh b49 work for anyone?

b33 is bundled with JDK 1.6. I had it installed under /j2ee with my
domaindir set to /domains.

I'm running roller at the root context on port 80
( see the writeup at:
  http://number9.hellooperator.net/articles/2007/05/06/roller-on-glassfish
)

I installed jdk 1.6 into /jdk1.6, and glassfish b49 to /glassfish.
(just ran setup-cluster.xml to get asadmin etc created).


All my extra libraries etc are in the domain directory, so I just pointed the
new glassfish version at the old domain directory.

It *sort of* works. When I log into the admin webapp, the left-hand pane (where
the menu would be) shows a 500 error (which is caused by the stacktrace below).
Anyone know what that is caused by?

By sneaking around the right-hand pane, I can see my connection pool
is ok ( the 'ping test' works), and my webapp is showing as deployed
to '/'.
But when I go to http://myserver/ I get the default index page.
I tride changing the context the webapp is deployed to, but I just get
an error about the resource being unavailable.

Any ideas?

================================

[#|2007-06-04T02:38:57.429+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=httpSSLWorkerThread-4848-2;_RequestID=e7b9fe38-
0f3b-48b5-ad11-01eb5caa984b;|StandardWrapperValve[FacesServlet]:
PWC1406: Servlet.service() for servlet FacesServlet threw exception
javax.management.RuntimeMBeanException: java.lang.NullPointerException
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:838)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:178)
        at com.sun.jbi.ui.client.JBIAdminCommandsClientImpl.invokeMBeanOperation(JBIAdminCommandsClientImpl.java:3190)
        at com.sun.jbi.ui.client.JBIAdminCommandsClientImpl.listBindingComponents(JBIAdminCommandsClientImpl.java:632)
        at com.sun.jbi.ui.client.JBIAdminCommandsClientImpl.listBindingComponents(JBIAdminCommandsClientImpl.java:586)
        at com.sun.jbi.jsf.bean.ListBean.getListBindingComponents(ListBean.java:274)
        at com.sun.jbi.jsf.util.JBITreeAdaptor.getChildTreeNodeObjects(JBITreeAdaptor.java:170)
        at com.sun.jsftemplating.component.factory.tree.DynamicTreeNodeFactory.processNode(DynamicTreeNodeFactory.java:178)
        at com.sun.jsftemplating.component.factory.tree.DynamicTreeNodeFactory.create(DynamicTreeNodeFactory.java:109)
        at com.sun.jsftemplating.component.ComponentUtil.createChildComponent(ComponentUtil.java:400)
        at com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:273)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:413)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:428)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:428)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:428)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:428)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:428)
        at com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:428)
        at com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:203)
        at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
        at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
        at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.service(DelayedInitFacesServlet.java:79)
        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)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:631)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:562)
        at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:803)
        at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.NullPointerException
        at com.sun.jbi.framework.EnvironmentContext.getComponentQuery(EnvironmentContext.java:792)
        at com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl.getFrameworkComponentQuery(AbstractUIMBeanImpl.java:910)
        at com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl.getComponentNamesWithStatus(AbstractUIMBeanImpl.java:1016)
        at com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl.getFrameworkComponentInfoListForEnginesAndBindings(AbstractUIMBeanImpl.java:1756)
        at com.sun.jbi.ui.runtime.mbeans.JBIAdminCommandsUIMBeanImpl.listComponents(JBIAdminCommandsUIMBeanImpl.java:932)
        at com.sun.jbi.ui.runtime.mbeans.JBIAdminCommandsUIMBeanImpl.listBindingComponents(JBIAdminCommandsUIMBeanImpl.java:983)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
        at javax.management.StandardMBean.invoke(StandardMBean.java:391)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        ... 56 more
|#]


-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/