users@glassfish.java.net

Admin Console issue on Fresh installation of GlassFish v3

From: <glassfish_at_javadesktop.org>
Date: Wed, 20 Jan 2010 15:57:32 PST

I installed JDK (1.6.0_18-b07) on my Windows Vista desktop and also Java EE 6 SDK with GlassFish v3 included.

Following the first steps of Sun GlassFish Enterprise Server v3 Quick Start Guide (http://wiki.glassfish.java.net/attach/QuickStartGuide/quickstart.html) I successfully started default domain and tried to access Administration Console using http://localhost:4848/. After few seconds of loading it shows blank page and the log says:

[#|2010-01-20T11:41:57.156-0800|INFO|glassfishv3.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=24;_ThreadName=Thread-1;|Initializing Mojarra 2.0.2 (FCS b10) for context ''|#]

[#|2010-01-20T11:42:17.425-0800|INFO|glassfishv3.0|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=24;_ThreadName=Thread-1;|Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:661)
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:306)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:223)
        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4591)
        at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:535)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5193)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1933)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1605)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:340)
        at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:292)
        at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:648)
        ... 19 more
Caused by: java.lang.NullPointerException
        at com.sun.faces.facelets.util.Classpath.searchDir(Classpath.java:132)
        at com.sun.faces.facelets.util.Classpath.searchDir(Classpath.java:135)
        at com.sun.faces.facelets.util.Classpath.searchDir(Classpath.java:135)
        at com.sun.faces.facelets.util.Classpath.search(Classpath.java:114)
        at com.sun.faces.facelets.util.Classpath.search(Classpath.java:86)
        at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:159)
        at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:107)
....
etc.

I tried to search similar threads but did not find my exception there. If firewall is switched off, the result is the same.

What am I doing wrong?

Thanks,
Rob
[Message sent by forum member 'robinzon' (wicked.developer_at_gmail.com)]

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