Hi,
this is a fresh installation in virtual box.
fmw infrastructure 12.2.1.2
monitor 12.2.1.2
ogg 12.2.
jdk 1.8.0.121
when creating password for JMX user , getting this Exception
OGG MANAGER and JAGENT are running
JAGENT logs are given below
MONITOR doesn't show any ogg instance.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[oracle@oggst ogg_agent_amer]$ cd /u02/ogg_agent_amer/bin/
[oracle@oggst bin]$ ./pw_agent_util.sh -create
Please create a password for Java Agent:
Please confirm password for Java Agent:
Please enter Monitor Server JMX password:
Please confirm Monitor Server JMX password:
Mar 20, 2017 4:44:41 PM oracle.security.jps.JpsStartup start
INFO: Jps initializing.
Mar 20, 2017 4:44:42 PM oracle.security.jps.JpsStartup start
INFO: Jps started.
Exception in thread "main" java.lang.NullPointerException
at com.goldengate.wallet.WalletHelper.putCredential(WalletHelper.java:227)
at com.goldengate.monitor.jagent.security.PWAgentUtil.main(PWAgentUtil.java:130)
[oracle@oggst bin]$
>>>>>>>>>>>> jagent log message
[2017-03-20T16:46:45.899+03:00] [JAGENT] [ERROR] [OGGMON-20604] [com.goldengate.monitor.jagent.config.impl.CmDelegateImpl] [tid: agentRegistration] [ecid: 0000LffxyCw3v1WjLxmJOA1Onxob000001,0] Error encrypting Agent JMX Password. Exception: null
[2017-03-20T16:46:45.907+03:00] [JAGENT] [ERROR] [OGGMON-20269] [com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid: agentRegistration] [ecid: 0000LffxyCw3v1WjLxmJOA1Onxob000001,0] com.goldengate.monitor.MonitorException[[
at com.goldengate.monitor.jagent.config.impl.CmDelegateImpl.encryptAgentJmxPassword(CmDelegateImpl.java:192)
at com.goldengate.monitor.jagent.config.impl.CmDelegateImpl.initJmxObjects(CmDelegateImpl.java:158)
at com.goldengate.monitor.jagent.config.impl.CmDelegateImpl.register(CmDelegateImpl.java:80)
at com.goldengate.monitor.jagent.jmx.MBeansContainerImpl$2.run(MBeansContainerImpl.java:1614)
at java.lang.Thread.run(Thread.java:745)
]]
[2017-03-20T16:46:45.907+03:00] [JAGENT] [ERROR] [OGGMON-20270] [com.goldengate.monitor.jagent.jmx.MBeansContainerImpl] [tid: agentRegistration] [ecid: 0000LffxyCw3v1WjLxmJOA1Onxob000001,0] Please perform the following steps to fix the problem if it still occurs: [[
1. Restart JAgent (Stop and Start JAgent again).
2. If problem still persists after step 1, please restart Monitor Server.
]]
------------------------------------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> JAGENT and MONITOR are running
***********************************************************************
** Run Time Messages **
***********************************************************************
2017-03-20 16:46:05 INFO OGG-00978 GGCMD JAGENT is running.
2017-03-20 16:46:05 INFO OGG-01927 Child process started, process ID 17500, command line 'java -Dconfig.dir=/u02/ogg_agent_amer/c
fg -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=/u02/ogg_agen
t_amer/cfg/logging-config.xml -Doracle.core.ojdl.logging.componentId=JAGENT -jar -Xms512m -Xmx1024m /u02/middleware12c/ogg_mon/oggmon/
ogg_agent/dirjar/jagent.jar'.
GGSCI (oggst.ansaridba.com) 3>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
weblog AdminServer messages
<Mar 20, 2017, 5:28:04,290 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Stopping the existing thread that is connecting to the server>
<Mar 20, 2017, 5:28:04,290 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : stopped the existing thread that is connecting to the server>
<Mar 20, 2017, 5:28:04,290 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Cleaning up disconnected server>
<Mar 20, 2017, 5:28:04,877 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=All Servers : Resolving connection list DomainRuntimeServiceMBean>
<Mar 20, 2017, 5:28:04,878 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Exception in runtime resolve proxy adding the server name in attempt reconnection>
<Mar 20, 2017, 5:28:04,879 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Calling attemptReconnection in DomainRuntimeServiceMBean>
<Mar 20, 2017, 5:28:04,881 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Attempting reconnection>
<Mar 20, 2017, 5:28:04,884 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Starting JMX connection. forceReconnect value: true>
<Mar 20, 2017, 5:28:04,889 PM AST> <Warning> <JMX> <BEA-149504> <The Administration Server was unable to establish JMX Connectivity with the MONITORSERVER_server1 at the JMX Service URL of service:jmx:t3://192.168.56.71:7003/jndi/weblogic.management.mbeanservers.runtime.>
<Mar 20, 2017, 5:28:04,891 PM AST> <Warning> <JMX> <BEA-149535> <JMX Resiliency Activity Server=MONITORSERVER_server1 : Removing MBeanServerConnection in DomainRuntimeServiceMBean>
<Mar 20, 2017, 5:28:04,892 PM AST> <Warning> <JMX> <BEA-149507> <JMX Connectivity has been discontinued with the Managed Server MONITORSERVER_server1.>
SOLUTION APPLIED:
1.
cd /u02/middleware12c/ogg_mon/wlserver/commin/bin
./wlst.sh
connect('weblogic','Welcome1')
updateCred(map='OGGMONITOR',
key='WEB.JMX.PASSWORD',
user='oracle',
password='Welcome1',
desc='JMX Password')
2.
Delete Jagent logs
Recreate Datastore
Restart Monitor Server
Restart local Jagent