Amazon books

Wednesday, October 23, 2013

GoldenGate JAgent not starting - FIXED!

Trying to start jagent got this error below:

[hostname]/ggshop/bwdhdbpr052/gghome>  java -jar -Xms64m -Xmx512m dirjar/jagent.jar
0    [main] INFO  com.goldengate.monitor.jagent.JAgentWSMain  - About to call initialize on the WebService
997  [main] INFO  com.goldengate.monitor.jagent.config.impl.AgentInfoImpl  - Using IP address 10.3.0.33 to connect to the Manager Web Service
1002 [main] ERROR com.goldengate.monitor.jagent.JAgentWSMain  - Error Initializing JAgent. JAgent will not be initialized and about to return. Exception: 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.NumberFormatException: For input string: "number"
1002 [main] INFO  com.goldengate.monitor.jagent.JAgentWSMain  - JAgentWSMain is about to terminate its operation
1003 [Shutdown Thread.] INFO  com.goldengate.monitor.jagent.JAgentWSMain  - JAgent is about to shutdown.
1004 [Shutdown Thread.] INFO  com.goldengate.monitor.jagent.JAgentWSMain  - JAgent shutdown process is completed successfully.

--Solution
1-Edit mgr.prm file and remove all comments before the line that specify the Manager port:
--Port of Manager -------REMOVE THIS LINE
"port 7809"


Best Regards,
Paulo Portugal

1 comment:

  1. No idea how you figured this out, but it worked perfectly for my issue. Thanks!

    ReplyDelete