- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Machine Agent looping at Sending Registration request

I am testing AppDynamics and I can't get the agent to communicate with the controller. It keeps looping at Sending Registration Information. How do I get this working?
I run it with the command:
java -Dappdynamics.http.proxyHost=172.16.1.9 -Dappdynamics.http.proxyPort=8080 -Dappdynamics.http.proxyUser="xxx\xxxxxxx" -Dappdynamics.http.proxyPasswordFile="C:\MachineAgent\pwd.txt" -jar "C:\MachineAgent-3.9.4.0\machineagent.jar"
My Logs:
[main] 20 Nov 2014 13:14:34,592 INFO SystemAgent - ####################################################################################
[main] 20 Nov 2014 13:14:34,592 INFO SystemAgent - Agent Install Directory [C:\MachineAgent]
[main] 20 Nov 2014 13:14:34,592 INFO SystemAgent - Using Agent Version [Machine Agent v3.9.4.0 GA Build Date 2014-10-10 00:24:04]
[main] 20 Nov 2014 13:14:34,593 INFO SystemAgent - JVM Runtime:
java.home=C:\Program Files (x86)\Java\jre1.8.0_25
java.vm.vendor=Oracle Corporation
java.vm.name=Java HotSpot(TM) Client VM
java.runtime.version=1.8.0_25-b18
java.io.tmpdir=C:\Users\\AppData\Local\Temp\
[main] 20 Nov 2014 13:14:34,594 INFO SystemAgent - OS Runtime:
os.name=Windows Server 2012 R2
os.arch=x86
os.version=6.3
user.name=
user.home=C:\Users\
user.dir=C:\Program Files (x86)\Java\jre1.8.0_25\bin
[main] 20 Nov 2014 13:14:34,596 INFO SystemAgent - JVM Args : -Dappdynamics.http.proxyHost=172.16.1.9 | -Dappdynamics.http.proxyPort=8080 | -Dappdynamics.http.proxyUser= | -Dappdynamics.http.proxyPasswordFile=C:\MachineAgent\pwd.txt |
[main] 20 Nov 2014 13:14:34,604 INFO SystemAgent - JVM Runtime Name: 2708@MelVMM01
[main] 20 Nov 2014 13:14:34,605 INFO SystemAgent - JVM PID: 2708
[main] 20 Nov 2014 13:14:34,605 INFO SystemAgent - Machine Agent is resolving bootstrap info....
[main] 20 Nov 2014 13:14:34,609 INFO SystemAgent - Default Host Identifier Resolver using host name for unique host identifier [MelVMM01]
[main] 20 Nov 2014 13:14:34,646 INFO SystemAgent - Default IP Address Resolver found IP addresses [[172.16.1.41, fe80:0:0:0:20f8:af93:146d:a823%eth4, fe80:0:0:0:0:5efe:ac10:129%net4]]
[main] 20 Nov 2014 13:14:34,649 INFO SystemAgent - Full Agent Registration Info Resolver using application name [SCVMM]
[main] 20 Nov 2014 13:14:34,649 INFO SystemAgent - Full Agent Registration Info Resolver using tier name [Management]
[main] 20 Nov 2014 13:14:34,649 INFO SystemAgent - Full Agent Registration Info Resolver using node name [unknown]
[main] 20 Nov 2014 13:14:34,655 INFO SystemAgent - XML Controller Info Resolver using controller host [paid51.saas.appdynamics.com]
[main] 20 Nov 2014 13:14:34,655 INFO SystemAgent - XML Controller Info Resolver using controller port [443]
[main] 20 Nov 2014 13:14:34,657 INFO SystemAgent - XML Controller Info Resolver found valid config [Controller Host: paid51.saas.appdynamics.com; Controller Port: 443; ssl-enabled: true]
[main] 20 Nov 2014 13:14:34,659 INFO SystemAgent - XML Agent Account Info Resolver using account name []
[main] 20 Nov 2014 13:14:34,659 INFO SystemAgent - XML Agent Account Info Resolver using account access key []
[main] 20 Nov 2014 13:14:34,662 INFO SystemAgent - Keystore file C:\MachineAgent\conf\cacerts.jks was not found
[main] 20 Nov 2014 13:14:34,709 INFO SystemAgent - Using proxy settings [172.16.1.9:8080]
[main] 20 Nov 2014 13:14:34,711 INFO SystemAgent - Using proxy authentication with user [\]
[main] 20 Nov 2014 13:14:34,727 INFO SystemAgent - Using proxy authentication with user [\]
[main] 20 Nov 2014 13:14:34,728 INFO SystemAgent - Trying secure protocol:TLSv1.2
[main] 20 Nov 2014 13:14:34,885 INFO SystemAgent - Machine Agent resolved bootstrap info!
[main] 20 Nov 2014 13:14:34,886 INFO SystemAgent - Creating machine agent scheduler, pool size: 2
[main] 20 Nov 2014 13:14:34,911 INFO SystemAgent - Creating machine agent monitor scheduler, pool size: 4
[main] 20 Nov 2014 13:14:34,913 INFO SystemAgent - Started Agent Schedulers
[main] 20 Nov 2014 13:14:34,913 INFO SystemAgent - Scheduling Machine Agent Registration ....
[Agent-Scheduler-1] 20 Nov 2014 13:14:34,923 INFO RegistrationChannel - using controller host [paid51.saas.appdynamics.com]; controller port [443]
[Agent-Scheduler-1] 20 Nov 2014 13:14:34,932 INFO RegistrationChannel - setting unique host information Host Name [MelVMM01]
[Agent-Scheduler-1] 20 Nov 2014 13:14:34,932 INFO RegistrationChannel - setting agent version [Machine Agent v3.9.4.0 GA Build Date 2014-10-10 00:24:04]
[Agent-Scheduler-1] 20 Nov 2014 13:14:34,932 INFO RegistrationChannel - setting agent install dir [C:\MachineAgent]
[Agent-Scheduler-1] 20 Nov 2014 13:14:34,932 INFO RegistrationChannel - setting agent type [MACHINE_AGENT]
[Agent-Scheduler-1] 20 Nov 2014 13:14:34,933 INFO RegistrationChannel - Sending Registration request
[Agent-Scheduler-1] 20 Nov 2014 13:14:55,090 INFO RegistrationChannel - using controller host [paid51.saas.appdynamics.com]; controller port [443]
[Agent-Scheduler-1] 20 Nov 2014 13:14:55,090 INFO RegistrationChannel - setting unique host information Host Name [MelVMM01]
[Agent-Scheduler-1] 20 Nov 2014 13:14:55,090 INFO RegistrationChannel - setting agent version [Machine Agent v3.9.4.0 GA Build Date 2014-10-10 00:24:04]
[Agent-Scheduler-1] 20 Nov 2014 13:14:55,090 INFO RegistrationChannel - setting agent install dir [C:\MachineAgent]
[Agent-Scheduler-1] 20 Nov 2014 13:14:55,090 INFO RegistrationChannel - setting agent type [MACHINE_AGENT]
[Agent-Scheduler-1] 20 Nov 2014 13:14:55,090 INFO RegistrationChannel - Sending Registration request
[Thread-1] 20 Nov 2014 13:15:06,594 INFO SystemAgent - Stopping Machine Agent....
[Thread-1] 20 Nov 2014 13:15:06,594 INFO SystemAgent - Shutting down scheduler
[Thread-1] 20 Nov 2014 13:15:06,595 INFO SystemAgent - Stopped scheduler
[Thread-1] 20 Nov 2014 13:15:06,595 INFO SystemAgent - Shutting down agent scheduler manager
[Thread-1] 20 Nov 2014 13:15:06,595 INFO SystemAgent - Shutting down agent scheduler manager
[Thread-1] 20 Nov 2014 13:15:06,596 INFO SystemAgent - Machine Agent Stopped!
Thanks.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eric,
Can you please provide account-name and access-key fields in <machineagent_dir>/conf/controller-info.xml file and save the changes and see how it goes after restart ? If issue persists plese send the saas account and machine-agent.log to debug further.
[main] 20 Nov 2014 13:14:34,659 INFO SystemAgent - XML Agent Account Info Resolver using account name []
[main] 20 Nov 2014 13:14:34,659 INFO SystemAgent - XML Agent Account Info Resolver using account access key []
Regards,
Arun
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I removed it when I posted on the forum, but it's there when I run the agent. Machine Agent log is posted above.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Eric,
What is account-name here in machineagent logs, Oor provide the saas URL not paid<id> as there will be multiple controller accounts on that instance, this helps us to assist you faster , Also please send the logs in debug mode , change <logger level="info"/> from info to debug in <machine_dir>/conf/logging/log4j.xml file and send the logs to assist you faster.
Regards,
Arun
