Hello Im running Glassfish3.1 on Windows 7 and I can't load the admin console.
Stack is:
java.lang.RuntimeException: java.io.IOException: Cannot open a foreign URL; this.url=jar:file:/C:/Java%2520Stuff/Glassfish-3.1/glassfish/lib/install/applications/jaxr-ra/jaxr-ra.jar!/META-INF/; foreign.url=jar:file:/C:/Java%2520Stuff/Glassfish-3.1/glassfish/lib/install/applications/jaxr-ra/jaxr-ra.jar!/META-INF/
at com.sun.jsftemplating.layout.LayoutDefinitionManager.getGlobalComponentTypes(LayoutDefinitionManager.java:660)
at com.sun.jsftemplating.layout.LayoutDefinitionManager.getGlobalComponentType(LayoutDefinitionManager.java:754)
at com.sun.jsftemplating.layout.template.TemplateReader.createLayoutComponent(TemplateReader.java:357)
at com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:56)
at com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:318)
at com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinition(TemplateReader.java:178)
at com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader.java:135)
at com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:194)
at com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:152)
at com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:257)
at com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:228)
at com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:201)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:258)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:115)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:338)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1522)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:835)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:499)
at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:470)
at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:360)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:160)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1302)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1184)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:591)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
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:824)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:721)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1014)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:220)
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:530)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: Cannot open a foreign URL; this.url=jar:file:/C:/Java%2520Stuff/Glassfish-3.1/glassfish/lib/install/applications/jaxr-ra/jaxr-ra.jar!/META-INF/; foreign.url=jar:file:/C:/Java%2520Stuff/Glassfish-3.1/glassfish/lib/install/applications/jaxr-ra/jaxr-ra.jar!/META-INF/
at com.sun.enterprise.loader.ASURLClassLoader$InternalURLStreamHandler.openConnection(ASURLClassLoader.java:1383)
at java.net.URL.openConnection(URL.java:945)
at com.sun.jsftemplating.layout.LayoutDefinitionManager.readComponentsFromTaglibXml(LayoutDefinitionManager.java:678)
at com.sun.jsftemplating.layout.LayoutDefinitionManager.getGlobalComponentTypes(LayoutDefinitionManager.java:658)
... 50 more
[Message sent by forum member 'xzvim']
http://forums.java.net/jive/thread.jspa?messageID=485388