Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to Documentation and added XMS value for start memory allocation

  • Loading branch information...
commit 32b4b998f996dbfe1384c9690476d410921f0986 1 parent bdd19a9
Bastian Widmer authored
Showing with 26 additions and 11 deletions.
  1. +0 −10 README
  2. +23 −0 README.md
  3. +3 −1 jackrabbit.sh
10 README
View
@@ -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.
-
23 README.md
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)
4 jackrabbit.sh
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 \
Please sign in to comment.
Something went wrong with that request. Please try again.