Hi,
We downloaded installed the AppDynamics application to our Java application and switched our application on however it appears that our statistics are not showing up in our dashboard. Is there a way that we can confirm that our application is reaching your server?
Regards
Braden
Hi Braden,
Can you provide the following details to assist you further:
- screenshot from controller UI depicting the issue?
- zipped version of agent logs and conf directory located at <agent_dir>/logs path and <agent_dir>/conf path
We would like to see if agent is registered fine and if connected whether any OOTB interceptors like (servelt, ejb, JMS, struts etc) are intercepted in BCT.logs or not here.
Regards,
Arun
Hi Arun,
Thanks for replying. I have attached all you have required.
Regards
Braden
Hi Braden,
We could see BTs registered fine in Business transactions screen in your saas ui and we see the following errors could affect BT statistics reporting
[http-0.0.0.0-8080-1] 11 Nov 2014 08:38:49,591 ERROR ATransactionEntryPointInterceptor - Error in TEP : onMethodBeginTracked for : MethodExecutionEnvironment{ invokedObject='org.springframework.web.servlet.DispatcherServlet' className='org.springframework.web.servlet.FrameworkServlet', methodName='service', invokedObject hashcode='1962834887', paramValues =[class com.ixaris.smartpay.web.ui.session.EntropayHttpRequestWrapper, class com.opensymphony.sitemesh.webapp.ContentBufferingResponse]}, transactionContext CurrentTransactionContext[businessTransactions=Business Transaction [/processes/upaffiliatelanding[0]] Entry Point Type [SERVLET] Component ID [1596], entryPointType=SERVLET, currentExitCall=[NULL], hashcode=1514863044]
java.security.AccessControlException: access denied ("java.lang.management.ManagementPermission" "monitor")
[Tue Nov 11 09:45:14 CET 2014] WARNING: Error com.singularity.asm331.org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 5: access denied ("java.io.FilePermission" "C:\dev\applications\jboss\ohm_appdynamics\server\default\lib\spring-beans-3.0.4.RELEASE.jar" "read") caught while verifying method resolveBeanClass signature (Lorg/springframework/beans/factory/support/RootBeanDefinition;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/Class; in class org.springframework.beans.factory.support.AbstractBeanFactory
Can you please provide java.lang.AllPermission to agent and its sub folder in server.policy and restart jvm also add the following -Djvm arg in addition to -javaagent entry in jvm startup scripts and see how it goes with new load after jvm restart:
-Dappdynamics.bciengine.class.verify=false -Dappdynamics.bciengine.defer.
server.policy file location as per your jvm arg: -Djava.security.policy==${appserver.profile.dir}\conf\server.policy
Let us know how it goes.
Regards,
Arun
Hi,
The account in question is: ixariscom272.
I have made sure the following is in server.policy:
// APPDYNAMICS
grant codeBase "file:${appserver.dir}/appdynamics/*" {
permission java.security.AllPermission;
};
and also added the following to the JAVA_OPTS
set JAVA_OPTS=%JAVA_OPTS% -javaagent:%JBOSS_HOME%\appdynamics\javaagent.jar -Dappdynamics.bciengine.class.verify=false -Dappdynamics.bciengine.defer.risky.bci=false
I've launched the server, created some accounts for some activity and I still can't see any statistics on the dashboard. I'm attaching an image and the logs for your perusal.
Any help is appreciated. Thank you.
Hi Braden,
Did you changed your system time , Can you please correct system clock as per agent logs the latest logs shows the system time is 11 Nov,2014
[http-0.0.0.0-8443-2] 11 Nov 2014 09:46:16,716 INFO BusinessTransactionRegistry - Found pre-registered business transaction: 1734 for /utils/results.jsp SERVLET
Also we do not see the suggested -D jvm args in place, please do both the changes and do agent restart and start in new console and see how it goes, we suggested this changes as we assume this are latest logs and we could see BT is logged fine in BT and agent logs but system time looks weird:
[http-0.0.0.0-8443-2] 11 Nov 2014 09:46:16,716 INFO BusinessTransactionRegistry - Found pre-registered business transaction: 1734 for /utils/results.jsp SERVLET
Hope that information helps
Regards,
Arun
Hi,
My apologies – I must’ve attached the wrong set of files.
I have given it another go this morning and it looks like it’s detecting some activity – you can see ‘executor.jsp’ in the attached screenshot. Executor.jsp calls a few methods to help us benchmark them – we’d like to see the stacktrace (and corresponding timings) but we’re not sure from where and whether they’re being uploaded.
I think the logs are unnecessary, but please do let me know and I will be happy to provide them for you.
Regards
Braden
Hi Braden,
Double click the BT and select "transactions snapshots" tab and drilldown snapshot discovered to see stack traces as stated in doc https://docs.appdynamics.com/display/PRO39/Transaction+Snapshots Hope that information helps.
If there are no snapshots, Either select "Start diagnostic session" from context menu of BT selected Or configure periodic/threshold settings under screen redirected by selecting option "Configure thresholds" from context menu of BT
Regards,
Arun
Hi,
Many thanks for our response. We managed to get into the transaction snapshots however we can’t see the Call Graph as mentioned here.
Our account ixariscom272 is in trial mode (expiring today). Perhaps the call graph is not featured in trial mode? Would it be possible to extend the trial as well please?
Many thanks and kind regards,
Braden
Hi Braden,
Can you provide the screenshot from controller UI and highlight the section what is actaully missing in view of snapshot dridlldown ? to get clarity of the issue.
Regarding the license extension we request you to get in touch with your sales representative / account manager for extending trial license, as we could not extend trial from support team this could be done from order ops team.
Regards,
Arun