Quantcast
Channel: All AppDynamics Discussions posts
Viewing all 1667 articles
Browse latest View live

Triying to install nodejs agent on mac ox fails

$
0
0

I am triying to install the nodejs agent in order to use appdynamics first on my development computer, but it fails miserably triying

This is the pastebin link:

http://pastebin.com/Q98awxav

 

Thanks Claudio


Re: Triying to install nodejs agent on mac ox fails

$
0
0

Attached is a document that might help.

License configuration

$
0
0

Hi,

Do we need the ip address of the host for getting app dynamics license?

Basically is the license file unique to a host? or if the host is changed/upgraded, the same file can be moved there as it is?

 

Thanks.

Re: Exception in controller logs

$
0
0

Hi,

 

Was this issue ever resolved?

I am having a similar exception in my logs and events services is running fine.

 

Thanks

Gurmit.

Browser snapshots not accessible

$
0
0

Hi,

 

For the App Dynamics EUM piece, there are issues accessing browser snaphots.

A user with all admin access is able to view the details properly but the user with read only access is getting error when loading browser snapshots.

 

Here is what i see in the logs.

[#|2016-01-21T14:11:33.021-0600|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean|_ThreadID=155;_ThreadName=Thread-5;|Could not create or update accounts on local analytics instance. Likely some connectivity issue; currently trying to connect with controller key of 3e2baf96-....
RestException(statusCode=400, code=Invalid.Header[Authorization], message=Decoded Header[Authorization] should be of form 'accountName:accessKey', developerMessage=)
at com.appdynamics.analytics.shared.rest.exceptions.RestExceptionFactory.makeException(RestExceptionFactory.java:38)
at com.appdynamics.analytics.shared.rest.client.utils.RestClientUtils.validateResponse(RestClientUtils.java:106)
at com.appdynamics.analytics.shared.rest.client.utils.RestClientUtils.resolve(RestClientUtils.java:65)
at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.executeAndReturnRawResponseString(GenericHttpRequestBuilder.java:228)
at com.appdynamics.analytics.shared.rest.client.auth.DefaultAccountServiceClient.getAccountConfigurations(DefaultAccountServiceClient.java:125)
at com.appdynamics.analytics.shared.rest.client.DefaultAnalyticsClient.getAccountConfigurations(DefaultAnalyticsClient.java:35)
at com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean.createUpdateAccountsInternal(AnalyticsAccountManagerBean.java:269)
at com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean.createUpdateAccounts(AnalyticsAccountManagerBean.java:191)
at sun.reflect.GeneratedMethodAccessor479.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.singularity.ee.controller.beans.EntityManagerInterceptor.manageEntityManagerLifecycle(EntityManagerInterceptor.java:53)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.singularity.ee.controller.beans.ExceptionHandlingInterceptor.handleExceptions(ExceptionHandlingInterceptor.java:60)
at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)
at com.sun.proxy.$Proxy566.createUpdateAccounts(Unknown Source)
at com.singularity.ee.controller.beans.ControllerTimerTaskBean.doProcess(ControllerTimerTaskBean.java:476)
at com.singularity.ee.controller.beans.AScheduleTimerTask$1.call(AScheduleTimerTask.java:61)
at com.singularity.ee.controller.beans.AScheduleTimerTask$1.call(AScheduleTimerTask.java:59)
at com.google.inject.servlet.ServletScopes$4.call(ServletScopes.java:251)
at com.singularity.ee.controller.beans.AScheduleTimerTask.process(AScheduleTimerTask.java:59)
at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundTimeout(SystemInterceptorProxy.java:149)
at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)
at com.sun.ejb.containers.BaseContainer.callEJBTimeout(BaseContainer.java:4058)
at com.sun.ejb.containers.EJBTimerService.deliverTimeout(EJBTimerService.java:1832)
at com.sun.ejb.containers.EJBTimerService.access$100(EJBTimerService.java:108)
at com.sun.ejb.containers.EJBTimerService$TaskExpiredWork.run(EJBTimerService.java:2646)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
|#]

[#|2016-01-21T14:11:34.931-0600|INFO|glassfish3.1.2|com.singularity.ee.controller.servlet.handlers.k|_ThreadID=59;_ThreadName=Thread-5;|Processing machine snapshots for machineId: 4 no of snapshots: 1|#]

How to monitor the health of the controller?

$
0
0

We installed a machined agent on the box where the controller is running. We were able to see the App Dynamics controller as an App in the admin console using the root password. it shows up as a Java agent with a flow map, however the Box level statistics don't show up inspite of the machine agent being installed on the box. here is the interesting part, we are able to see the machine agent when we login with a super user (NOT root) but in this case, the JVM stats don't appear. how can we tie up both these profiles to have the JVM stats and Machine stats on the app dynamics controller in one page

Re: License configuration

$
0
0

Appdynamics pro license is based on mac address of machine that guests controller configuration

 

if you switch machine on virtual environment set up same mac address of original machine on vm configuration

 

if you need to obtain a full license you have to pass to Appdynamics a mac address of you controller machine

 

Re: Browser snapshots not accessible

$
0
0

I was able to find a solution to this and is as below:

 

The role that a user is assigned to did not had application permissions.
Viewsing browser snapshot is tied to Configure EUM permission and that can be set for a particular role by the admin by following the steps as below:
Click on gear Icon(top left) -> Administration -> Roles
Click on the respective role, on the right click on Application permission tabs, under default, click on Edit permissions and from that list select "Configure EUM"


Re: Exception in controller logs

$
0
0

Hi Gurmit,

 

Apologies for delay in response, in ideal cases the suggested steps should help, if you face issues still send the relevant logs for our review

Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

 

com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args --host,,,localhost,,,--port,,,

 

After starting the controller from INSTALL_HOME/bin/startController, the database starts fine but the controller starts with arguments which appear to not having any values as above.

Subsequently in the server.log, I see that there is a connect refused on port 9080.

What is possibly wrong?

 Someone please help.

 

-Thanks

vsjoshi

 

 

#|2016-01-25T05:30:13.214-0800|SEVERE|glassfish3.1.2|com.singularity.ee.controller.beans.analytics.account.AnalyticsAccountManagerBean|_ThreadID=144;_ThreadName=Thread-5;|Could not create or update accounts on local analytics instance. Likely some connectivity issue; currently trying to connect with controller key of f3494b3b-....
com.appdynamics.analytics.shared.rest.exceptions.ClientException: Could not execute request to http://localhost:9080/v1/account/search
at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.getResponse(GenericHttpRequestBuilder.java:213)
at com.appdynamics.analytics.shared.rest.client.utils.GenericHttpRequestBuilder.executeAndReturnRawResponseString(GenericHttpRequestBuilder.java:227)
at com.appdynamics.analytics.shared.rest.client.auth.DefaultAccountServiceClient.getAccountConfigurations(DefaultAccountServiceClient.java:125)

 

 

Re: Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

seems somethoing on analytics services config

 

to start controller manually and not all dependent service go Controlloe_HOME/bin

 

run 

./controller.sh start-db

./controller.sh start-appserver

./controller.sh start-reporting-service

 

check server.log 

Urgent another issue on 4.2 controller update

$
0
0

hourly scheduled reports generate apparently loop on reporting-service whent try to build a pdf to send using web capture that cause ram saturation as you can see

root 25164 25163 0 12:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=1c0c0e8c857e4db6a079de7953f8f2e1 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_11_05_00.353.png
root 25170 25164 3 12:05 ? 00:15:18 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=1c0c0e8c857e4db6a079de7953f8f2e1 /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_11_05_00.353.png
root 27123 2758 0 13:05 ? 00:00:00 /bin/bash ./executeNodeCommand.sh phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=189403f2cd384a96b54f35144121f954 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_12_05_00.753.png
root 27124 27123 0 13:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=189403f2cd384a96b54f35144121f954 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_12_05_00.753.png
root 27130 27124 3 13:05 ? 00:13:03 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=189403f2cd384a96b54f35144121f954 /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_12_05_00.753.png
root 29044 2758 0 14:05 ? 00:00:00 /bin/bash ./executeNodeCommand.sh phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=094d2c75116b4e6290507c4d7857efad /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_13_05_00.274.png
root 29045 29044 0 14:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=094d2c75116b4e6290507c4d7857efad /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_13_05_00.274.png
root 29051 29045 3 14:05 ? 00:10:48 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=094d2c75116b4e6290507c4d7857efad /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_13_05_00.274.png
root 31020 2758 0 15:04 ? 00:00:00 /bin/bash ./executeNodeCommand.sh phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=00cdaf3efaa54a439e55ee3804c146d0 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_14_05_00.231.png
root 31021 31020 0 15:05 ? 00:00:00 node ./node_modules/phantomjs/bin/phantomjs captureWebpage.js http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=00cdaf3efaa54a439e55ee3804c146d0 /usr/local/AppDynamics/Controller/reporti ng_service/reports/output/temp__0160121_14_05_00.231.png
root 31023 31021 3 15:05 ? 00:08:33 /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/phantomjs/lib/phant om/bin/phantomjs captureWebpage.jshttp://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=00cdaf3efaa54a439e55ee3804c146d0 /usr/local/AppDynamics/Controller/reporting_service/reports/output/temp__0160121_14_05_00.231.png

bug in

String' of null
at /usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:130:23
at Function._.each._.forEach (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/underscore/underscore.js:87:22)
at Object.reportSerializer [as report] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:129:5)
at /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:725:50
at Array.forEach (native)
at Logger._applySerializers (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:717:35)
at mkRecord (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:825:25)
at Logger.info (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:853:19)
at Object.process (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/report/report.js:73:13)
at Object.process [as handle] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/server/server.js:103:10)
> ./executeNodeCommand.sh phantomjs captureWebpage.js 'http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=d253c591908943fba2270b2802dd262c' '/usr/loc
al/AppDynamics/Controller/reporting_service/reports/output/temp__0160120_06_05_00.190.png'
TypeError: 'null' is not an object (evaluating 'dimen[0]')

captureWebpage.js:92
bunyan: ERROR: This should never happen. This is a bug in <https://github.com/trentm/node-bunyan> or in this application. Exception from "report" Logger serializer: TypeError: Cannot call method 'to
String' of null
at /usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:130:23
at Function._.each._.forEach (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/underscore/underscore.js:87:22)
at Object.reportSerializer [as report] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/logger/logger.js:129:5)
at /usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:725:50
at Array.forEach (native)
at Logger._applySerializers (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:717:35)
at mkRecord (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:825:25)
at Logger.info (/usr/local/AppDynamics/Controller/reporting_service/reports/node_modules/bunyan/lib/bunyan.js:853:19)
at Object.process (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/report/report.js:73:13)
at Object.process [as handle] (/usr/local/AppDynamics/Controller/reporting_service/reports/lib/server/server.js:103:10)
> ./executeNodeCommand.sh phantomjs captureWebpage.js 'http://prodamon01:8090/controller/#/location=CDASHBOARD_DETAIL&dashboard=114&action=LOGIN&token=87cfc138771745d6a233413ccfa394f1' '/usr/loc
al/AppDynamics/Controller/reporting_service/reports/output/temp__0160120_07_05_00.137.png'
TypeError: 'null' is not an object (evaluating 'dimen[0]')

 

to prevet ram saturation please comment out line 92 on Install_DIR/reporting_services/reports/captureWebpage.js and add this

 

page.viewportSize = { width: 1920, height: 500 };

 

save file

 

do not need to restart report-service

 

this workaround generate emty or blank report but close correctly phantomjs instance on operating system

Re: Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

 

I did try that. But Controller still fails to start properly.

 

Check the last arguments in cmd-line that get passed to Controller. They look suspect.

 

domainname domain1 -asadmin-args --host,,,localhost,,,--port,,,

 

 

 

/opt/AppDController/Controller/jre/bin/java -cp /opt/AppDController/Controller/lib/tools.jar:/opt/AppDController/Controller/appserver/glassfish/lib/webservices-tools.jar:/opt/AppDController/Controller/appserver/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelOldGC -XX:HeapDumpPath=/opt/AppDController/Controller/appserver/glassfish/../../logs -XX:ParallelGCThreads=13 -XX:+DisableExplicitGC -XX:MaxPermSize=256m -XX:PermSize=64m -XX:-OmitStackTraceInFastThrow -XX:NewRatio=2 -XX:SurvivorRatio=10 -XX:-UseAdaptiveSizePolicy -XX:+LogVMOutput -Xms1536m -Xmx1536m -javaagent:/opt/AppDController/Controller/appserver/glassfish/domains/domain1/appagent/javaagent.jar -server -javaagent:/opt/AppDController/Controller/appserver/glassfish/lib/monitor/flashlight-agent.jar -Dappdynamics.analytics.server.store.url=http://localhost:9080 -Dfelix.fileinstall.disableConfigSave=false -Dproduct.name -Djavax.net.ssl.keyStore=/opt/AppDController/Controller/appserver/glassfish/domains/domain1/config/keystore.jks -Dappdynamics.controller.eum.adrumextension.urltemplate=cdn.appdynamics.com -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dappdynamics.controller.home=/opt/AppDController/Controller/appserver/glassfish/../.. -Djava.awt.headless=true -Dcom.sun.grizzly.accept.op.batch.size=32 -Dfelix.fileinstall.poll=5000 -Djava.endorsed.dirs=/opt/AppDController/Controller/appserver/glassfish/modules/endorsed:/opt/AppDController/Controller/appserver/glassfish/lib/endorsed -Dfelix.fileinstall.bundles.startTransient=true -Dappdynamics.controller.hostName=127.0.0.1 -Djavax.net.ssl.trustStore=/opt/AppDController/Controller/appserver/glassfish/domains/domain1/config/cacerts.jks -Dcom.sun.grizzly.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Dappdynamics.controller.appserver=/opt/AppDController/Controller/appserver/glassfish -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/opt/AppDController/Controller/appserver/glassfish/domains/domain1/config/login.conf -Dgosh.args=--nointeractive -Dappdynamics.controller.email=help@appdynamics.com -Dosgi.shell.telnet.maxconn=1 -Dappdynamics.controller.services.hostName=10.95.121.136 -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Dfelix.fileinstall.dir=/opt/AppDController/Controller/appserver/glassfish/modules/autostart/ -Dosgi.shell.telnet.port=6666 -Djava.security.policy=/opt/AppDController/Controller/appserver/glassfish/domains/domain1/config/server.policy -Dfelix.fileinstall.log.level=2 -Dcom.sun.aas.instanceRoot=/opt/AppDController/Controller/appserver/glassfish/domains/domain1 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dosgi.shell.telnet.ip=127.0.0.1 -Dcom.sun.enterprise.server.ss.ASQuickStartup=false -Dcom.sun.aas.installRoot=/opt/AppDController/Controller/appserver/glassfish -Dappdynamics.controller.smtp.relay.port=25 -Djava.ext.dirs=/opt/AppDController/Controller/jre/lib/ext:/opt/AppDController/Controller/jre/jre/lib/ext:/opt/AppDController/Controller/appserver/glassfish/domains/domain1/lib/ext -Dfelix.fileinstall.bundles.new.start=true -Dcom.appdynamics.entity.context.logger.xml.config.path=/opt/AppDController/Controller/appserver/glassfish/domains/domain1/config/entity-context-logger-config.xml -Dappdynamics.controller.ui.deeplink.url=http://10.95.121.136:8090/controller -Dappdynamics.controller.port=8090 -Dappdynamics.controller.eum.cloud.hostName=agg.eum-appdynamics.com -Dappdynamics.analytics.local.store.url=http://localhost:9080 -Dappdynamics.controller.services.port=8090 -Dappdynamics.controller.eum.analytics.service.hostName=analytics.api.appdynamics.com -Dappdynamics.controller.eum.beacon.hostName=col.eum-appdynamics.com -Djava.library.path=/opt/AppDController/Controller/appserver/glassfish/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args --host,,,localhost,,,--port,,,

Re: Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

sotty my mistake

 

port 9080 is user from analytics-service and you have default property in your domain.xml

-Dappdynamics.analytics.local.store.url=http://localhost:9080

 

 

before start controller try to start manually analytics service tih controller.sh and post error if you have it

Re: Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

 

There is no option to start analytics service separately. Is it events-service?

 

usage: controller.sh [start|stop|start-appserver|stop-appserver|start-db|stop-db|start-events-service|stop-events-service|start-reporting-service|stop-reporting-service|login-db|reset-ejb-jms-tables|recreate-jms-tables|enable-http-listeners|disable-http-listeners|patch-upgrade /path/to/controller_patch_upgrade.zip|zip-logs|capture-diagnostic-information|enable-token-auth-module|disable-token-auth-module]


Re: Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

sure event-service open port 9080

 

can't ping controller

$
0
0

I can't ping the controller from any of several machines I tried.  soastainc6586.saas.appdynamics.com.  Thus agent won't connect

Re: Controller NOT starting properly. seems to starting with null host and port and failing

$
0
0

 

Finally turned out to be a licensing issue. Upgraded the license and Controller is coming up fine.

 

Thanks

Re: How to remove cookie ADRUM_BT?

$
0
0

We noticed the same issue in our Java and PHP tiers. The documentation is very unclear that a 'magic' side-effect will happen that changes server-side responses to include different headers and cookies.

 

I opened a support ticket on the matter, and I'll include some of my notes here for public clarity, but first, this is what my support rep mentioned:

 

---

 

Browser RUM uses two different kinds of short-lived cookies to help it collect data and correlate events:

  • The ADRUM cookie: written by the JavaScript agent, this cookie contains the referral page URL and some timing information to assist gathering First Byte Time for some browser types. When the agent loads on the subsequent page, it reads the information and then deletes the cookie. If there is no agent on that page, the cookie is deleted when the browser is closed.
    For privacy purposes, the URL of the referral page is hashed.

  • The ADRUM_X_Y_Z cookies: written by the server-side agent when the page is served from an instrumented server. These cookies help correlate browser data with related server-side performance data.

If Browser RUM detects that the page is HTTPS, the cookies are HttpsOnly. None of the cookies contain any personally identifiable information (PII).

You have an option to stop these cookies on node level. You can disable this setting the following agent property:

enable-eum-cookie
type: Boolean
value: false

As described at: https://docs.appdynamics.com/display/PRO41/App+Agent+Node+Properties

However if we set this to false, the Browser requests cannot be correlated to the Back End server calls.

If the app agent is 4.1 or above you can also use the following property:
always-add-eum-metadata-in-http-headers
and set it to true

It will also write the meta data into the headers for the JS agent to consume.

 

---

 

Note: I don't actually see these properties in the documentation

 

The second point is that, at least for us, adding extra data in cookies isn't really safe. We cache our responses in a CDN, which means there isn't even always going to be a sever-side response to monitor, unless the EUM implementation also uses headers to disable downstream caching. Alternatively (still looking into this), it could mean our CDN is caching these cookies, which would render this data inaccurate anyway.

 

Lastly, just for this thread, the response given to your initial request does not address your concern. Unless I've misread, you asked about disabling the automatic addition of cookies into the http response, while the reply is about disabling automatic injection of a javascript tag in the body of the response.

Re: Breakdown of all js errors for a given page?

$
0
0

No progress on this front? This is a horrible limitation of your REST API. The data is already there; why can't you provide it to us? We already paid for it.

Viewing all 1667 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>