Why OGG Monitor Agent 12.1.3 on z/OS crashes immediately after start with "Error in decrypting password " type errors? (Doc ID 1951168.1)

Last updated on DECEMBER 04, 2014

Applies to:

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

Goal

Why OGG Monitor Agent 12.1.3 on z/OS crashes immediately after start with the following errors?

ogg_agent.log
--------------------
[2014-10-28T15:23:40.952+00:00] [JAGENT] [NOTIFICATION] [OGGMON-20029] [com.goldengate.monitor.jagent.config.impl.AgentInfoImpl] [tid: main] [ecid: 0000K_NMRRe2zGYVLqnJ8A1KJvId000001,0] Reading Manager port 7809 from mgr.prm file.
[2014-10-28T15:23:58.052+00:00] [JAGENT] [NOTIFICATION] [OGGMON-20247] [com.goldengate.monitor.jagent.JAgentWSMain] [tid: main] [ecid: 0000K_NMRRe2zGYVLqnJ8A1KJvId000001,0] Error Initializing JAgent. JAgent will not be initialized and about to return. , [[
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentBootstrapper': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentInfo': Invocation of init method failed; nested exception is java.lang.Exception: Exception in decryption ###extra data given to DerValue constructor
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:306)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:83)
at com.goldengate.monitor.jagent.JAgentWSMain.initContext(JAgentWSMain.java:142)
at com.goldengate.monitor.jagent.JAgentWSMain.main(JAgentWSMain.java:99)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentInfo': Invocation of init method failed; nested exception is java.lang.Exception: Exception in decryption ###extra data given to DerValue constructor
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:135)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)

----------------------
jagent.rpt
-----------------------------------------------
2014-10-28 15:20:52 INFO OGG-00978 GGCMD JAGENT is running.

2014-10-28 15:20:53 INFO OGG-01927 Child process started, process ID 67110213, command line 'java -Dconfig.dir=/u/ggs/agent/agent2/cfg -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=/u/ggs/agent/agent2/cfg/logging-config.xml -Doracle.core.ojdl.logging.componentId=JAGENT -jar -Xms512m -Xmx1024m /u/ggs/agent/ogg_agent-zos/dirjar/jagent.jar'.
log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
Error in decrypting password for user AGENT.CM.JMX.PASSWORD
Exception :
extra data given to DerValue constructor
java.io.IOException: extra data given to DerValue constructor
 

Solution

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