Skip to content

Commit 832dda6

Browse files
committed
Applied patch 1_7_remote_jmx
1 parent 308e27e commit 832dda6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

config/setenv.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rem run tomcat with JMX ability
2+
rem Run Tomcat as admin
3+
rem for remote connection add -Djava.rmi.server.hostname=TomcatServer_IP
4+
set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

config/setenv.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
# run tomcat with JMX ability as admin
3+
# for remote connection add -Djava.rmi.server.hostname=TomcatServer_IP
4+
export CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"

0 commit comments

Comments
 (0)