Hi,
I am new to appdynamics and I am trying to profile an application placed in apache karaf.
Completed steps:
1. Installed java agent and configured controller.xml with host, port, tier, node and application name. And also with access details(account and key).
2. My system is behind the proxy. And I configured proxy host and port as well.
Error details from log file:
Thread-0] 26 May 2015 07:34:22,869 ERROR ConfigurationChannel - HTTP Request failed: HTTP/1.1 503 Service Unavailable [Thread-0] 26 May 2015 07:34:22,869 WARN ConfigurationChannel - Could not connect to the controller/invalid response from controller, cannot get initialization information, controller host [paid127.saas.appdynamics.com], port[443], exception [null] [Thread-0] 26 May 2015 07:34:22,870 ERROR ConfigurationChannel - Exception: NULL
Any help is appreciated.
Thanks,
Anitha
Hi Anitha,
We see few issues on paid127 from internal requests few days earlier to see if this is related as we see error related controller server overloaded as such from agent logs snippet, can you see if issue still persists after agent reset (node dashboard -> agents -> click reset button on controller ui) Also let us know the account name so that we can login from portal and check accessibinility of actual shared self service account ui from our end?
Regards,
Arun
Hi Arun,
Thanks for the reply.
here is the account name. HewlettPackard2790
I tried connecting using http instead of https. I could see my agents in the dashboard.
I am now getting this exception noclassdeffounderror for the FastMethodInterceptorDelegatorboot class.
I have added the boot delegation property to com.singularity.*.
I see this class resides inside the javaagent.jar. I tried setting CLASSPATH to the jar file. Still it does not solve the problem.
I use Apache Karaf as my appliction server.
Thanks,
Anitha
Hi Anitha,
It looks Apache Karaf uses OSGI bundle, we understood that you have added com.singularity package as per docs https://docs.appdynamics.com/display/PRO40/OSGi+Infrastructure+Configuration but can you provide the agent logs and ps grep java output at runtime to see jvm args in place
Please be sure that Apache Karaf is not officially supported framework but we will try to see if we can check basic settings looks fine and are in right osgi config properties file or not and is picking up as part of jvm args while we debug, Hope that is fine with you.
Regards.
Arun
Hi Arun,
Thanks for the pointer. Now it works based on your suggestions.
Regards,
Anitha