Jagent Fails With Unexpected Behavior No Agent Object Found JAgent Will Exit

(Doc ID 2320529.1)

Last updated on OCTOBER 27, 2017

Applies to:

Management Pack for Oracle GoldenGate - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Golden Gate Version: 12.3.x
OGG Monitor Agent Version: 12.2.x

While configuring OGG Monitor following errors are reported in ogg_jagent.log:

[2017-10-06T15:31:52.552+13:00] [JAGENT] [ERROR] [OGGMON-20352] [com.goldengate.monitor.jagent.comm.impl.ManagerFacadeImpl] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] Instance List returned from JNI call is null
[2017-10-06T15:31:52.553+13:00] [JAGENT] [ERROR] [OGGMON-20260] [com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] Unexpected behavior, no agent object found! JAgent will exit!
[2017-10-06T15:31:57.553+13:00] [JAGENT] [TRACE] [OGGMON-20297] [com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] [SRC_CLASS: com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [SRC_METHOD: createMBeans] Inside createMBeans
[2017-10-06T15:31:57.553+13:00] [JAGENT] [TRACE] [OGGMON-20374] [com.goldengate.monitor.jagent.comm.ws.ManagerWSAdapter] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] [SRC_CLASS: com.goldengate.monitor.jagent.comm.ws.ManagerWSAdapter] [SRC_METHOD: getInstanceInfoNative] +getInstanceInfo()
[2017-10-06T15:31:57.555+13:00] [JAGENT] [ERROR] [OGGMON-20366] [com.goldengate.monitor.jagent.comm.ws.ManagerWSAdapter] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] Could not get WSInstance Information , [[
com.goldengate.monitor.model.AgentCommunicationException: Failed to get Registry.
at com.goldengate.monitor.jagent.comm.ws.ManagerWSApi.getInstanceInfo(ManagerWSApi.java:239)
at com.goldengate.monitor.jagent.comm.ws.ManagerWSAdapter.getInstanceInfoNative(ManagerWSAdapter.java:105)
at com.goldengate.monitor.jagent.comm.impl.ManagerFacadeImpl.fillInstanceMap(ManagerFacadeImpl.java:259)
at com.goldengate.monitor.jagent.comm.impl.ManagerFacadeImpl.getInstances(ManagerFacadeImpl.java:253)
at com.goldengate.monitor.jagent.jmx.MBeansContainerImpl.createMBeans(MBeansContainerImpl.java:344)
at com.goldengate.monitor.jagent.jmx.MBeansContainerImpl$1.run(MBeansContainerImpl.java:836)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: source parameter must not be null
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
at com.sun.xml.internal.ws.message.AbstractMessageImpl.readPayloadAsJAXB(Unknown Source)
at com.sun.xml.internal.ws.api.message.MessageWrapper.readPayloadAsJAXB(Unknown Source)
at com.sun.xml.internal.ws.client.dispatch.JAXBDispatch.toReturnValue(Unknown Source)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(Unknown Source)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(Unknown Source)
at com.goldengate.monitor.jagent.comm.ws.ManagerService.getRegistry(ManagerService.java:267)
at com.goldengate.monitor.jagent.comm.ws.ManagerWSApi.getInstanceInfo(ManagerWSApi.java:230)
... 6 more

]]
[2017-10-06T15:31:57.555+13:00] [JAGENT] [ERROR] [OGGMON-20352] [com.goldengate.monitor.jagent.comm.impl.ManagerFacadeImpl] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] Instance List returned from JNI call is null
[2017-10-06T15:31:57.555+13:00] [JAGENT] [ERROR] [OGGMON-20260] [com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid: getInstanceList] [ecid: 0000LvjX_T74ioVqy0mZMG1PpigL000003,0] Unexpected behavior, no agent object found! JAgent will exit!

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms