Friday, January 29, 2016

Error Initializing JAgent. JAgent will not be initialized and about to return in AIX

Error Initializing JAgent. JAgent will not be initialized and about to return in AIX 


Problem:

2016-01-xx 03:02:59 [main] INFO  JAgentWSMain - About to call initialize on the WebService

2016-01-xx 03:02:59 [main] INFO  JAgentWSMain - Loading agent-spring-ws.xml ###############

2016-01-xx 03:03:00 [main] INFO  AgentInfoImpl - Using IP address 00.00.00.00 to connect to the Manager Web Service

2016-01-xx 03:03:00 [main] INFO  AgentInfoImpl - Reading Manager port 8830 from mgr.prm file.

2016-01-xx 03:03:01 [main] INFO  AgentInfoImpl - OEM Enabled ######

2016-01-xx 03:03:01 [main] INFO  JAgentWSMain - 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 java.lang.NoClassDefFoundError: javax.xml.bind.JAXBException

        at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:297)


Solution:

cd OGG_HOME

echo $JAVA_HOME

export JAVA_HOME=/usr/java/java71_64

export PATH=$JAVA_HOME/bin:$PATH

./ggsci



info all

stop extract *

stop replicat *

stop jagent

stop mgr

start mgr

start jagent

start extract *

start replicat *
 
info all



Program     Status      Group       Lag at Chkpt  Time Since Chkpt



MANAGER     RUNNING

JAGENT      RUNNING

 

No comments:

Post a Comment