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

Re: Attaching the Java Agent to a Running JVM Process

$
0
0

Hi,

Just saw this post and looks like I've also been getting a similar error.

java -Xbootclasspath/a:/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar -jar /home/avenida/appagent/javaagent.jar 1047
Attaching to VM [1047]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.singularity.ee.agent.appagent.AgentEntryPoint.main(AgentEntryPoint.java:494)
Caused by: java.io.IOException: Operation not permitted
at sun.tools.attach.LinuxVirtualMachine.sendQuitTo(Native Method)
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:91)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
... 5 more

 

Could somebody help here?


Re: Attaching the Java Agent to a Running JVM Process

Need help, pyagent not generating data

$
0
0

Hi,

 

    I was trying to start the pyagent, I see no clear error when I tried to start the pyagent, but I got no data at appdynamics server either. Did I do it wrong? Please help if you know what happened. Thanks.

 

ubuntu@TEST8:~/now$ sudo sh -c "/usr/local/bin/pyagent run -c /vol/capeco/appdynamics.cfg /usr/local/bin/uwsgi --ini /etc/uwsgi/uwsgi.ini --uid www-data --gid adm --stats 127.0.0.1:1717"
[uWSGI] getting INI configuration from /etc/uwsgi/uwsgi.ini
ubuntu@TEST8:~/now$ 2015-10-02 17:51:55,549 [WARNING] appdynamics.proxy.watchdog <2296>: Defunct proxy pid (1774) found; starting over
2015-10-02 17:51:55,549 [INFO] appdynamics.proxy.watchdog <2296>: Started watchdog with pid=2296
2015-10-02 17:51:55,550 [INFO] appdynamics.proxy.watchdog <2296>: Starting proxy: /usr/local/lib/python2.6/dist-packages/appdynamics_bindeps/proxy/runProxy -d /usr/local/lib/python2.6/dist-packages/appdynamics_bindeps/proxy -r /tmp/appd/run /tmp/appd/run/comm /tmp/appd/logs
2015-10-02 17:51:56,108 [INFO] appdynamics.proxy.watchdog <2296>: Started proxy with pid=2298
Install Directory resolved to[/usr/local/lib/python2.6/dist-packages/appdynamics_bindeps/proxy]
Agent Logging Directory [/tmp/appd/logs]
Logs Directory resolved to[/tmp/appd/logs]
17:51:58,459 INFO [main] ProxyControlEntryPoint - ProxyControl - init
17:51:58,459 INFO [main] ProxyControlEntryPoint - comm dir set to: /tmp/appd/run/comm
17:51:58,469 INFO [main] ZeroMQControlServer - ipcNodeBaseDir dir set to: /tmp/appd/run/comm/proxy-3936996152988095459
17:51:58,470 INFO [main] ZeroMQControlServer - ZeroMQControlServer - init
17:51:58,579 INFO [main] ZeroMQControlServer - ControlReqRouterSocket started at:ipc:///tmp/appd/run/comm/0
17:51:58,589 INFO [main] ProxyControlEntryPoint - ProxyControl - init completed
17:51:58,589 INFO [main] ProxyControlEntryPoint - Should register node at startup:false

 

# The console printout stopped at the last line above. I saw more information generated past this point in my other application and I can see data for that application. However the env are quite different so it is not easy to compare.

Monitoring AppD Sample App ProgressSQL DB

$
0
0

Hi 

 

We wanted to monitor the downloaded AppD Sample App ProgressSQL DB, we followed the instructions in the documents but unable to get it to display any DB metrics or details

 

Understand the default "<AppD Sample App>\build\pgsql\data\pg_hba.conf" has the previlige required. Am I correct ?

 

Any advice is appreciate.

 

Thanks

 

 

 

 

importing metrics and historic data from old installation

$
0
0

hi

i got backup from data directory of old server and installed the appdynamics on new server

how can i import the histical statistics to new server ?

thanks

Re: importing metrics and historic data from old installation

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

1) Added image1 file 

 

As you can see i have to end points 

 

user-service/v1/ or user-service/*

 

and 

user-service/v2/.*

 

 

trains tier is only calling user-service/v2 webservice but it showing user-service calls  which is wrong.

 

so i have configured in image2 a regex on user-service-v2 appserver and on user-service app server as in image3 for v1 version. 

 

 

could you please check that. ?

 

2)  dnt understand exactly your question . But we have two service running no different server with name user-service or user-service/v1 and user-service-v2 i.e endpoing user-service/v2/.*

 

 

Re: appdynamic reporting service calls in wrong application tier why?


Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

Hi Akumar,

 

 

Further add to your second point 

 

nothing is served from jvm its only webapp part.

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

9810345291 if you could help me instantly.?

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

Hi,

 

in first observation, we see defining custom rules will not actually affect how links appear between trains tier and the the tier where web service is served, so custom rule should not discover and is not related here.

 

Regarding links that trains tier making calls only to user-service tier, Can you provide screenshot similar to one below from users-service and user-service2 tier and also agent logs from both the tiers:

 

screen1.png

 

 

 

step2.png

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

agent logs from server itself or from the method you have described ?

 

Also could you help to tell the reason for the unworking of custom rules for this?

 

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

Hi ,

 

Agent logs from node dashboard -> agents screen (yes server jvm itself) - use "all logs" option in "request agent log files" popup

 

- Say BT on tier1(trains) is /checkout making Webservice calls to tier2 (user-service) and in tier2 the API is class2.method2(/v2) than as agent supports correlation (link between two tiers is called correlation feature) than if user defined any custom rules on tier2(user-service or user-service2) will not work because it (class2.method2 or /v2 WS call served api on downstream tier) is already part of trains BT snapshot drilldown

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

attached images as requested .

 

 

 

my question to repeat - both trains tier and trip-service tier showing calls to both  or either one user-service and user-service-v2 tier but in real only one is used by both train and trip-service tier. 

 

Please help where can i find agent logs on dash board . i am looking on dashboard

 

 

Your help greatly appreciated . we are working hard to get it resolve.

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

Hi.

find the section in UI , agent resolves backend to UI based on hostname and correlation header mapping for which tier it is received if host name is resolved to agents in corresponding tier than this could be the reason or check if any load blancer that will affect the re-direction of load here

 

step1.png

 from screenshots it is clear that only /v1 is resolved to user-service and user-service2 tiers that confirms that load to /v2 is not made or not wrong resolved, i guess we do not required agent logs i believe because /v2 does not looks to be invoked , please be sure that backends are associated to BTs discovered if no BT making /v2 call is part of "Business transactiuons" screen that /v2 is not 

 

we mean /v2 is not resolved as per screenshots you provided we see only /v1 backends resolved to user-service and user-service2 , let us know if any disconnect here


Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

yes i have forward you images after clicking configure backeend for this tier option ..

 

 

 

Regading loadbalancer(checked lb logs too and nginx logs too as forwarding to correct service)  it all good its forwarding call to user-service/v2 to user-service and user-service/v2 to user-service-v2.

 

but in appd display is mix of both service ....

 

 

i am not able to find option to download logs for UI

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

your answer :-  from screenshots it is clear that only /v1 is resolved to user-service and user-service2 tiers that confirms that load to /v2 is not made or not wrong resolved

 

 

 

 

could you forward me the screenshot where you could see that /v1 is resolving to user-service-v2 also . ?

 

 

 

Re: appdynamic reporting service calls in wrong application tier why?

$
0
0

also there is no option "agents" as you can see in image attached . Is there any config issue in pulling agent log from UI.?

Re: importing metrics and historic data from old installation

$
0
0

thanks

it means i lost the old history beacause i only got backup of data directory :(

 

Re: Issue: JAVA agent is not reporting to the controller

$
0
0

Hi AD Team,

 

EVen I am facing the same issue, how was it resolved?

More information would be helpful.

 

 

Regards

Rajendra

Viewing all 1667 articles
Browse latest View live


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