svn commit: r1159169 - /ofbiz/trunk/startofbiz.sh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1159169 - /ofbiz/trunk/startofbiz.sh

jleroux@apache.org
Author: jleroux
Date: Thu Aug 18 11:25:25 2011
New Revision: 1159169

URL: http://svn.apache.org/viewvc?rev=1159169&view=rev
Log:
Allows to use JMX+jconsole to monitor OFBiz on remote port 33333. Unfortunately since Tomcat version 6 there are no longer cluster JMX messages

Modified:
    ofbiz/trunk/startofbiz.sh

Modified: ofbiz/trunk/startofbiz.sh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/startofbiz.sh?rev=1159169&r1=1159168&r2=1159169&view=diff
==============================================================================
--- ofbiz/trunk/startofbiz.sh (original)
+++ ofbiz/trunk/startofbiz.sh Thu Aug 18 11:25:25 2011
@@ -36,8 +36,9 @@ ADMIN="-Dofbiz.admin.port=$ADMIN_PORT -D
 #IPADDR=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
 #RMIIF="-Djava.rmi.server.hostname=$IPADDR"
 MEMIF="-Xms128M -Xmx512M -XX:MaxPermSize=512m"
+#JMX="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=33333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
 #MISC="-Duser.language=en"
-VMARGS="$MEMIF $MISC $DEBUG $RMIIF $ADMIN"
+VMARGS="$MEMIF $MISC $JMX $DEBUG $RMIIF $ADMIN"
 
 # Worldpay Config
 #VMARGS="-Xbootclasspath/p:applications/accounting/lib/cryptix.jar $VMARGS"