hello team,
I am new to APPDynamics and i am using to check the server reponse and other activities.... i downloaded the java agent and did changes as mentioned in catalina.bat file.
What changes needs to be done exactly in controller-info.xml file. I read that if you are giving autonaming as "TRUE", i need not change anything for the appliation name,
I am not sure how to proceed further for the controller download and setup. then how to configure the application which needs to be monitored.....
Could you please help me with these...
Hi Arun,
I did the changes as suggested in the previous post. But still i am not able see any entry for my application.
A folder is created with the node name mentioned in controller-info.xml.
i am attaching the log file of the same. please let me knowhow to see the application in controller
Regards,
chandrakala
Hi,
- Can you access URL https://mycompany202.saas.appdynamics.com:443/controller/rest/applications in browser from physcical host/ip GCOTDVMSW790318 / 169.172.141.137 and confirm whehter you can access it fine, Also send the controller-info.xml file at path C:\AppServerAgent-ibm-4.0.0.0\ver4.0.0.0\conf\controller-info.xml
- We see some firewal rule must be blocking connection to saas host and https port 443 from agent instance as we see the following error in logs:
Thread-0] 03 Feb 2015 20:06:27,099 ERROR ConfigurationChannel - Fatal transport error: mycompany202.saas.appdynamics.com
[Thread-0] 03 Feb 2015 20:06:27,100 WARN ConfigurationChannel - Could not connect to the controller/invalid response from controller, cannot get initialization information, controller host [mycompany202.saas.appdynamics.com], port[443], exception [Fatal transport error: mycompany202.saas.appdynamics.com]
..ead-0] 03 Feb 2015 20:06:27,104 ERROR ConfigurationChannel - Exception: mycompany202.saas.appdynamics.com
java.net.UnknownHostException: mycompany202.saas.appdynamics.com
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
Check with your network team whether they are blocking connection to saas host from agent instance by any chance.
Regards,
Arun
Hi Chandrakala,
The URI is /rest/applications , yes please check with your network team
Regards,
Arun
Hi Chandrakala,
That is not an error, the result looks fine, we assume you have access from same agent instance browser tab, let us know if any disconnect, Can you try below controller-info.xml file and if issue persists post jvm restart please get in touch with your network team to check whether you are using proxy in between agent and controlelr host netwok connectivity
Regards,
Arun
Hi Chandrakala,
Try the one attached and if issue persists, please use the one that is working fine earlier and just change port to 80 and set ssl-enabled xml element to false from true and see if that makes difference.
The main issues is with network, did your network confirmed the connectivity issue at there end
Regards,
Arun
Hi Arun,
Thanks for the assistance. But my network team still didnt confirm that there is a issue from thier end. They tell that the Appdynamics tool is available in thier list. So there should not be a problem.
Regards,
Chandrakala
Hi Arun,
I was going through the posts in the Community, where i found that you have suggested to do the change in the startup file as below
export JAVA_OPTS="$JAVA_OPTS -Dappdynamics.viewer.host=192168.1.19 -Dappdynamics.viewer.port=8180 -javaagent:<liteagent_dir>/javaagent.jar"
to fix the Transport Fatal Error.
Should i do these changes to fix teh error. Please Confirm
Regards,
Chandrakala
Hi Chandrakala,
The jvm args you listed are specific to old AD LITE viewer version and that is for case where liteview is on different host, and by default lite agent does not have controller-info.xml file itself. So we request you to ignore that option in your case as you are not using old LITE agent, Hope it is clear.
If issue persists please confirm with your network team and send the latest logs and controller server.log as well to assist you on this.
Regards,
Arun
Hi Arun,
Yes I am using access from same agent instance browser tab, as i have implement this first in my local machine.
Regards,
Chandrakala
Hi,
We see you have not properly updated xml element , please replace the attached file at path C:\AppServerAgent-ibm-4.0.0.0\ver4.0.0.0\conf\controller-info.xml and restart jvm:
We suggested above change as we see the below error:
Caused by: com.appdynamics.org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using application name [null]
[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using tier name [unknown]
[INFO]: AgentInstallManager - Full Agent Registration Info Resolver using node name [unknown]
Regards,
Arun
Hi Arun,
Yes, i have given the node name as "MetricStreamCB" in controller -info.xml.
Now i have made the changes to the variable JAVA_OPTS as suggested and i have retained the CATALINA_OPTS entry as it is. I also re-started as suggested. Still my log file says Java Agent is disabled. Below is the entry for the same
agent.2015_02_02__23_32_18.0 [Thread-0] 02 Feb 2015 23:32:18,363 ERROR JavaAgent - ******************* [Thread-0] 02 Feb 2015 23:32:18,363 ERROR JavaAgent - * Unable to determine Tier Name or Node Name. Java Agent disabled [Thread-0] 02 Feb 2015 23:32:18,363 ERROR JavaAgent - ******************* [Thread-2] 02 Feb 2015 23:32:18,982 ERROR JavaAgent - ******************* [Thread-2] 02 Feb 2015 23:32:18,982 ERROR JavaAgent - * Unable to determine Tier Name or Node Name. Java Agent disabled [Thread-2] 02 Feb 2015 23:32:18,982 ERROR JavaAgent - *******************
Regards,
Chandrakala
Hi,
Can you please clarify for my post... i am not able to proceed further because of this... i have one day left for trial version to expire.... before that i need to check whether the tool gives me desired output....
Hi Arun,
Yes, i have given the node name as "MetricStreamCB" in controller -info.xml.
Now i have made the changes to the variable JAVA_OPTS as suggested and i have retained the CATALINA_OPTS entry as it is. I also re-started as suggested. Still my log file says Java Agent is disabled. Below is the entry for the same
agent.2015_02_02__23_32_18.0 [Thread-0] 02 Feb 2015 23:32:18,363 ERROR JavaAgent - ******************* [Thread-0] 02 Feb 2015 23:32:18,363 ERROR JavaAgent - * Unable to determine Tier Name or Node Name. Java Agent disabled [Thread-0] 02 Feb 2015 23:32:18,363 ERROR JavaAgent - ******************* [Thread-2] 02 Feb 2015 23:32:18,982 ERROR JavaAgent - ******************* [Thread-2] 02 Feb 2015 23:32:18,982 ERROR JavaAgent - * Unable to determine Tier Name or Node Name. Java Agent disabled [Thread-2] 02 Feb 2015 23:32:18,982 ERROR JavaAgent - *******************
Regards,
Chandrakala
Hi,
Can you quickly attach the following and files to assist you faster:
- zipped of <agent_dir>/logs path
- startup script in which you added -javaagent entry, which is catalina.bat (only attach file)
- output of command in console terminal prompt:
shell> catalina.bat run
- zipped version of <agent_dir>/conf folder
Regards,
Arun