Skip to main content

Exception while config authentication

1 reply [Last post]
pradeep_d
Offline
Joined: 2008-09-29

This is the exception thrown in web_server.log file,

6 Feb, 2010 12:35:20 PM org.jdesktop.wonderland.runner.DeploymentManager loadPlan
INFO: Loading deployment plan from file: C:\Users\pradeep\.wonderland-server\0.5-preview2\DeploymentPlan.xml
6 Feb, 2010 12:35:20 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: PWC3989: An exception or error occurred in the container during the request processing
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jdesktop.wonderland.modules.securitysession.weblib.SessionManagerFactory$SingletonHolder.createInstance(SessionManagerFactory.java:45)
at org.jdesktop.wonderland.modules.securitysession.weblib.SessionManagerFactory$SingletonHolder.(SessionManagerFactory.java:35)
at org.jdesktop.wonderland.modules.securitysession.weblib.SessionManagerFactory.getSessionManager(SessionManagerFactory.java:31)
at org.jdesktop.wonderland.modules.securitysession.weblib.SessionResolverImpl.initialize(SessionResolverImpl.java:34)
at org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.initialize(WonderSAM.java:82)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider.createModuleInfo(GFServerConfigProvider.java:228)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFAuthConfig.getModuleInfo(GFServerConfigProvider.java:1052)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthConfig.getAuthContext(GFServerConfigProvider.java:1090)
at com.sun.enterprise.security.jmac.config.ConfigHelper.getServerAuthContext(ConfigHelper.java:156)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1275)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1162)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:687)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
Caused by: java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.jdesktop.wonderland.modules.securitysession.auth.weblib.AuthSessionManagerImpl$AuthSessionManagerSingleton.loadPlugin(AuthSessionManagerImpl.java:192)
at org.jdesktop.wonderland.modules.securitysession.auth.weblib.AuthSessionManagerImpl$AuthSessionManagerSingleton.loadPlugins(AuthSessionManagerImpl.java:166)
at org.jdesktop.wonderland.modules.securitysession.auth.weblib.AuthSessionManagerImpl$AuthSessionManagerSingleton.(AuthSessionManagerImpl.java:144)
at org.jdesktop.wonderland.modules.securitysession.auth.weblib.AuthSessionManagerImpl.(AuthSessionManagerImpl.java:61)
... 43 more
6 Feb, 2010 12:35:20 PM org.jdesktop.wonderland.runner.RunManager$1 startupComplete
WARNING: Error during initialization
org.jdesktop.wonderland.runner.RunnerException: java.io.IOException: Error reading checksums from http://Pradeep:8080/wonderland-web-runner/services/checksums
at org.jdesktop.wonderland.runner.BaseRunner.start(BaseRunner.java:222)
at org.jdesktop.wonderland.runner.RunManager.doInit(RunManager.java:197)
at org.jdesktop.wonderland.runner.RunManager$1.startupComplete(RunManager.java:137)
at org.jdesktop.wonderland.utils.AppServerMonitor.fireStartupComplete(AppServerMonitor.java:84)
at org.jdesktop.wonderland.webserver.RunAppServer.(RunAppServer.java:107)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jdesktop.wonderland.webserver.launcher.WebServerLauncher.main(WebServerLauncher.java:193)
Caused by: java.io.IOException: Error reading checksums from http://Pradeep:8080/wonderland-web-runner/services/checksums
at org.jdesktop.wonderland.runner.BaseRunner.getServerChecksums(BaseRunner.java:494)
at org.jdesktop.wonderland.runner.BaseRunner.checkForUpdates(BaseRunner.java:446)
at org.jdesktop.wonderland.runner.BaseRunner.deployFiles(BaseRunner.java:375)
at org.jdesktop.wonderland.runner.BaseRunner.start(BaseRunner.java:220)
... 11 more
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: Premature end of file.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:510)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:194)
at org.jdesktop.wonderland.runner.RunnerChecksums.decode(RunnerChecksums.java:137)
at org.jdesktop.wonderland.runner.BaseRunner.getServerChecksums(BaseRunner.java:492)
... 14 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
... 19 more
6 Feb, 2010 12:35:44 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: PWC3989: An exception or error occurred in the container during the request processing
java.lang.NoClassDefFoundError: Could not initialize class org.jdesktop.wonderland.modules.securitysession.weblib.SessionManagerFactory$SingletonHolder
at org.jdesktop.wonderland.modules.securitysession.weblib.SessionManagerFactory.getSessionManager(SessionManagerFactory.java:31)
at org.jdesktop.wonderland.modules.securitysession.weblib.SessionResolverImpl.initialize(SessionResolverImpl.java:34)
at org.jdesktop.wonderland.modules.security.weblib.serverauthmodule.WonderSAM.initialize(WonderSAM.java:82)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider.createModuleInfo(GFServerConfigProvider.java:228)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFAuthConfig.getModuleInfo(GFServerConfigProvider.java:1052)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthConfig.getAuthContext(GFServerConfigProvider.java:1090)
at com.sun.enterprise.security.jmac.config.ConfigHelper.getServerAuthContext(ConfigHelper.java:156)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1275)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1162)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:687)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
6 Feb, 2010 12:36:11 PM org.jdesktop.wonderland.runner.DeploymentManager loadPlan
INFO: Loading deployment plan from file: C:\Users\pradeep\.wonderland-server\0.5-preview2\DeploymentPlan.xml

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bernard_horan
Offline
Joined: 2007-06-04

see the thread
http://forums.java.net/jive/thread.jspa?messageID=385432
for a possible solution

regards

Bernard