Skip to main content

Unable to open web admin console

8 replies [Last post]
pradeep_d
Offline
Joined: 2008-09-29

Hi,
I configured Authentication by following the below article

http://wiki.java.net/bin/view/Javadesktop/ProjectWonderlandAuthentication05

It was working fine. Then i thought of creating a new plugin to authenticate user using my local database. I created the plugin using the LDAP user plugin as reference. Then i created my.run.properties file and below is the content,

wonderland.security.allow.guest.login=true
AuthSessionManagerImpl.UserPluginConfig=D:\Amphisoft\Project\Wonderland\0.5P2\wonderland.plugin.config

Then i created wonderland.plugin.config file in this location "D:\Amphisoft\Project\Wonderland\0.5P2", below is the file content,

org.jdesktop.wonderland.modules.securitysession.auth.weblib.DBUserPluginImpl

com.amphisoft.wonderland.module.moodle.security.MoodleUserPlugin

org.jdesktop.wonderland.modules.securitysession.auth.weblib.GuestUserPluginImpl

org.jdesktop.wonderland.modules.securitysession.auth.weblib.GuestUserPluginImpl

Then i run the server using the below command,
java -Djava.home="C:\Program Files\Java\jdk1.6.0" -jar Wonderland.jar my.run.properties

Then i got the server started message, but if i try to access http://localhost:8080/wonderland-web-front/ then it displays blank screen.

If i run the below command without my.run.properties file then i am able to access the web admin console. Please help me to solve this issue.

Thanks,
Pradeep D

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kaplanj
Offline
Joined: 2004-07-13

This looks like a bug in the user plugin config parser (I think due to a Jersey update). Please file an issue in the issue tracker and assign it to me.

animeshpalit
Offline
Joined: 2010-01-04

Hi Kaplan,

I am getting a another exception on the same. I follow the same process as above.
the exception is
[b]"duplicate class definition bug occured? Please report this : org/jdesktop/wonderland/modules/securitysession/auth/weblib/UserPluginConfigList$JaxbAccessorM_getUserPluginConfigs_setUserPluginConfigs_[Lorg_jdesktop_wonderland_modules_securitysession_auth_weblib_UserPluginConfigList$UserPluginConfig;"[/b]

I am attaching the details:

[i]Feb 12, 2010 3:44:30 PM com.sun.xml.bind.v2.runtime.reflect.opt.Injector inject
WARNING: duplicate class definition bug occured? Please report this : org/jdesktop/wonderland/modules/securitysession/auth/weblib/UserPluginConfigList$JaxbAccessorM_getUserPluginConfigs_setUserPluginConfigs_[Lorg_jdesktop_wonderland_modules_securitysession_auth_weblib_UserPluginConfigList$UserPluginConfig;
java.lang.ClassFormatError: Illegal class name "org/jdesktop/wonderland/modules/securitysession/auth/weblib/UserPluginConfigList$JaxbAccessorM_getUserPluginConfigs_setUserPluginConfigs_[Lorg_jdesktop_wonderland_modules_securitysession_auth_weblib_UserPluginConfigList$UserPluginConfig;" in class file org/jdesktop/wonderland/modules/securitysession/auth/weblib/UserPluginConfigList$JaxbAccessorM_getUserPluginConfigs_setUserPluginConfigs_[Lorg_jdesktop_wonderland_modules_securitysession_auth_weblib_UserPluginConfigList$UserPluginConfig;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:205)
at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:85)
at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:89)
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:114)
at com.sun.xml.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.optimize(Accessor.java:369)
at com.sun.xml.bind.v2.runtime.property.ArrayProperty.(ArrayProperty.java:65)
at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.(ArrayERProperty.java:84)
at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.(ArrayElementProperty.java:96)
at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.(ArrayElementNodeProperty.java:58)
at sun.reflect.GeneratedConstructorAccessor41.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:124)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImpl.java:179)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:515)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:330)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)
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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.jdesktop.wonderland.modules.securitysession.auth.weblib.UserPluginConfigList.(UserPluginConfigList.java:57)
at org.jdesktop.wonderland.modules.securitysession.auth.weblib.AuthSessionManagerImpl$AuthSessionManagerSingleton.loadPlugins(AuthSessionManagerImpl.java:163)
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)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
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 org.jdesktop.wonderland.webserver.DefaultSAM.initialize(DefaultSAM.java:53)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider.createModuleInfo(GFServerConfigProvider.java:230)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFAuthConfig.getModuleInfo(GFServerConfigProvider.java:988)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthConfig.getAuthContext(GFServerConfigProvider.java:1026)
at com.sun.enterprise.security.jmac.config.ConfigHelper.getServerAuthContext(ConfigHelper.java:154)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1238)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:580)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:615)
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:165)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
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(Thread.java:619)
configs 2
classname: null
classname: null
Feb 12, 2010 3:44:30 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(Class.java:169)
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 org.jdesktop.wonderland.webserver.DefaultSAM.initialize(DefaultSAM.java:53)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider.createModuleInfo(GFServerConfigProvider.java:230)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFAuthConfig.getModuleInfo(GFServerConfigProvider.java:988)
at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthConfig.getAuthContext(GFServerConfigProvider.java:1026)
at com.sun.enterprise.security.jmac.config.ConfigHelper.getServerAuthContext(ConfigHelper.java:154)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1238)
at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:580)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:615)
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:165)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
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(Thread.java:619)
Caused by: java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
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)
... 36 more
Feb 12, 2010 3:44:31 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://moblize-pc7: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:118)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jdesktop.wonderland.webserver.launcher.WebServerLauncher.main(WebServerLauncher.java:194)
Caused by: java.io.IOException: Error reading checksums from http://moblize-pc7: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:514)
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(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1058)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
... 19 more
-----------------------------------------------------------
Wonderland web server started successfully.
Log files are in C:/Users/moblize_user/.wonderland-server/0.5-dev/log
Web server running on http://moblize-pc7:8080/
-----------------------------------------------------------[/i]

Thanks in advance,
Animesh

bernard_horan
Offline
Joined: 2007-06-04

Hi

this has been patched in rev 1491.

regards

Bernard

pradeep_d
Offline
Joined: 2008-09-29

can you please send me the latest module latest jar file with that fix, so that i can try.
pradeepd12@gmail.com is my mail address

bernard_horan
Offline
Joined: 2007-06-04

OK, it's in the mail. Let me know if you don't receive it.

regards

Bernard

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

Please give a solution for this issue.

bernard_horan
Offline
Joined: 2007-06-04

Pradeep

I suspect the problem is rooted here:
Caused by: org.xml.sax.SAXParseException: Premature end of file.

could you check your files in your .wonderland-server cache directory. Or better yet, delete them and try again.

regards

Bernard

pradeep_d
Offline
Joined: 2008-09-29

It works when i remove AuthSessionManagerImpl property from mu.run property file,

wonderland.security.allow.guest.login=true
AuthSessionManagerImpl.UserPluginConfig=D:\Amphisoft\Project\Wonderland\0.5P2\wonderland.plugin.config

please tell how to check the error log?

Thanks