I'm running OpenSSO Express Build 7 inside GlassFish v2.1.
Whenever I try to undeploy OpenSSO, I become unable to login to the
GlassFish admin console until I restart GlassFish.
Any help would be appreciated.
Thanks,
Chris Dumoulin
The following is from the GlassFish server.log file:
[#|2009-06-30T15:58:45.402-0400|INFO|sun-appserver2.1|javax.enterprise.resource.webservices.jaxws.server.http|_ThreadID=17;_ThreadName=Thread-131;|WSSERVLET13:
JAX-WS context listener destroyed|#]
[#|2009-06-30T15:58:46.190-0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=17;_ThreadName=Thread-131;_RequestID=34d438d0-b661-4e98-a890-a97f3697d31d;|java.lang.IllegalStateException:
The timers have been shuted down!
at com.sun.identity.common.TimerPool.schedule(TimerPool.java:226)
at
com.iplanet.dpro.session.service.InternalSession.reschedule(InternalSession.java:556)
at
com.iplanet.dpro.session.service.SessionService.newInternalSession(SessionService.java:647)
at
com.iplanet.dpro.session.service.SessionService.newInternalSession(SessionService.java:592)
at
com.sun.identity.authentication.service.AuthD.newSession(AuthD.java:595)
at
com.sun.identity.authentication.service.LoginState.createSession(LoginState.java:1800)
at
com.sun.identity.authentication.service.LoginState.createAuthContext(LoginState.java:4408)
at
com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:1050)
at
com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:929)
at
com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:909)
at
com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:876)
at
com.sun.identity.authentication.AuthContext.runLogin(AuthContext.java:660)
at
com.sun.identity.authentication.AuthContext.login(AuthContext.java:568)
at
com.sun.identity.authentication.AuthContext.login(AuthContext.java:525)
at
com.sun.identity.authentication.AuthContext.login(AuthContext.java:384)
at
com.sun.identity.security.SystemAppTokenProvider.getAppSSOToken(SystemAppTokenProvider.java:78)
at
com.sun.identity.security.AdminTokenAction.getSSOToken(AdminTokenAction.java:295)
at
com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at
com.iplanet.am.sdk.AMCommonUtils.populateManagedObjects(AMCommonUtils.java:488)
at com.iplanet.am.sdk.AMCommonUtils.<clinit>(AMCommonUtils.java:103)
at
com.iplanet.am.sdk.AMStoreConnection.<clinit>(AMStoreConnection.java:146)
at sun.misc.Unsafe.ensureClassInitialized(Native Method)
at
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
at
sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
at java.lang.reflect.Field.get(Field.java:357)
at
org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1907)
at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1768)
at
org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:802)
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:5515)
at com.sun.enterprise.web.WebModule.stop(WebModule.java:384)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1118)
at
com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:2054)
at
com.sun.enterprise.web.WebContainer.unloadWebModule(WebContainer.java:1984)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:226)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleUndeployed(WebModuleDeployEventListener.java:317)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1007)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStopEvent(ServerDeploymentTarget.java:332)
at
com.sun.enterprise.deployment.phasing.ApplicationStopPhase.runPhase(ApplicationStopPhase.java:136)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:670)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.stop(PEDeploymentService.java:717)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.stop(ApplicationsConfigMBean.java:796)
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:585)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.stopApplication(DeploymentClientUtils.java:135)
at
com.sun.enterprise.deployment.client.UndeployAction.run(UndeployAction.java:148)
at java.lang.Thread.run(Thread.java:595)
|#]
[#|2009-06-30T15:58:47.535-0400|INFO|sun-appserver2.1|org.apache.catalina.loader.WebappClassLoader|_ThreadID=18;_ThreadName=Idle
Time Limit Thread;|PWC1635: Illegal access: this web application
instance has been stopped already (the eventual following stack trace is
caused by an error thrown for debugging purposes as well as to attempt
to terminate the thread which caused the illegal access, and has no
functional impact)|#]