summaryrefslogtreecommitdiff
path: root/qpid/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
commit21fbb39e510e668f8dbcf221a8d4ba8c3a84f6b7 (patch)
tree379e61f00b45ba0f14891a2bd5eccc9764baf9a9 /qpid/doc/book/src/Java-Environment-Variables.xml
parent6d6211709b3ced93b84b7f834684bd88c8e93b55 (diff)
downloadqpid-python-21fbb39e510e668f8dbcf221a8d4ba8c3a84f6b7.tar.gz
Changing filename conventions - no more file names with spaces.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@907115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/doc/book/src/Java-Environment-Variables.xml')
-rw-r--r--qpid/doc/book/src/Java-Environment-Variables.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/qpid/doc/book/src/Java-Environment-Variables.xml b/qpid/doc/book/src/Java-Environment-Variables.xml
new file mode 100644
index 0000000000..cc549aa277
--- /dev/null
+++ b/qpid/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>