summaryrefslogtreecommitdiff
path: root/doc/book/src/Java-Environment-Variables.xml
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-02-05 22:24:57 +0000
committerJonathan Robie <jonathan@apache.org>2010-02-05 22:24:57 +0000
commitb7b377b051c6421f1d4642107642c05ca3779112 (patch)
tree53b610283f9c94db21767d8e72fa24b3e542f64e /doc/book/src/Java-Environment-Variables.xml
parent7f3d410aaf04260e85d9a207c78a4c8319393416 (diff)
downloadqpid-python-b7b377b051c6421f1d4642107642c05ca3779112.tar.gz
Changing filename conventions - no more file names with spaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'doc/book/src/Java-Environment-Variables.xml')
-rw-r--r--doc/book/src/Java-Environment-Variables.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/doc/book/src/Java-Environment-Variables.xml b/doc/book/src/Java-Environment-Variables.xml
new file mode 100644
index 0000000000..cc549aa277
--- /dev/null
+++ b/doc/book/src/Java-Environment-Variables.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<chapter xmlns:html="http://www.w3.org/1999/xhtml">
+ <title>
+ Apache Qpid : Java Environment Variables
+ </title>
+ <section role="h2" id="JavaEnvironmentVariables-SettingQpidEnvironmentVariables">
+ <title>
+ Setting
+ Qpid Environment Variables
+ </title>
+
+ <section role="h3" id="JavaEnvironmentVariables-QpidDeploymentPathVariables">
+ <title>
+ Qpid
+ Deployment Path Variables
+ </title>
+ <para>
+ There are two main Qpid environment variables which are required
+ to be set for Qpid deployments, QPID_HOME and QPID_WORK.
+ </para>
+ <para>
+ QPID_HOME - This variable is used to tell the Qpid broker where
+ it's installed home is, which is in turn used to find dependency
+ JARs which Qpid uses.
+ </para>
+ <para>
+ QPID_WORK - This variable is used by Qpid when creating all
+ 'writeable' directories that it uses. This includes the log
+ directory and the storage location for any BDB instances in use
+ by your deployment (if you're using persistence with BDB). If you
+ do not set this variable, then the broker will default (in the
+ qpid-server script) to use the current user's homedir as the root
+ directory for creating the writeable locations that it uses.
+ </para>
+
+ <!--h3-->
+ </section>
+
+ <section role="h3" id="JavaEnvironmentVariables-SettingMaxMemoryforthebroker">
+ <title>
+ Setting
+ Max Memory for the broker
+ </title>
+ <para>
+ If you simply start the Qpid broker, it will default to use a
+ -Xmx setting of 1024M for the broker JVM. However, we would
+ recommend that you make the maximum -Xmx heap size available, if
+ possible, of 3Gb (for 32-bit platforms).
+ </para>
+ <para>
+ You can control the memory setting for your broker by setting the
+ QPID_JAVA_MEM variable before starting the broker e.g. -Xmx3668m
+ . Enclose your value within quotes if you also specify a -Xms
+ value. The value in use is echo'd by the qpid-server script on
+ startup.
+ </para>
+ <!--h3-->
+ </section>
+
+ <!--h2-->
+ </section>
+
+</chapter>