cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Gaurav.Soni
AppDynamics Team (Retired)

Symptoms

After updating a license from Trial to Pro and configuring the EUM Server to work with the Events Service in gathering data analytics, some on-premise users may see an error on the Web Analyze page that says "The supplied auth information is for an account that expired on [{YYYY-MM-DDTHH:MM:SS.sssT}]." 

 

ScreenShot-2.png

Diagnosis

The controller server.log file will show a stack trace similar to the following:

 

[#|2017-05-05T19:06:19.518+0530|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=664176;_ThreadName=Thread-5;|RestException(statusCode=401, code=Auth.Expired, message=The supplied auth information is for an account that expired on [{2017-03-10T08:00:00.000Z}], developerMessage=) 
at com.appdynamics.analytics.shared.rest.exceptions.RestExceptionFactory.makeException(RestExceptionFactory.java:41) 
at com.appdynamics.analytics.shared.rest.client.utils.RestClientUtils.validateResponse(RestClientUtils.java:110) 
at com.appdynamics.analytics.shared.rest.client.utils.RestClientUtils.resolve(RestClientUtils.java:68) 
at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.executeAndReturnRawResponseString(GenericHttpRequestBuilder.java:245) 
at com.appdynamics.analytics.shared.rest.client.eventservice.DefaultEventServiceClient.getEventType(DefaultEventServiceClient.java:162) 
at sun.reflect.GeneratedMethodAccessor5132.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at com.singularity.ee.controller.beans.analytics.client.AccountCreatingAnalyticsClient$ProxyingEventServiceClient.invoke(AccountCreatingAnalyticsClient.java:98) 
at com.sun.proxy.$Proxy702.getEventType(Unknown Source) 
at com.appdynamics.analytics.shared.rest.client.DefaultAnalyticsClient.getEventType(DefaultAnalyticsClient.java:37) 
at com.singularity.ee.controller.beans.analytics.client.DefaultAnalyticsDataTransferClient.getEventTypeAsJsonNode(DefaultAnalyticsDataTransferClient.java:873) 
at com.singularity.ee.controller.beans.analytics.client.DefaultAnalyticsDataTransferClient.getBrowserRecordFieldDefinitions(DefaultAnalyticsDataTransferClient.java:638) 
at com.singularity.ee.controller.ui.services.analytics.AnalyticsMetaDataUiService.getBrowserFieldDefinitions(AnalyticsMetaDataUiService.java:291) 
at sun.reflect.GeneratedMethodAccessor5130.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) 
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) 
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) 
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) 
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) 
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) 
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) 
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) 
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) 
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) 
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) 
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) 
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) 
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) 
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) 
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119) 
at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) 
at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) 
at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) 
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) 
at com.singularity.ee.controller.ui.filter.RestSessionFilter.doFilter(RestSessionFilter.java:107) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) 
at com.singularity.ee.controller.servlet.CsrfFilter.doFilter(CsrfFilter.java:84) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) 
at com.singularity.ee.controller.servlet.RequestOriginMarkingFilter.doFilter(RequestOriginMarkingFilter.java:26) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) 
at com.singularity.ee.controller.servlet.CacheControlFilter.doFilter(CacheControlFilter.java:65) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161) 
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231) 
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317) 
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195) 
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860) 
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757) 
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056) 
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229) 
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) 
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) 
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) 
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) 
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) 
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) 
at com.sun.grizzly.ContextTask.run(ContextTask.java:121) 
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:554) 
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:533) 
at java.lang.Thread.run(Unknown Source) 
|#]

 

Solution

The events-service-api-store.properties file under events-service/conf directory should have the following properties:

 

in 4.3.x

ad.accountmanager.key.controller = <the value that you see admin.jsp > controller setting for the 'appdyamics.on.premise.event.service.key' property>
ad.accountmanager.key.eum= <the value that you see admin.jsp > controller setting for the 'appdynamics.es.eum.key' property>

 

in 4.2.x

ad.accountmanager.key.controller = <the value that you see admin.jsp > controller setting for the  'appdynamics.analytics.server.store.controller.key' property>
ad.accountmanager.key.eum= <the value that you see admin.jsp > controller setting for the 'appdynamics.es.eum.key' property>

 

Note: Restart the events service after making the above changes. The controller does not require a restart.

 

Additionally, double check that the admin.jsp > controller setting properties has the following property: eum.es.host = <the Events Service endpoint URL> 

Version history
Last update:
‎01-02-2019 02:57 PM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here