AnsweredAssumed Answered

Broker Agent issue

Question asked by Relbou on Dec 15, 2016
Latest reply on Jan 13, 2017 by norre01

Hello,

 

I try to start a java agent:

 

-javaagent:"D:\opt\CA\DevTest\DevTest-8.4\agent\LisaAgent2.jar=url=tcp://XX.XX.XX.XX:2009,name=JBtest2"

 

it's started:

There is no rules.properties and rules.xml file. No custom rules loaded.
No custom rules loaded from D:\opt\CA\DevTest\DevTest-8.4\agent\rules.xml
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:28:59 CET 2016] Command line: java -Dfile.encoding=Cp1252 -Xmx123m -javaagent:D:\opt\CA\DevTest\DevTest-8.4\agent\LisaAgent2.jar=url=tcp://XX.XX.XX.XX:2009,name=JBtest2 -classpath "D:\DevtestProject\ca-devtest\test_agent_java_sv\bin;D:\opt\CA\DevTest\DevTest-8.4\agent\LisaAgent2.jar" null
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:28:59 CET 2016] Agent Log Path: D:\opt\CA\DevTest\DevTest-8.4\agent\devtest_agent_5732.log
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:28:59 CET 2016] Logging to system out: true
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:28:59 CET 2016] Starting Agent (8.4.0.226)...
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] Broker Connection: tcp://XX.XX.XX.XX:2009
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] Connection to tcp://XX.XX.XX.XX:2009?daemon=true established...
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** Started DevTest Agent
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** Version : 8.4.0.226 [0.0.0.0][5.3.1.2]
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** Name : JBtest2 (-1044428888)
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** OS : Windows 7 6.1 (amd64)
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** VM Version : 1.8.0_51 (25.51-b03)
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** VM Name : 5732@XXXXXXX (Java HotSpot(TM) 64-Bit Server VM)
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** User Dir : D:\DevtestProject\ca-devtest\test_agent_java_sv
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** Agent Dir : D:\opt\CA\DevTest\DevTest-8.4\agent
[DevTest AGENT:A][INFO][5732][1][main][Thu Dec 15 17:29:00 CET 2016] *** PID : 5732
[DevTest AGENT:A][INFO][5732][1][main][12/15 17:29:00 (684)] setMainAndArgs - Main class :test_agent_java_sv.test
[DevTest AGENT:A][INFO][5732][1][main][12/15 17:29:00 (694)] *** FCmd Line : java -Dfile.encoding=Cp1252 -Xmx123m -javaagent:D:\opt\CA\DevTest\DevTest-8.4\agent\LisaAgent2.jar=url=tcp://XX.XX.XX.XX:2009,name=JBtest2 -classpath "D:\DevtestProject\ca-devtest\test_agent_java_sv\bin;D:\opt\CA\DevTest\DevTest-8.4\agent\LisaAgent2.jar" test_agent_java_sv.test
Retrieve rules from broker with request: return RulesHandler.getAgentRules(-1044428888, true);
[DevTest AGENT:A][INFO][5732][27][Stats Gathering Thread][12/15 17:29:03 (713)] Starting Dispatching...

 

in the log in the broker/registry server, in the file log devtest_agent_20753.log:

 

[DevTest AGENT:C][WARN][20753][159][Agent Info Notifier][Dec 13, 2016 5:08:36 PM] Could not establish connection to Agent broker at tcp://localhost:2009?daemon=true
[DevTest AGENT:C][WARN][20753][159][Agent Info Notifier][Dec 13, 2016 5:08:48 PM] Could not establish connection to Agent broker at tcp://localhost:2009?daemon=true
[DevTest AGENT:C][WARN][20753][159][Agent Info Notifier][Dec 13, 2016 5:08:59 PM] Could not establish connection to Agent broker at tcp://localhost:2009?daemon=true
[DevTest AGENT:C][WARN][20753][159][Agent Info Notifier][Dec 13, 2016 5:09:10 PM] Could not establish connection to Agent broker at tcp://localhost:2009?daemon=true

 

[DevTest AGENT:C][WARN][20753][825922][qtp988912710-825922][Dec 14, 2016 3:20:19 PM] Broker access failed (com.itko.lisa.remote.plumbing.JMSInvocationException: Cannot reach broker at ssl://localhost:2009?daemon=true). Falling back on direct DB access...
[DevTest AGENT:C][WARN][20753][821021][qtp988912710-821021][Dec 14, 2016 3:21:15 PM] Broker access failed (com.itko.lisa.remote.plumbing.JMSInvocationException: Cannot reach broker at ssl://localhost:2009?daemon=true). Falling back on direct DB access...
[DevTest AGENT:C][WARN][20753][821021][qtp988912710-821021][Dec 14, 2016 3:21:15 PM] Broker access failed (com.itko.lisa.remote.plumbing.JMSInvocationException: Cannot reach broker at ssl://localhost:2009?daemon=true). Falling back on direct DB access...

 

I don't understand Why I have this message.

 

The agent is visible and in the data base but not running....

 

TY for your help

Outcomes