Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-21-2017 08:53 PM
I did same as docs
I put export CATALINA_OPTS="$CTALINA_OPTS -javaagent:/home/centos/AppJavaAgent/javaagent.jar" this in /usr/local/tomcat/bin/setenv.sh
but after this I can't start my tomcat agin.
IF I comment this line it will run.
Can you help me to fix this?
Which logs I can go for troubleshoot?
Thanks in Advance.
10-22-2017 10:44 PM
Hi ,
Could you please confirm whether it is throwing any specific error. Please attach the sentenv.sh file to verify the configuration.
Thanks,
Atyuha
10-23-2017 10:49 AM
10-23-2017 09:12 PM
Hi,
Could you please pass the javaagent.jar as a JAVA_OPTS and check if it works
For example:
export JAVA_OPTS="-javaagent:/home/centos/AppJavaAgent/javaagent.jar -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1024m -Xmx2048m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512m -XX:MaxPermSize=512m"
Thanks,
Atyuha
07-05-2022 01:08 AM
Sorry i just wanna share this is work for my case (can't start up tomcat if use CATALINA_OPTS="$CATALINA_OPTS
Thanks
07-05-2022 09:21 AM
Are you saying this solution above does work or does not?
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form