Open shaisthajabeen610 opened 1 year ago
@shaisthajabeen610 if you dont detail your problem we wont be able to help.
Hi all,
I am trying to configure Pinpoint on my java application container, to monitor application using Pinpoint.
I have downloaded pinpoint agent in the container. and then tried to run -javaagent:$AGENT_PATH/pinpoint-bootstrap-$VERSION.jar
I got error after running javaagent. please find below screenshot.
Is there anything I missed,
Help is really appreciated
You should configure your ApplicationName with -Dpinpoint.applicationName=${APP_NAME}
option.
Please see JAVA_OPTS in docker-compose file.
Hi Ram,
This is my repo https://github.com/shaisthajabeen610/smartopsdemo.git
Please let me know what else changes are need to be done.
Thanks in advance
@shaisthajabeen610
It seems the smartops-server.tar.gz is a tomcat.
My suggestion would be create a file called setenv.sh inside the bin folder of your tomcat.
Inside it you should put your agent properties as already described by @ga-ram
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/..."