AppD Archive

couldn't attach Java Agent to JVMs running on SunOS

Ahmedkhalil
Communicator

Dears,

when i am trying to add below info to JVM start Script i got below Error Plesae advise how can i fix this issue : 

part of script that start  PROCESS=${JAVA_HOME}"java -d64 -cp "${CLASSPATH}" "${JAVA}" "${arg} 

the script that i tried to run : ${JAVA_HOME}"java -d64 -cp "${CLASSPATH}" "${JAVA}" "${arg} -javaagent:*******/javaagent.jar -Dappdynamics.controll

er.hostName=***** -Dappdynamics.controller.port=8090 -Dappdynamics.agent.applicationName=***** -Dappdynamics.agent.tierName=Inv

entory -Dappdynamics.agent.nodeName=***** -Dappdynamics.agent.accountAccessKey=**** 

Erros Message that i got : -javaagent:/export/home/wsms/POC/javaagent.jar: No such file or directory

0 Karma

Jean-Baptiste_M
Builder

Hi Ahmed

Can you check permissions on your javaagent.jar file? The user running the java script to attach needs to have access to the file (and RW on the whole directory). Have you unzipped the AppServerAgent into this POC directory?

JB

0 Karma

Ahmedkhalil
Communicator

yes i have checked them and i have no issues in permission 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...