summaryrefslogtreecommitdiff
path: root/java/jca
diff options
context:
space:
mode:
authorWeston M. Price <wprice@apache.org>2012-06-13 18:23:08 +0000
committerWeston M. Price <wprice@apache.org>2012-06-13 18:23:08 +0000
commit50aed4957e057064effee741323b951fc40d554f (patch)
treea84b4384fc34c86c09e11f6138f563571b3bee6f /java/jca
parent073ed806a7908507c440f5b17ec399d1eec9de37 (diff)
downloadqpid-python-50aed4957e057064effee741323b951fc40d554f.tar.gz
NO-JIRA:
*Cleaned up JBoss7 configuration *Documentated cluster configuration for connection URL *Minor typo fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1349981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/jca')
-rw-r--r--java/jca/example/README-EXAMPLE.txt5
-rw-r--r--java/jca/example/build-jboss7-properties.xml5
-rw-r--r--java/jca/example/conf/qpid-standalone.xml2
3 files changed, 7 insertions, 5 deletions
diff --git a/java/jca/example/README-EXAMPLE.txt b/java/jca/example/README-EXAMPLE.txt
index 3a2ee0c38e..fd0af585ef 100644
--- a/java/jca/example/README-EXAMPLE.txt
+++ b/java/jca/example/README-EXAMPLE.txt
@@ -232,4 +232,9 @@ While this documentation highlights the major components and steps needed to tak
the possiblities for modifcation are numerous. You are encouraged to experiment with the example as you work
to develop your own messaging applications.
+***Note***
+Due to the way Ant handle XML escape characters in the Copy task, if you are attempting to deploy the
+examples to a clustered broker configuration, you will need to modify the resultant XML configuration
+file to remove the '&' character and replace it with the &amp; character. This file varies by app
+server. Please see the app server specific documentation for your platform for further details.
diff --git a/java/jca/example/build-jboss7-properties.xml b/java/jca/example/build-jboss7-properties.xml
index 68ecd8a4f4..d91d4f0db6 100644
--- a/java/jca/example/build-jboss7-properties.xml
+++ b/java/jca/example/build-jboss7-properties.xml
@@ -121,13 +121,10 @@
<target name="deploy-config" depends="generate" description="Deploys the standalone file to the JBoss environment.">
<copy todir="${jboss.config.dir}" overwrite="true">
<fileset dir="${gen.dir}">
- <include name="${jboss.server.config}.xml"/>
+ <include name="qpid-${jboss.server.config}.xml"/>
</fileset>
</copy>
</target>
- <target name="undeploy-ds" description="Undeploys the ds.xml file from the JBoss environment.">
- <delete file="${jboss.deploy}/qpid-jca-ds.xml"/>
- </target>
</project>
diff --git a/java/jca/example/conf/qpid-standalone.xml b/java/jca/example/conf/qpid-standalone.xml
index 8d6137aea7..2e22bd3f99 100644
--- a/java/jca/example/conf/qpid-standalone.xml
+++ b/java/jca/example/conf/qpid-standalone.xml
@@ -1,3 +1,4 @@
+<?xml version='1.0' encoding='UTF-8'?>
<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
@@ -18,7 +19,6 @@
- under the License.
-
-->
-<?xml version='1.0' encoding='UTF-8'?>
<server xmlns="urn:jboss:domain:1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance">