Permalink
Browse files

Update to Documentation and added XMS value for start memory allocation

  • Loading branch information...
1 parent bdd19a9 commit 32b4b998f996dbfe1384c9690476d410921f0986 Bastian Widmer committed Nov 10, 2011
Showing with 26 additions and 11 deletions.
  1. +0 −10 README
  2. +23 −0 README.md
  3. +3 −1 jackrabbit.sh
View
10 README
@@ -1,10 +0,0 @@
-Simple script to start / stop a Jackrabbit server.
-
-Author: D. Barsotti <daniel.barsotti@liip.ch>
-
-
-This relies on a PID file to check if Jackrabbit is running or not.
-If you kill Jackrabbit without removing the PID file, you will not be
-start Jackrabbit with this script before you manually removed the PID
-file.
-
View
@@ -0,0 +1,23 @@
+Simple script to start / stop a Jackrabbit server.
+
+Author: D. Barsotti <daniel.barsotti@liip.ch>, B. Widmer <bastian.widmer@liip.ch>
+
+Introduction
+============
+This relies on a PID file to check if Jackrabbit is running or not.
+If you kill Jackrabbit without removing the PID file, you will not be
+start Jackrabbit with this script before you manually removed the PID
+file.
+
+JMX Monitoring
+==============
+The default JMX-Port for monitoring is set to 1111.
+You have to copy the jmx.user.template and jmx.group.template to the directory where your
+Jackrabbit JAR file is stored and remove the .template suffix
+
+In the User file you should specify a different password for your admin user.
+
+Memory Settings
+===============
+You can Tweak the Memory Settings with the Values Xmx (Maximal Memory) Xms (Start Memory)
+and MaxPermSize (Size of Maximum permanent generation heap)
View
@@ -19,7 +19,9 @@ JMX_PORT=1111
### MEMORY ALLOCATION
MEMORY="-XX:MaxPermSize=128m \
- -Xmx512M"
+ -Xmx512M \
+ -Xms128M"
+
### JMX Management Parameters
MANAGEMENT="-Dcom.sun.management.jmxremote \

0 comments on commit 32b4b99

Please sign in to comment.