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

Monitoring services unable to connect to Port

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 6.0.0, 5.5.2
    • Component/s: monitoring
    • Labels:
    • Sprint:
      AM Sustaining Sprint 47
    • Needs backport:
      Yes
    • Support Ticket IDs:
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      Monitoring services are unable to connect to ports in AM 5.5.1 not allowing users to use the service

      How to reproduce the issue

      1. Install AM 5.5.1
      2. Enable all Monitoring Status through Monitoring service. Enable HTTP interface status, enable RMI interface status, enable SNMP interface status
      3. Save and restart OpenAM
      Expected behaviour
      OpenAM should be able to monitor activity through these ports
      Current behaviour
      Ports are unable to be accessed resulting in:
      
      ERROR: Failed to start monitoring adapters - ignoring
      com.sun.identity.monitoring.MonitoringStartupException: No Monitoring interfaces started; monitoring disabled.
      at com.sun.identity.monitoring.MonitoringAdapters.<init>(MonitoringAdapters.java:231)
      at com.sun.identity.monitoring.MonitoringManager$MonitoringProvider.startMonitoringAdapters(MonitoringManager.java:93)
      at com.sun.identity.monitoring.MonitoringManager$NoopMonitoringProvider.startMonitoring(MonitoringManager.java:134)
      at com.sun.identity.monitoring.MonitoringManager.startMonitoring(MonitoringManager.java:58)
      at com.sun.identity.common.MonitoringConfigurator.init(MonitoringConfigurator.java:63)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4931)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5241)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
      at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)

      Work around

      Process:

      1. Downloaded DS 5.5.0.zip from backstage downloads.
      2. Extract the zip into a temporary folder, e.g. <user downloads folder>/dj-5.5.0.
      3. Run the extractor for the OpenDMK library (this launches a UI so its easier to run this on a local machine rather than via SSH connection to a server that has AM installed and using X11 forwarding).  
        • cd <user downloads folder>/dj-5.5.0
        • java -jar snmp/opendmk.jar
        • Reviewed and accepted the licence.
        • Chose to install to <user downloads folder>/opendmk.
      4. Installed the extracted jdmkrt.jar on the relevant AM servers.
        • Stop AM server
        • Copy the extracted jdmkrt.jar (This is located around /opendmk/OpenDMK-bin/lib/jdmkrt.jar) to the AM lib folder cp <path/to/openam.war>/WEB-INF/lib . .
        • Start AM server

       

       

        Attachments

          Activity

            People

            • Assignee:
              lawrence.yarham Lawrence Yarham
              Reporter:
              abel.hoxeng Abel Hoxeng
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: