quality@glassfish.java.net

b70 admin console error

From: Peter Fabian <Peter.Fabian_at_Sun.COM>
Date: Mon, 02 Nov 2009 13:02:13 +0100

just upgraded to b70, now the admin console does not work, here is the
relevant part from the server log:
$glassfishroot/lib/install/applications/__admingui/WEB-INF/classes does
not exsist.
Peter


[#|2009-11-02T12:57:54.546+0100|WARNING|glassfish|javax.enterprise.system.container.web.org.glassfish.web.loader|_ThreadID=19;_ThreadName=Thread-1;|Invalid
URLClassLoader path component:
[/E:/glassfishv3/b57/glassfish/lib/install/applications/__admingui/WEB-INF/classes]
is neither a JAR file nor a directory|#]

[#|2009-11-02T12:57:55.875+0100|INFO|glassfish|null|_ThreadID=20;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:05.203+0100|INFO|glassfish|null|_ThreadID=18;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:10.687+0100|INFO|glassfish|null|_ThreadID=20;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:15.953+0100|INFO|glassfish|null|_ThreadID=18;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:21.218+0100|INFO|glassfish|null|_ThreadID=20;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:26.484+0100|INFO|glassfish|null|_ThreadID=18;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:27.406+0100|INFO|glassfish|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=19;_ThreadName=Thread-1;|Initializing
Mojarra 2.0.1 (FCS b02) for context ''|#]

[#|2009-11-02T12:58:31.750+0100|INFO|glassfish|null|_ThreadID=20;_ThreadName=Thread-1;|AdminConsoleAdapter's
STATE IS: The Admin Console is loading...|#]

[#|2009-11-02T12:58:32.625+0100|INFO|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=19;_ThreadName=Thread-1;|Loading
application __admingui at /|#]

[#|2009-11-02T12:58:32.625+0100|INFO|glassfish|null|_ThreadID=19;_ThreadName=Thread-1;|Loading
__admingui Application done is 41844 ms|#]

[#|2009-11-02T12:58:32.625+0100|INFO|glassfish|null|_ThreadID=19;_ThreadName=Thread-1;|The
Admin Console application is loaded.|#]

[#|2009-11-02T12:58:46.125+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=20;_ThreadName=Thread-1;|AMX
ComplianceMonitor: ValidationLevel = full, UnregisterNonCompliant =
false, LogInaccessibleAttributes = true|#]

[#|2009-11-02T12:58:46.187+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=21;_ThreadName=Thread-1;|AMXStartupServiceNew.AMXLoaderThread:
loading: org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService|#]

[#|2009-11-02T12:58:46.203+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=22;_ThreadName=Thread-1;|AMXStartupServiceNew.AMXLoaderThread:
loading: org.glassfish.admin.amx.impl.AMXStartupService|#]

[#|2009-11-02T12:58:46.250+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=23;_ThreadName=Thread-1;|AMXStartupServiceNew.AMXLoaderThread:
loading: org.glassfish.admin.amx.impl.ext.AMXExtStartupService|#]

[#|2009-11-02T12:58:46.265+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=24;_ThreadName=Thread-1;|AMXStartupServiceNew.AMXLoaderThread:
loading: org.glassfish.admin.amx.impl.config.AMXConfigStartupService|#]

[#|2009-11-02T12:58:46.859+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=24;_ThreadName=Thread-1;|AMX
config read, domain config registered as amx:pp=/,type=domain|#]

[#|2009-11-02T12:58:47.234+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=21;_ThreadName=Thread-1;|Registered
JSR 77 MBeans for application/module:
amx:pp=/J2EEDomain/J2EEServer,type=WebModule,name=__admingui,j2eeType=WebModule,J2EEServer=server,J2EEApplication=null|#]

[#|2009-11-02T12:58:47.296+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=21;_ThreadName=Thread-1;|J2EEDomain
registered at amx:pp=/,type=J2EEDomain,j2eeType=J2EEDomain,name=amx|#]

[#|2009-11-02T12:58:47.296+0100|INFO|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=20;_ThreadName=Thread-1;|AMXStartupServiceNew:
AMX ready for use, DomainRoot = amx:pp=,type=domain-root|#]

[#|2009-11-02T12:59:00.312+0100|WARNING|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=20;_ThreadName=Thread-1;|StandardWrapperValve[FacesServlet]:
PWC1406: Servlet.service() for servlet FacesServlet threw exception
java.lang.NullPointerException
    at
com.sun.webui.jsf.theme.JSFThemeContext.getResourcePath(JSFThemeContext.java:159)
    at
org.glassfish.admingui.theme.AdminguiThemeContext.getResourcePath(AdminguiThemeContext.java:163)
    at com.sun.webui.theme.JarTheme.translateURI(JarTheme.java:541)
    at
com.sun.webui.theme.JarTheme.getPathToMasterStylesheet(JarTheme.java:299)
    at com.sun.webui.theme.JarTheme.getMasterStylesheets(JarTheme.java:311)
    at
com.sun.webui.jsf.util.RenderingUtilities.renderStyleSheetLink(RenderingUtilities.java:459)
    at
com.sun.webui.jsf.renderkit.html.ThemeLinksRenderer.encodeBegin(ThemeLinksRenderer.java:70)
    at
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:549)
    at
com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
    at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
    at
com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:228)
    at
com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:678)
    at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
    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:235)
    at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952)
    at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
    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(Unknown Source)

-- 
Peter Fabian
Sun Software
AIM/skype/yahoo:fabianpetergabor
Sun corp IM:pf120168_at_sun.com