Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call Tree Always Empty on Tomcat #73

Open
motobeats opened this issue May 4, 2018 · 1 comment
Open

Call Tree Always Empty on Tomcat #73

motobeats opened this issue May 4, 2018 · 1 comment

Comments

@motobeats
Copy link

I'm experiencing the call tree always empty issue on Tomcat 7 with JRE 7. Only using the brower widget currently.

I read through #41 and #44 but none of those changes helped.

Current JAVA_OPTS - I know instrumenting "java" classes would never be done but at this early stage I am only trying to get a call tree to populate. I added a sleep timer (Thread.sleep) to a very simple JSP just as a way to have something long running for stagemonitor to grab.
/usr/lib/jvm/java/bin/java -server -Xms2048m -Xmx2048m -XX:MaxPermSize=512m -XX:PermSize=512m -javaagent:/var/lib/tomcat7/webapps/stagemonitor/WEB-INF/lib/byte-buddy-agent-1.7.9.jar -DSTAGEMONITOR_INSTRUMENT_INCLUDE=java

Included Stagemonitor by downloading the dependancies and including the jars in WEB-INF/lib. With that I got the widget to appear plus the signature and JVM metrics, all without using byte-buddy-agent. Adding the javaagent later has not added anything.

Also tried setting the Min Execution Time absurdly low to no avail. However, I'm not sure this setting is actually getting changed.

No mention of Stagemonitor, specifically the healthchecks, in catalina.log or tomcat.log which has me suspicious.

Java Version

java version "1.7.0_161"
Java(TM) SE Runtime Environment (build 1.7.0_161-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.161-b13, mixed mode)

Stagemonitor Version
./gradlew copyLibs -PstagemonitorVersion=0.88.4

Regards,

Andrew

@motobeats
Copy link
Author

Updated to Java 8 but same result

java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant