Topic
1 reply Latest Post - ‏2012-08-13T08:25:21Z by rkibm
rkibm
rkibm
2 Posts
ACCEPTED ANSWER

Pinned topic MDM 9.0.2 Management Agent is not starting up

‏2012-08-08T07:42:31Z |
Hi Everybody,

I am facing issues with Management Agent Utility thatis packed with the MDM Infosphere 9.0.2 binaries.
I am using this utility to load data into following MDM database tables:

• configelement
• appsoftware
• appdeployment

I have updated all its properties files with the required parameteres and it has be configured for default port 9999. When I run the mdm/ManagmentAgent/StartAgent.sh it shows below successful startup message:
WARN - Warn_ManagementAgent_ProcessId: CDKMA2021W:ManagementAgent Process ID: 14744@gbrdsr000000024
The MBean was registered successfully. MBean: DWL:type=com.dwl.management.agent.mbean.AgentMBean
The MBean was registered successfully. MBean: DWL:type=com.dwl.management.agent.mbean.ConfigurationMBean
The MBean was registered successfully. MBean: DWL:type=Timer,usage=ConsoleSessionTimeout
The management agent has started.
Though the above message indicates that the Agent has started up successfully, but cannot find the agent running on port 9999. To validate this i have telnet to port 9999 and no process seems to running on this port. I have enabled debug logging for this utility and could see below log.

2012-08-08 05:27:09,321 DEBUG - RETURN com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 05:57:09,612 DEBUG - Check for expired console sessions and remove them.
2012-08-08 05:57:09,626 DEBUG - ENTER com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 05:57:09,626 DEBUG - RETURN com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 06:27:09,918 DEBUG - Check for expired console sessions and remove them.
2012-08-08 06:27:09,921 DEBUG - ENTER com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 06:27:09,921 DEBUG - RETURN com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 06:57:10,213 DEBUG - Check for expired console sessions and remove them.
2012-08-08 06:57:10,219 DEBUG - ENTER com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 06:57:10,219 DEBUG - RETURN com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 07:27:10,512 DEBUG - Check for expired console sessions and remove them.
2012-08-08 07:27:10,541 DEBUG - ENTER com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 07:27:10,542 DEBUG - RETURN com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 07:49:41,498 WARN - Warn_ManagementAgent_ProcessId: CDKMA2021W:ManagementAgent Process ID: 14744@gbrdsr000000024
2012-08-08 07:49:41,522 DEBUG - ENTER com.dwl.management.util.ManagementUtil constructMBeanObjectName DWL:type=com.dwl.management.agent.mbean.AgentMBean
2012-08-08 07:49:41,523 DEBUG - RETURN com.dwl.management.util.ManagementUtil constructMBeanObjectName DWL:type=com.dwl.management.agent.mbean.AgentMBean
2012-08-08 07:49:41,523 DEBUG - ENTER com.dwl.management.util.ManagementUtil constructMBeanObjectName DWL:type=com.dwl.management.agent.mbean.ConfigurationMBean
2012-08-08 07:49:41,523 DEBUG - RETURN com.dwl.management.util.ManagementUtil constructMBeanObjectName DWL:type=com.dwl.management.agent.mbean.ConfigurationMBean
2012-08-08 07:49:41,715 INFO - Info_ManagementAgent_RegisterSuccessful: The MBean was registered successfully. MBean: DWL:type=com.dwl.management.agent.mbean.AgentMBean
2012-08-08 07:49:41,721 INFO - Info_ManagementAgent_RegisterSuccessful: The MBean was registered successfully. MBean: DWL:type=com.dwl.management.agent.mbean.ConfigurationMBean
2012-08-08 07:49:41,733 DEBUG - ENTER com.dwl.management.util.ManagementUtil constructMBeanObjectName DWL:type=Timer,usage=ConsoleSessionTimeout
2012-08-08 07:49:41,733 DEBUG - RETURN com.dwl.management.util.ManagementUtil constructMBeanObjectName DWL:type=Timer,usage=ConsoleSessionTimeout
2012-08-08 07:49:41,738 INFO - Info_ManagementAgent_RegisterSuccessful: The MBean was registered successfully. MBean: DWL:type=Timer,usage=ConsoleSessionTimeout
2012-08-08 07:49:41,741 INFO - Info_ManagementAgent_AgentStarted: The management agent has started.
2012-08-08 08:19:42,033 DEBUG - Check for expired console sessions and remove them.
2012-08-08 08:19:42,034 DEBUG - ENTER com.dwl.management.agent.mbean.Configuration handleNotification
2012-08-08 08:19:42,034 DEBUG - RETURN com.dwl.management.agent.mbean.Configuration handleNotification
Finally when I run the Console.sh script under mdm/ManagementConsole/ it fails with below error because Management Agent is not runing on port 9999:

$ ./console.sh -file scripts/jacl/deployAppConfig.jacl DWLcustomer ../installableApps/MDM.ear
WARN - ManagementConsole Process ID: 12784@gbrdsr000000024

Configuration and Management Console
Connecting to the management agent on: localhost Port: 9999
WARN - An IO exception occured when connecting to the MBeanServer java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
An error occurred during the initialization of the console session.
Check the log for more details.
ERROR - com.dwl.management.ManagementException: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused] com.dwl.management.ManagementException: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]

Can Anyone Please enlighten me whats wrong with Managemen Agent and why its not running on port 9999 though it shows its up int the logs.

Thank You in Advance.
Regards,
RK
Updated on 2012-08-13T08:25:21Z at 2012-08-13T08:25:21Z by rkibm
  • rkibm
    rkibm
    2 Posts
    ACCEPTED ANSWER

    Re: MDM 9.0.2 Management Agent is not starting up

    ‏2012-08-13T08:25:21Z  in response to rkibm
    With some research I could update the bootstrap.properties and runAgent.sh with our environment specific values. And now getting below error while executing runAgent.sh

    $ startAgent.sh testuser password
    The WAS security is enabled.
    WARN - Warn_ManagementAgent_ProcessId: CDKMA2021W:ManagementAgent Process ID: 18209@gbrdsr000000024
    ERROR - Error_ManagementAgent_ManagementAgentShutDown: CDKMA2005E:The management agent has encountered a severe problem and has been shut down.java.lang.ExceptionInInitializerError
    Can anyone advice Whats wrong here and also let me know, How do I enable detail logging for this error.