From 5e09be7cc6ed2de1be4db0f8d345e0e4685ba801 Mon Sep 17 00:00:00 2001 From: "Weston M. Price" Date: Tue, 17 Apr 2012 21:38:29 +0000 Subject: QPID-3701 -Add support for Glassfish 3.1.1 AS -Add necessary configuration files for Glassfish support -Reworked JNDI naming conventions to be consistent across all supported app servers -Fixed NPE in QpidConnectionFactoryProxy -Added necessary documentation files for Glassfish support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327294 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/jca/example/conf/geronimo-application.xml | 2 +- qpid/java/jca/example/conf/geronimo-ra.xml | 18 +++--- qpid/java/jca/example/conf/glassfish-ejb-jar.xml | 70 ++++++++++++++++++++ qpid/java/jca/example/conf/glassfish-resources.xml | 74 ++++++++++++++++++++++ qpid/java/jca/example/conf/glassfish-web.xml | 26 ++++++++ 5 files changed, 181 insertions(+), 9 deletions(-) create mode 100644 qpid/java/jca/example/conf/glassfish-ejb-jar.xml create mode 100644 qpid/java/jca/example/conf/glassfish-resources.xml create mode 100644 qpid/java/jca/example/conf/glassfish-web.xml (limited to 'qpid/java/jca/example/conf') diff --git a/qpid/java/jca/example/conf/geronimo-application.xml b/qpid/java/jca/example/conf/geronimo-application.xml index a855e0fae8..384f6b2e75 100644 --- a/qpid/java/jca/example/conf/geronimo-application.xml +++ b/qpid/java/jca/example/conf/geronimo-application.xml @@ -21,7 +21,7 @@ --> diff --git a/qpid/java/jca/example/conf/geronimo-ra.xml b/qpid/java/jca/example/conf/geronimo-ra.xml index 926c73baf1..a7511f647f 100644 --- a/qpid/java/jca/example/conf/geronimo-ra.xml +++ b/qpid/java/jca/example/conf/geronimo-ra.xml @@ -74,7 +74,7 @@ org.apache.qpid.ra.admin.QpidTopic org.apache.qpid.ra.admin.QpidTopicImpl - HelloTopic + HelloTopic @qpid.hello.topic.dest.address@ @@ -82,23 +82,25 @@ org.apache.qpid.ra.admin.QpidTopic org.apache.qpid.ra.admin.QpidTopicImpl - GoodByeTopic + GoodByeTopic @qpid.goodbye.topic.dest.address@ + org.apache.qpid.ra.admin.QpidQueue org.apache.qpid.ra.admin.QpidQueueImpl - HelloQueue + HelloQueue @qpid.hello.queue.dest.address@ @@ -106,7 +108,7 @@ org.apache.qpid.ra.admin.QpidQueue org.apache.qpid.ra.admin.QpidQueueImpl - GoodByeQueue + GoodByeQueue @qpid.goodbye.queue.dest.address@ @@ -114,7 +116,7 @@ org.apache.qpid.ra.admin.QpidQueue org.apache.qpid.ra.admin.QpidQueueImpl - RequestQueue + RequestQueue @qpid.request.queue.dest.address@ @@ -122,7 +124,7 @@ org.apache.qpid.ra.admin.QpidQueue org.apache.qpid.ra.admin.QpidQueueImpl - ResponseQueue + ResponseQueue @qpid.response.queue.dest.address@ @@ -130,7 +132,7 @@ javax.jms.ConnectionFactory org.apache.qpid.ra.admin.QpidConnectionFactoryProxy - QpidConnectionFactory + QpidConnectionFactory @broker.url@ diff --git a/qpid/java/jca/example/conf/glassfish-ejb-jar.xml b/qpid/java/jca/example/conf/glassfish-ejb-jar.xml new file mode 100644 index 0000000000..e3ea140472 --- /dev/null +++ b/qpid/java/jca/example/conf/glassfish-ejb-jar.xml @@ -0,0 +1,70 @@ + + + + + + QpidHelloListenerBean + HelloQueue + + qpid-ra-@rar.ver@ + + + QpidJMSXA + QpidJMSXA + + + + QpidGoodByeListenerBean + GoodByeQueue + + qpid-ra-@rar.ver@ + + + QpidJMSXA + QpidJMSXA + + + + QpidHelloSubscriberBean + HelloTopic + + qpid-ra-@rar.ver@ + + + QpidJMSXA + QpidJMSXA + + + + QpidGoodByeSubscriberBean + GoodByeTopic + + qpid-ra-@rar.ver@ + + + QpidJMSXA + QpidJMSXA + + + + QpidJMSResponderBean + QpidResponderQueue + + qpid-ra-@rar.ver@ + + + QpidJMSXA + QpidJMSXA + + + + QpidTestBean + QpidTestBean + + QpidJMSXA + QpidJMSXA + + + + + diff --git a/qpid/java/jca/example/conf/glassfish-resources.xml b/qpid/java/jca/example/conf/glassfish-resources.xml new file mode 100644 index 0000000000..9eab4302d5 --- /dev/null +++ b/qpid/java/jca/example/conf/glassfish-resources.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/qpid/java/jca/example/conf/glassfish-web.xml b/qpid/java/jca/example/conf/glassfish-web.xml new file mode 100644 index 0000000000..950ee73d51 --- /dev/null +++ b/qpid/java/jca/example/conf/glassfish-web.xml @@ -0,0 +1,26 @@ + + + + + qpid-jca-web + + + QpidTestBean + QpidTestBean + + + + QpidJMSXA + QpidJMSXA + + + HelloQueue + HelloQueue + + + HelloTopic + HelloTopic + + + + -- cgit v1.2.1