diff --git a/install/config.properties b/install/config.properties index 3a118be..79e0724 100644 --- a/install/config.properties +++ b/install/config.properties @@ -65,6 +65,12 @@ overwrite-call-trees-runtime-data=true # from 1 to 1000. stack-monitoring-sample-rate=10 +# If running the application on top of an application server or framework (spring, tomcat, etc.) +# This changes how JoularJX loops when monitoring, using a while-true loop instead of a checking if the JVM is destroyed +# On standard Java applications, the while-true loop don't quit when the application ends, hence why destroying the VM +# Values: true, false +application-server=false + # Path for our power monitor program on Windows # On Windows, please escape slashes twice powermonitor-path=C:\\joularjx\\PowerMonitor.exe \ No newline at end of file diff --git a/install/joularjx-2.8.2.jar b/install/joularjx-2.8.2.jar deleted file mode 100644 index 390c2a1..0000000 Binary files a/install/joularjx-2.8.2.jar and /dev/null differ diff --git a/install/joularjx-2.8.3.jar b/install/joularjx-2.8.3.jar new file mode 100644 index 0000000..6f63ab6 Binary files /dev/null and b/install/joularjx-2.8.3.jar differ diff --git a/pom.xml b/pom.xml index fe1eb64..bfae4d5 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ org.noureddine joularjx - 2.8.2 + 2.8.3 jar ${project.artifactId} @@ -71,7 +71,7 @@ org.junit junit-bom - 5.10.1 + 5.10.2 import pom @@ -83,7 +83,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.12.1 + 3.13.0 true diff --git a/src/main/java/org/noureddine/joularjx/Agent.java b/src/main/java/org/noureddine/joularjx/Agent.java index e7bd388..590bd07 100644 --- a/src/main/java/org/noureddine/joularjx/Agent.java +++ b/src/main/java/org/noureddine/joularjx/Agent.java @@ -46,7 +46,7 @@ public static void premain(String args, Instrumentation inst) { JoularJXLogging.updateLevel(properties.getLoggerLevel()); logger.info("+---------------------------------+"); - logger.info("| JoularJX Agent Version 2.8.2 |"); + logger.info("| JoularJX Agent Version 2.8.3 |"); logger.info("+---------------------------------+"); ThreadMXBean threadBean = createThreadBean();