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

Not possible to install AM14 on Weblogic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 14.0.0-M9
    • Fix Version/s: 14.0.0
    • Component/s: install
    • Labels:
    • Environment:
      Win 2016 / JDK 1.8.0_111 / Weblogic 12.1.3 / OpenAM M9
    • Target Version/s:
    • Rank:
      1|hzsp1r:

      Description

      Not possible to install AM14 on Weblogic

      Steps to reproduce

      1.) Default installation of OpenAM 14 on weblogic

      Expected

      • successful installation

      Observed

      Installation stuck after
      12/22/2016 02:22:54:369 PM GMT: Configuring server instance.
      12/22/2016 02:22:54:479 PM GMT: ...Done

      Observed requests during installation = 500 on /openam/config/wizard/wizard.htm?actionLink=createConfig&ie7fix=13

      Weblogic log
      [Click] [error] handleException: java.lang.RuntimeException: Error occurred invoking public method: public boolean com.sun.identity.config.wizard.Wizard.createConfig()
              at org.apache.click.util.ClickUtils.invokeMethod(ClickUtils.java:3335)
              at org.apache.click.util.ClickUtils.invokeListener(ClickUtils.java:2088)
              at org.apache.click.control.AbstractControl$1.onAction(AbstractControl.java:228)
              at org.apache.click.ActionEventDispatcher.fireActionEvent(ActionEventDispatcher.java:259)
              at org.apache.click.ActionEventDispatcher.fireActionEvents(ActionEventDispatcher.java:236)
              at org.apache.click.ActionEventDispatcher.fireActionEvents(ActionEventDispatcher.java:180)
              at org.apache.click.ClickServlet.performOnProcess(ClickServlet.java:746)
              at org.apache.click.ClickServlet.processAjaxPageEvents(ClickServlet.java:1860)
              at org.apache.click.ClickServlet.processPage(ClickServlet.java:559)
              at org.apache.click.ClickServlet.handleRequest(ClickServlet.java:383)
              at org.apache.click.ClickServlet.doGet(ClickServlet.java:276)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
              at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
              at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
              at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
              at org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:88)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
              at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:123)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
              at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
              at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
              at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
              at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
              at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
              at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
              at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
      Caused by: java.lang.NoSuchMethodError: org.bouncycastle.util.Strings.lineSeparator()Ljava/lang/String;
              at org.bouncycastle.util.io.pem.PemWriter.<init>(Unknown Source)
              at org.bouncycastle.openssl.jcajce.JcaPEMWriter.<init>(Unknown Source)
              at org.forgerock.openam.authentication.modules.amster.AuthorizedKeyConfiguratorPlugin.writePrivateKey(AuthorizedKeyConfiguratorPlugin.java:91)
              at org.forgerock.openam.authentication.modules.amster.AuthorizedKeyConfiguratorPlugin.createLocalAmsterKey(AuthorizedKeyConfiguratorPlugin.java:81)
              at org.forgerock.openam.authentication.modules.amster.AuthorizedKeyConfiguratorPlugin.doPostConfiguration(AuthorizedKeyConfiguratorPlugin.java:67)
              at com.sun.identity.setup.AMSetupServlet.handlePostPlugins(AMSetupServlet.java:972)
              at com.sun.identity.setup.AMSetupServlet.configure(AMSetupServlet.java:894)
              at com.sun.identity.setup.AMSetupServlet.processRequest(AMSetupServlet.java:503)
              at com.sun.identity.config.wizard.Wizard.createConfig(Wizard.java:296)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.click.util.ClickUtils.invokeMethod(ClickUtils.java:3317)
              ... 38 more
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <WebLogicServer> <BEA-000388> <JVM called the WebLogic Server shutdown hook. The server will force shutdown now.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default[3]", listening on fe80:0:0:0:c0f3:7b80:e58d:a6a5:7001, was shut down.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default[6]", listening on 0:0:0:0:0:0:0:1:7001, was shut down.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default[5]", listening on 127.0.0.1:7001, was shut down.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default[4]", listening on fe80:0:0:0:1c3c:1b7b:a631:2a5d:7001, was shut down.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default[1]", listening on 2001:0:5ef5:79fb:1c3c:1b7b:a631:2a5d:7001, was shut down.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default", listening on 10.1.2.66:7001, was shut down.>
      <Dec 22, 2016 3:19:15 PM GMT> <Notice> <Server> <BEA-002607> <Channel "Default[2]", listening on fe80:0:0:0:0:5efe:a01:242:7001, was shut down.>
      <Dec 22, 2016 3:19:16 PM GMT> <Error> <HTTP> <BEA-101267> <Failed while destroying filter: XUIFilter.
      java.lang.ExceptionInInitializerError
              at org.forgerock.openam.xui.XUIState.destroy(XUIState.java:109)
              at org.forgerock.openam.xui.XUIFilter.destroy(XUIFilter.java:128)
              at weblogic.servlet.internal.FilterManager$FilterDestroyAction.run(FilterManager.java:390)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
              Truncated. see log file for complete stacktrace
      Caused By: java.lang.IllegalStateException: Could not get iPlanetAMAuthService
              at org.forgerock.openam.xui.XUIState$XUIMode.<init>(XUIState.java:55)
              at org.forgerock.openam.xui.XUIState$XUIMode.<clinit>(XUIState.java:36)
              at org.forgerock.openam.xui.XUIState.destroy(XUIState.java:109)
              at org.forgerock.openam.xui.XUIFilter.destroy(XUIFilter.java:128)
              at weblogic.servlet.internal.FilterManager$FilterDestroyAction.run(FilterManager.java:390)
              Truncated. see log file for complete stacktrace
      Caused By: Message:Connection to the server could not be established: Connection to the server could not be established
      
              at com.sun.identity.sm.ldap.SMSLdapObject.getConnection(SMSLdapObject.java:578)
              at com.sun.identity.sm.ldap.SMSLdapObject.read(SMSLdapObject.java:274)
              at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:699)
              at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:676)
              at com.sun.identity.sm.SMSEntry.<init>(SMSEntry.java:469)
              Truncated. see log file for complete stacktrace
      
      Configuration log
      amSMSEvent:12/22/2016 02:22:54:448 PM GMT: Thread[smIdmThreadPool,5,Pooled Threads]: TransactionId[ba70d7fc-5543-487c-8072-77ac49046aae-11]
      ERROR: ServiceConfigManagerImpl(:iPlanetAMPlatformService) notifyGlobalConfigChange Error sending notification to ServiceListener: com.sun.identity.common.configuration.ConfigurationObserver
      java.lang.NullPointerException
      	at java.util.Hashtable.putAll(Hashtable.java:522)
      	at com.iplanet.am.util.SystemProperties.initializeProperties(SystemProperties.java:504)
      	at com.sun.identity.common.configuration.ConfigurationObserver.globalConfigChanged(ConfigurationObserver.java:148)
      	at com.sun.identity.sm.ServiceConfigManagerImpl.notifyGlobalConfigChange(ServiceConfigManagerImpl.java:484)
      	at com.sun.identity.sm.ServiceConfigManagerImpl.objectChanged(ServiceConfigManagerImpl.java:456)
      	at com.sun.identity.sm.SMSNotificationManager.sendNotifications(SMSNotificationManager.java:294)
      	at com.sun.identity.sm.SMSNotificationManager$LocalChangeNotifcationTask.run(SMSNotificationManager.java:370)
      	at org.forgerock.openam.audit.context.AuditRequestContextPropagatingRunnable.run(AuditRequestContextPropagatingRunnable.java:42)
      	at com.iplanet.am.util.ThreadPool$WorkerThread.run(ThreadPool.java:314)
      

      No errors in install log

      I am not able to reproduce it with M8 here is response from AM M8:

        Attachments

          Activity

            People

            Assignee:
            ram.anaswara Ramnishath Anaswara [X] (Inactive)
            Reporter:
            richard.hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: