Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11547

Missing entry or corrupted value in "com.iplanet.am.version" causes upgrade failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.5.0, 13.5.1, 14.0.0, 14.1.0, 14.1.1
    • Fix Version/s: 13.5.3, 6.0.0, 14.1.2, 5.5.2
    • Component/s: upgrade
    • Labels:
    • Sprint:
      AM Sustaining Sprint 42, AM Sustaining Sprint 43, AM Sustaining Sprint 44, AM Sustaining Sprint 45, AM Sustaining Sprint 46, AM Sustaining Sprint 47
    • Story Points:
      3
    • Needs backport:
      Yes
    • Support Ticket IDs:
    • Needs QA verification:
      Yes
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      The following error exceptions when you upgrade OpenAM 11.0.x to

      13.5.0

       

      javax.servlet.ServletException: Servlet execution threw an exception
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:315)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.xui.XUIFilter.doFilter(XUIFilter.java:131)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
       at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
       at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
       at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       at java.lang.Thread.run(Thread.java:745)
       Caused by: java.lang.ExceptionInInitializerError
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
       at java.lang.Class.newInstance(Class.java:379)
       at com.iplanet.jato.ViewBeanManager.getViewBean(ViewBeanManager.java:229)
       at com.sun.identity.authentication.UI.AuthenticationServletBase.onUncaughtException(AuthenticationServletBase.java:113)
       at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
       at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
       at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
       ... 32 more
       Caused by: java.lang.IllegalStateException: Unable to initialize AuthD
       at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:262)
       at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:101)
       at com.sun.identity.authentication.service.AuthD$SingletonHolder.getInstance(AuthD.java:123)
       at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:532)
       at com.sun.identity.authentication.UI.AuthExceptionViewBean.<clinit>(AuthExceptionViewBean.java:298)
       ... 45 more
       Caused by: com.google.inject.ProvisionException: Guice provision errors:
      1) Error injecting constructor, java.lang.NullPointerException
       at org.forgerock.openam.audit.AuditServiceProviderImpl.<init>(Unknown Source)
       at org.forgerock.openam.audit.AuditServiceProviderImpl.class(Unknown Source)
       while locating org.forgerock.openam.audit.AuditServiceProviderImpl
       while locating org.forgerock.openam.audit.AuditServiceProvider
       for parameter 0 at org.forgerock.openam.audit.AuditEventPublisherImpl.<init>(Unknown Source)
       at org.forgerock.openam.audit.AuditEventPublisherImpl.class(Unknown Source)
       while locating org.forgerock.openam.audit.AuditEventPublisherImpl
       while locating org.forgerock.openam.audit.AuditEventPublisher
       for parameter 0 at com.iplanet.dpro.session.service.SessionAuditor.<init>(Unknown Source)
       at com.iplanet.dpro.session.service.SessionAuditor.class(Unknown Source)
       while locating com.iplanet.dpro.session.service.SessionAuditor
       for parameter 11 at com.iplanet.dpro.session.service.SessionService.<init>(Unknown Source)
       at com.iplanet.dpro.session.service.SessionService.class(Unknown Source)
       while locating com.iplanet.dpro.session.service.SessionService
      1 error
       at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
       at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
       at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:80)
       at com.sun.identity.authentication.service.AuthD.getSessionService(AuthD.java:799)
       at com.sun.identity.authentication.service.AuthD.initAuthSession(AuthD.java:815)
       at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:243)
       ... 49 more
       Caused by: java.lang.NullPointerException
       at org.forgerock.openam.audit.configuration.AuditServiceConfigurationProviderImpl.getConfiguration(AuditServiceConfigurationProviderImpl.java:228)
       at org.forgerock.openam.audit.configuration.AuditServiceConfigurationProviderImpl.getDefaultConfiguration(AuditServiceConfigurationProviderImpl.java:137)
       at org.forgerock.openam.audit.AuditServiceProviderImpl.refreshDefaultAuditService(AuditServiceProviderImpl.java:132)
       at org.forgerock.openam.audit.AuditServiceProviderImpl.access$000(AuditServiceProviderImpl.java:47)
       at org.forgerock.openam.audit.AuditServiceProviderImpl$1.globalConfigurationChanged(AuditServiceProviderImpl.java:93)
       at org.forgerock.openam.audit.configuration.AuditServiceConfigurationProviderImpl.addConfigurationListener(AuditServiceConfigurationProviderImpl.java:100)
       at org.forgerock.openam.audit.AuditServiceProviderImpl.registerListeners(AuditServiceProviderImpl.java:90)
       at org.forgerock.openam.audit.AuditServiceProviderImpl.<init>(AuditServiceProviderImpl.java:69)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
       at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:85)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
       at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
       ... 54 more
      

       

      13.5.1

      There is no error in upgrade console but there is NO upgrade screen when you access the administrative GUI screen.

      Login into the administrative GUI screen and click on the version button.

      The version is empty in the pop up dialog box

      14.0.0

       

      javax.servlet.ServletException: Servlet execution threw an exception
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:315)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:36)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:80)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.xui.XUIFilter.doFilter(XUIFilter.java:102)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:43)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
       at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
       at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
       at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
       at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
       at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.authentication.service.AuthD
       at com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:199)
       at com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:172)
       at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:412)
       at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
       at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
       at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
       ... 35 more
       
      

      14.1.0/14.1.1 

       

      com.google.inject.ProvisionException: Guice provision errors:
      1) Error injecting constructor, java.lang.IllegalStateException: Failed to load monitoring configuration
       at com.sun.identity.monitoring.MonitoringConfig.<init>(Unknown Source)
       at com.sun.identity.monitoring.MonitoringConfig.class(Unknown Source)
       while locating com.sun.identity.monitoring.MonitoringConfig
       for parameter 0 at com.sun.identity.monitoring.MonitoringManager.<init>(Unknown Source)
       at com.sun.identity.monitoring.MonitoringManager.class(Unknown Source)
       while locating com.sun.identity.monitoring.MonitoringManager
      1 error
       at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
       at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
       at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:72)
       at com.sun.identity.monitoring.MonitoringUtil.isRunning(MonitoringUtil.java:58)
       at com.sun.identity.log.LogManager.updateMonitConfigForLogService(LogManager.java:679)
       at com.sun.identity.log.LogManager.readConfiguration(LogManager.java:538)
       at com.sun.identity.log.Logger.<clinit>(Logger.java:94)
       at org.forgerock.openam.oauth2.OAuth2AuditLogger.init(OAuth2AuditLogger.java:52)
       at org.forgerock.openam.oauth2.OAuth2AuditLogger.<init>(OAuth2AuditLogger.java:45)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
       at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:85)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
       at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1009)
       at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:85)
       at org.forgerock.openam.rest.Routers$VersionedResourceRoute.toCollection(Routers.java:852)
       at org.forgerock.openam.rest.Routers$ResourceRoute.toCollection(Routers.java:427)
       at org.forgerock.openam.rest.Routers$ResourceRoute.toCollection(Routers.java:413)
       at org.forgerock.openam.oauth2.rest.OAuth2RestHttpRouteProvider.get(OAuth2RestHttpRouteProvider.java:51)
       at org.forgerock.openam.http.HttpRouterProvider.get(HttpRouterProvider.java:41)
       at org.forgerock.openam.http.HttpRouterProvider.get(HttpRouterProvider.java:25)
       at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
       at com.google.inject.internal.ExposedKeyFactory.get(ExposedKeyFactory.java:54)
       at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
       at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
       at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
       at org.forgerock.guice.core.InjectorHolder.getInstance(InjectorHolder.java:72)
       at org.forgerock.openam.http.HttpStartupTrigger.setupComplete(HttpStartupTrigger.java:26)
       at com.sun.identity.setup.AMSetupServlet.registerListeners(AMSetupServlet.java:2094)
       at com.sun.identity.setup.AMSetupServlet.init(AMSetupServlet.java:220)
       at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1227)
       at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1140)
       at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1027)
       at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5038)
       at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
       at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
       at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.IllegalStateException: Failed to load monitoring configuration
       at com.sun.identity.monitoring.MonitoringConfig.<init>(MonitoringConfig.java:63)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
       at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:85)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
       at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
       at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
       at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
       at com.google.inject.Scopes$1$1.get(Scopes.java:65)
       at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
       at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
       at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
       at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
       ... 80 more
      Caused by: java.lang.IllegalStateException: Failed to load monitoring configuration
       at com.sun.identity.monitoring.MonitoringConfig$HotSwappableMonitoringConfig.<init>(MonitoringConfig.java:187)
       at com.sun.identity.monitoring.MonitoringConfig.<init>(MonitoringConfig.java:48)
       ... 104 more
      Caused by: java.lang.NumberFormatException: null
       at java.lang.Integer.parseInt(Integer.java:454)
       at java.lang.Integer.valueOf(Integer.java:582)
       at com.sun.identity.monitoring.MonitoringConfig$HotSwappableMonitoringConfig.loadSettings(MonitoringConfig.java:204)
       at com.sun.identity.monitoring.MonitoringConfig$HotSwappableMonitoringConfig.<init>(MonitoringConfig.java:183)
       ... 105 more
      

      Root Cause

      It has been observed that if there is a missing entry value of  "serverconfig=com.iplanet.am.version="  in

      "ou=server-default,ou=com-sun-identityservers,ou=default,ou=GlobalConfig,ou=1.0,ou=iPlanetAMPlatformService,ou=services,dc=openam,dc=forgerock,dc=org"

      Or a corrupted value eg

      serverconfig=com.iplanet.am.version=@VERSION@ (@DATESTAMP@)

      is causing a failure in the upgrade.

      Workaround

      Restore to the pre-installed environment

      Modify the entry with the correct version

      ou=server-default,ou=com-sun-identity-servers,ou=default,ou=GlobalConfig,ou=1.0,ou=iPlanetAMPlatformService,ou=services,<YOUR_SUFFIX> 

      with

      sunKeyValue: serverconfig=com.iplanet.am.version=OpenAM 11.0.2 (2014-August-27 16:30)

      Perform the upgrade again

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adam.heath Adam Heath
                Reporter:
                sam.phua Sam Phua
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: