From 4c4144501d07874457ab890c62f88c472f832a41 Mon Sep 17 00:00:00 2001 From: Frank Maritato Date: Thu, 23 Sep 2010 22:07:04 +0000 Subject: [PATCH] added jmx flags that turn off auth (for now) git-svn-id: https://lwes.svn.sourceforge.net/svnroot/lwes/lwes-journaller-java/trunk@568 a2f82657-cdd2-4550-bd36-68a8e7111808 --- src/bin/lwes-journaller | 4 ++++ src/bin/lwes-rotate-log | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/bin/lwes-journaller b/src/bin/lwes-journaller index b6513dc..49d62d4 100755 --- a/src/bin/lwes-journaller +++ b/src/bin/lwes-journaller @@ -22,6 +22,10 @@ CP=${CP}:${bin}/config $JAVA_HOME/bin/java \ $JAVA_OPTS \ +-Dcom.sun.management.jmxremote \ +-Dcom.sun.management.jmxremote.port=9999 \ +-Dcom.sun.management.jmxremote.authenticate=false \ +-Dcom.sun.management.jmxremote.ssl=false \ -Dlog4j.configuration=log4j.xml \ -classpath $CP \ org.lwes.journaller.Journaller $@ & diff --git a/src/bin/lwes-rotate-log b/src/bin/lwes-rotate-log index de16b8f..a59a772 100644 --- a/src/bin/lwes-rotate-log +++ b/src/bin/lwes-rotate-log @@ -19,6 +19,8 @@ done CP=${CP}:${bin}/config $JAVA_HOME/bin/java \ +-Dcom.sun.management.jmxremote.authenticate=false \ +-Dcom.sun.management.jmxremote.ssl=false \ -Dlog4j.configuration=log4j.xml \ -classpath $CP \ -org.lwes.util.JMXUtil $@ \ No newline at end of file +org.lwes.journaller.util.Rotate $@ \ No newline at end of file -- 2.11.4.GIT