diff options
Diffstat (limited to 'qpid/java/jca/example/conf')
| -rw-r--r-- | qpid/java/jca/example/conf/application.xml | 37 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/ejb-jar.xml | 40 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/geronimo-application.xml | 121 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/geronimo-ra.xml | 141 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/glassfish-ejb-jar.xml | 90 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/glassfish-resources.xml | 94 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/glassfish-web.xml | 46 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/jboss-ejb-client.properties | 12 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/jboss-web.xml | 39 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/jboss.xml | 52 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/log4j.properties | 36 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/qpid-jca-ds.xml | 126 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/qpid-standalone.xml | 422 | ||||
| -rw-r--r-- | qpid/java/jca/example/conf/web.xml | 50 |
14 files changed, 0 insertions, 1306 deletions
diff --git a/qpid/java/jca/example/conf/application.xml b/qpid/java/jca/example/conf/application.xml deleted file mode 100644 index d181bcda67..0000000000 --- a/qpid/java/jca/example/conf/application.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"> - - <module> - <ejb>@ejb.name@</ejb> - </module> - - <module> - <web> - <web-uri>@war.name@</web-uri> - <context-root>/qpid-jca-web</context-root> - </web> - </module> - -</application> - diff --git a/qpid/java/jca/example/conf/ejb-jar.xml b/qpid/java/jca/example/conf/ejb-jar.xml deleted file mode 100644 index a1aa859d96..0000000000 --- a/qpid/java/jca/example/conf/ejb-jar.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee - http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"> - - <enterprise-beans> - <message-driven> - <ejb-name>QpidHelloListenerBean</ejb-name> - </message-driven> - <message-driven> - <ejb-name>QpidHelloSubscriberBean</ejb-name> - </message-driven> - <message-driven> - <ejb-name>QpidJMSResponderBean</ejb-name> - </message-driven> - </enterprise-beans> - - -</ejb-jar> diff --git a/qpid/java/jca/example/conf/geronimo-application.xml b/qpid/java/jca/example/conf/geronimo-application.xml deleted file mode 100644 index 384f6b2e75..0000000000 --- a/qpid/java/jca/example/conf/geronimo-application.xml +++ /dev/null @@ -1,121 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" - xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2" - xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2" - application-name="QpidJCAExampleApplication"> - - <sys:environment> - <sys:moduleId> - <sys:groupId>@geronimo.ear.group.id@</sys:groupId> - <sys:artifactId>@geronimo.ear.artifact.id@</sys:artifactId> - <sys:version>@geronimo.ear.version@</sys:version> - <sys:type>@geronimo.ear.type@</sys:type> - </sys:moduleId> - </sys:environment> - - <!-- Plan for embedded WAR --> - <module> - <web>qpid-jcaex-web.war</web> - <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"> - - <sys:environment> - <sys:moduleId> - <sys:groupId>@geronimo.war.group.id@</sys:groupId> - <sys:artifactId>@geronimo.war.artifact.id@</sys:artifactId> - <sys:version>@geronimo.war.version@</sys:version> - <sys:type>@geronimo.war.type@</sys:type> - </sys:moduleId> - - <sys:dependencies> - <sys:dependency> - <sys:groupId>qpid.jca</sys:groupId> - <sys:artifactId>QpidJCAAdapter</sys:artifactId> - <sys:version>1.0</sys:version> - <sys:type>rar</sys:type> - </sys:dependency> - </sys:dependencies> - </sys:environment> - - <context-root>/qpid-jca-web</context-root> - - </web-app> - </module> - - <!-- Plan for embedded EJBs --> - <module> - <ejb>qpid-jcaex-ejb.jar</ejb> - <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"> - - <sys:environment> - <sys:moduleId> - <sys:groupId>@geronimo.ejb.group.id@</sys:groupId> - <sys:artifactId>@geronimo.ejb.artifact.id@</sys:artifactId> - <sys:version>@geronimo.ejb.version@</sys:version> - <sys:type>@geronimo.ejb.type@</sys:type> - </sys:moduleId> - - <sys:dependencies> - <sys:dependency> - <sys:groupId>qpid.jca</sys:groupId> - <sys:artifactId>QpidJCAAdapter</sys:artifactId> - <sys:version>1.0</sys:version> - <sys:type>rar</sys:type> - </sys:dependency> - </sys:dependencies> - </sys:environment> - - <enterprise-beans> - <message-driven> - <ejb-name>QpidHelloListenerBean</ejb-name> - <resource-adapter> - <resource-link>QpidResourceAdapter</resource-link> - </resource-adapter> - </message-driven> - <message-driven> - <ejb-name>QpidGoodByeListenerBean</ejb-name> - <resource-adapter> - <resource-link>QpidResourceAdapter</resource-link> - </resource-adapter> - </message-driven> - <message-driven> - <ejb-name>QpidHelloSubscriberBean</ejb-name> - <resource-adapter> - <resource-link>QpidResourceAdapter</resource-link> - </resource-adapter> - </message-driven> - <message-driven> - <ejb-name>QpidGoodByeSubscriberBean</ejb-name> - <resource-adapter> - <resource-link>QpidResourceAdapter</resource-link> - </resource-adapter> - </message-driven> - <message-driven> - <ejb-name>QpidJMSResponderBean</ejb-name> - <resource-adapter> - <resource-link>QpidResourceAdapter</resource-link> - </resource-adapter> - </message-driven> - </enterprise-beans> - </openejb-jar> - </module> -</application> diff --git a/qpid/java/jca/example/conf/geronimo-ra.xml b/qpid/java/jca/example/conf/geronimo-ra.xml deleted file mode 100644 index a7511f647f..0000000000 --- a/qpid/java/jca/example/conf/geronimo-ra.xml +++ /dev/null @@ -1,141 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"> - <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> - <dep:moduleId> - <dep:groupId>qpid.jca</dep:groupId> - <dep:artifactId>QpidJCAAdapter</dep:artifactId> - <dep:version>1.0</dep:version> - <dep:type>rar</dep:type> - </dep:moduleId> - </dep:environment> - <resourceadapter> - <resourceadapter-instance> - <resourceadapter-name>QpidResourceAdapter</resourceadapter-name> - <config-property-setting name="ClientId">client_id</config-property-setting> - <config-property-setting name="TransactionManagerLocatorClass">org.apache.qpid.ra.tm.GeronimoTransactionManagerLocator</config-property-setting> - <config-property-setting name="TransactionManagerLocatorMethod">getTransactionManager</config-property-setting> - <!-- Note, currently there is a bug with end/suspend and Geronimo. For now use local transactions--> - <config-property-setting name="UseLocalTx">true</config-property-setting> - <workmanager> - <gbean-link>DefaultWorkManager</gbean-link> - </workmanager> - </resourceadapter-instance> - <outbound-resourceadapter> - <connection-definition> - <connectionfactory-interface>org.apache.qpid.ra.QpidRAConnectionFactory</connectionfactory-interface> - <connectiondefinition-instance> - <name>QpidJMSXA</name> - <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface> - <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface> - <config-property-setting name="ConnectionURL">@broker.url@</config-property-setting> - <connectionmanager> - <!-- Note, currently there is a bug with end/suspend and Geronimo. For now use no transactions outbound --> - <no-transaction/> - <single-pool> - <max-size>20</max-size> - <min-size>0</min-size> - <match-one/> - </single-pool> - </connectionmanager> - </connectiondefinition-instance> - </connection-definition> - </outbound-resourceadapter> - <!-- Note, do not remove this admin object. There appears to be a bug in Geronimo's deployer that does not correctly create JNDI references - if an extra admin object is not present --> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidTopic</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidTopicImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>Dummy</message-destination-name> - <config-property-setting name="DestinationAddress">amq.topic</config-property-setting> - </adminobject-instance> - </adminobject> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidTopic</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidTopicImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>HelloTopic</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.hello.topic.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidTopic</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidTopicImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>GoodByeTopic</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.goodbye.topic.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - <!-- - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidTopic</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidTopicImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>jms/HelloGoodByeTopic</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.hellogoodbye.topic.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - --> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidQueue</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidQueueImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>HelloQueue</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.hello.queue.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidQueue</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidQueueImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>GoodByeQueue</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.goodbye.queue.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidQueue</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidQueueImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>RequestQueue</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.request.queue.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - <adminobject> - <adminobject-interface>org.apache.qpid.ra.admin.QpidQueue</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidQueueImpl</adminobject-class> - <adminobject-instance> - <message-destination-name>ResponseQueue</message-destination-name> - <config-property-setting name="DestinationAddress">@qpid.response.queue.dest.address@</config-property-setting> - </adminobject-instance> - </adminobject> - <adminobject> - <adminobject-interface>javax.jms.ConnectionFactory</adminobject-interface> - <adminobject-class>org.apache.qpid.ra.admin.QpidConnectionFactoryProxy</adminobject-class> - <adminobject-instance> - <message-destination-name>QpidConnectionFactory</message-destination-name> - <config-property-setting name="ConnectionURL">@broker.url@</config-property-setting> - </adminobject-instance> - </adminobject> - </resourceadapter> -</connector> - diff --git a/qpid/java/jca/example/conf/glassfish-ejb-jar.xml b/qpid/java/jca/example/conf/glassfish-ejb-jar.xml deleted file mode 100644 index 3416e2b4ae..0000000000 --- a/qpid/java/jca/example/conf/glassfish-ejb-jar.xml +++ /dev/null @@ -1,90 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<!DOCTYPE glassfish-ejb-jar PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 EJB 3.1//EN" "http://glassfish.org/dtds/glassfish-ejb-jar_3_1-1.dtd"> -<glassfish-ejb-jar> - <enterprise-beans> - <ejb> - <ejb-name>QpidHelloListenerBean</ejb-name> - <jndi-name>HelloQueue</jndi-name> - <mdb-resource-adapter> - <resource-adapter-mid>qpid-ra-@rar.ver@</resource-adapter-mid> - </mdb-resource-adapter> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - </ejb> - <ejb> - <ejb-name>QpidGoodByeListenerBean</ejb-name> - <jndi-name>GoodByeQueue</jndi-name> - <mdb-resource-adapter> - <resource-adapter-mid>qpid-ra-@rar.ver@</resource-adapter-mid> - </mdb-resource-adapter> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - </ejb> - <ejb> - <ejb-name>QpidHelloSubscriberBean</ejb-name> - <jndi-name>HelloTopic</jndi-name> - <mdb-resource-adapter> - <resource-adapter-mid>qpid-ra-@rar.ver@</resource-adapter-mid> - </mdb-resource-adapter> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - </ejb> - <ejb> - <ejb-name>QpidGoodByeSubscriberBean</ejb-name> - <jndi-name>GoodByeTopic</jndi-name> - <mdb-resource-adapter> - <resource-adapter-mid>qpid-ra-@rar.ver@</resource-adapter-mid> - </mdb-resource-adapter> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - </ejb> - <ejb> - <ejb-name>QpidJMSResponderBean</ejb-name> - <jndi-name>QpidResponderQueue</jndi-name> - <mdb-resource-adapter> - <resource-adapter-mid>qpid-ra-@rar.ver@</resource-adapter-mid> - </mdb-resource-adapter> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - </ejb> - <ejb> - <ejb-name>QpidTestBean</ejb-name> - <jndi-name>QpidTestBean</jndi-name> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - </ejb> - </enterprise-beans> -</glassfish-ejb-jar> - diff --git a/qpid/java/jca/example/conf/glassfish-resources.xml b/qpid/java/jca/example/conf/glassfish-resources.xml deleted file mode 100644 index ce1fc5b764..0000000000 --- a/qpid/java/jca/example/conf/glassfish-resources.xml +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd"> -<resources> - - - <resource-adapter-config name="QpidResourceAdapter" resource-adapter-name="qpid-ra-@rar.ver@" thread-pool-ids="thread-pool-1"> - <property name="TransactionManagerLocatorClass" value="org.apache.qpid.ra.tm.GlassfishTransactionManagerLocator"/> - <property name="TransactionManagerLocatorMethod" value="getTm"/> - </resource-adapter-config> - - <!--XAConnectionFactory--> - <connector-connection-pool - name="QpidJMSXAPool" - resource-adapter-name="qpid-ra-@rar.ver@" - connection-definition-name="org.apache.qpid.ra.QpidRAConnectionFactory" - transaction-support="XATransaction" - ping="true"> - <property name="connectionURL" value="@broker.url@"/> - <property name="SessionDefaultType" value="javax.jms.Queue"/> - </connector-connection-pool> - - <connector-resource jndi-name="QpidJMSXA" pool-name="QpidJMSXAPool"/> - - <!--LocalTransaction ConnectionFactory - <connector-connection-pool - name="QpidJMSPool" - resource-adapter-name="qpid-ra-@rar.ver@" - connection-definition-name="org.apache.qpid.ra.QpidRAConnectionFactory" - transaction-support="LocalTransaction" - ping="true"> - <property name="connectionURL" value="@broker.url@"/> - <property name="SessionDefaultType" value="javax.jms.Queue"/> - <property name="UseLocalTx" value="true"/> - </connector-connection-pool> - - - <connector-resource jndi-name="QpidJMS" pool-name="QpidJMSPool"/> - - --> - <!--Destinations--> - <admin-object-resource jndi-name="HelloQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> - <property name="DestinationAddress" value="@qpid.hello.queue.dest.address@"/> - </admin-object-resource> - - <admin-object-resource jndi-name="GoodByeQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> - <property name="DestinationAddress" value="@qpid.goodbye.queue.dest.address@"/> - </admin-object-resource> - - <admin-object-resource jndi-name="HelloTopic" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidTopic" class-name="org.apache.qpid.ra.admin.QpidTopicImpl"> - <property name="DestinationAddress" value="@qpid.hello.topic.dest.address@"/> - </admin-object-resource> - - <admin-object-resource jndi-name="GoodByeTopic" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidTopic" class-name="org.apache.qpid.ra.admin.QpidTopicImpl"> - <property name="DestinationAddress" value="@qpid.goodbye.topic.dest.address@"/> - </admin-object-resource> - - <!-- - <admin-object-resource jndi-name="HelloGoodByeTopic" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidTopic" class-name="org.apache.qpid.ra.admin.QpidTopicImpl"> - <property name="DestinationAddress" value="@qpid.hellogoodbye.topic.dest.address@"/> - </admin-object-resource> - --> - <admin-object-resource jndi-name="QpidRequestQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> - <property name="DestinationAddress" value="@qpid.request.queue.dest.address@"/> - </admin-object-resource> - - <admin-object-resource jndi-name="QpidResponseQueue" res-adapter="qpid-ra-@rar.ver@" res-type="org.apache.qpid.ra.admin.QpidQueue" class-name="org.apache.qpid.ra.admin.QpidQueueImpl"> - <property name="DestinationAddress" value="@qpid.response.queue.dest.address@"/> - </admin-object-resource> - - <admin-object-resource jndi-name="QpidConnectionFactory" res-adapter="qpid-ra-@rar.ver@" res-type="javax.jms.ConnectionFactory" class-name="org.apache.qpid.ra.admin.QpidConnectionFactoryProxy"> - <property name="ConnectionURL" value="@broker.url@"/> - </admin-object-resource> - -</resources> diff --git a/qpid/java/jca/example/conf/glassfish-web.xml b/qpid/java/jca/example/conf/glassfish-web.xml deleted file mode 100644 index 3aa49c01b1..0000000000 --- a/qpid/java/jca/example/conf/glassfish-web.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd"> -<glassfish-web-app> - - <context-root>qpid-jca-web</context-root> - - <ejb-ref> - <ejb-ref-name>QpidTestBean</ejb-ref-name> - <jndi-name>QpidTestBean</jndi-name> - </ejb-ref> - - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <jndi-name>QpidJMSXA</jndi-name> - </resource-ref> - <resource-env-ref> - <res-env-ref-name>HelloQueue</res-env-ref-name> - <jndi-name>HelloQueue</jndi-name> - </resource-env-ref> - <resource-ref> - <res-ref-name>HelloTopic</res-ref-name> - <jndi-name>HelloTopic</jndi-name> - </resource-ref> - - -</glassfish-web-app> diff --git a/qpid/java/jca/example/conf/jboss-ejb-client.properties b/qpid/java/jca/example/conf/jboss-ejb-client.properties deleted file mode 100644 index 9b62e6794c..0000000000 --- a/qpid/java/jca/example/conf/jboss-ejb-client.properties +++ /dev/null @@ -1,12 +0,0 @@ -endpoint.name=client-endpoint -remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false - -remote.connections=default - -remote.connection.default.host=localhost -remote.connection.default.port = 4447 -remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false - -remote.connection.default.username=CHANGEME -remote.connection.default.password=CHANGEME - diff --git a/qpid/java/jca/example/conf/jboss-web.xml b/qpid/java/jca/example/conf/jboss-web.xml deleted file mode 100644 index 32a97d1c35..0000000000 --- a/qpid/java/jca/example/conf/jboss-web.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<jboss-web> - <resource-ref> - <res-ref-name>QpidJMSXA</res-ref-name> - <res-type>javax.jms.ConnectionFactory</res-type> - <jndi-name>java:/QpidJMSXA</jndi-name> - </resource-ref> - <resource-ref> - <res-ref-name>QpidJMS</res-ref-name> - <res-type>javax.jms.ConnectionFactory</res-type> - <jndi-name>java:/QpidJMS</jndi-name> - </resource-ref> - <ejb-local-ref> - <ejb-ref-name>QpidTestBean</ejb-ref-name> - <jndi-name>qpid-jcaex/QpidTestBean/local</jndi-name> - </ejb-local-ref> - <context-root>qpid-jca-web</context-root> -</jboss-web> - diff --git a/qpid/java/jca/example/conf/jboss.xml b/qpid/java/jca/example/conf/jboss.xml deleted file mode 100644 index 0f22797789..0000000000 --- a/qpid/java/jca/example/conf/jboss.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<jboss - xmlns="http://www.jboss.com/xml/ns/javaee" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee - http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" - version="3.0"> - - <enterprise-beans> - <message-driven> - <ejb-name>QpidHelloListenerBean</ejb-name> - <resource-adapter-name>@rar.name@</resource-adapter-name> - </message-driven> - <message-driven> - <ejb-name>QpidGoodByeListenerBean</ejb-name> - <resource-adapter-name>@rar.name@</resource-adapter-name> - </message-driven> - <message-driven> - <ejb-name>QpidHelloSubscriberBean</ejb-name> - <resource-adapter-name>@rar.name@</resource-adapter-name> - </message-driven> - <message-driven> - <ejb-name>QpidGoodByeSubscriberBean</ejb-name> - <resource-adapter-name>@rar.name@</resource-adapter-name> - </message-driven> - <message-driven> - <ejb-name>QpidJMSResponderBean</ejb-name> - <resource-adapter-name>@rar.name@</resource-adapter-name> - </message-driven> - </enterprise-beans> - -</jboss> diff --git a/qpid/java/jca/example/conf/log4j.properties b/qpid/java/jca/example/conf/log4j.properties deleted file mode 100644 index 1139ab9e85..0000000000 --- a/qpid/java/jca/example/conf/log4j.properties +++ /dev/null @@ -1,36 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -log4j.rootLogger=DEBUG, CONSOLE, FILE - -#Console Appender -log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender -log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout -log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n - -#File Appender -log4j.appender.FILE=org.apache.log4j.FileAppender -log4j.appender.FILE.File=./build/log/qpid-jca-example.log -log4j.appender.FILE.layout=org.apache.log4j.PatternLayout -log4j.appender.FILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n - -log4j.logger.org.jboss=WARN -log4j.logger.org.jnp.interfaces=WARN -log4j.logger.org.apache.qpid=ERROR -log4j.logger.org.apache.qpid.jca.example=DEBUG - diff --git a/qpid/java/jca/example/conf/qpid-jca-ds.xml b/qpid/java/jca/example/conf/qpid-jca-ds.xml deleted file mode 100644 index ad75876808..0000000000 --- a/qpid/java/jca/example/conf/qpid-jca-ds.xml +++ /dev/null @@ -1,126 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<connection-factories> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=HelloTopic"> - <attribute name="JNDIName">HelloTopic</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidTopic</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.hello.topic.dest.address@ - </attribute> - </mbean> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=GoodByeTopic"> - <attribute name="JNDIName">GoodByeTopic</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidTopic</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.goodbye.topic.dest.address@ - </attribute> - </mbean> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=HelloGoodByeTopic"> - <attribute name="JNDIName">HelloGoodByeTopic</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidTopic</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.hellogoodbye.topic.dest.address@ - </attribute> - </mbean> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=HelloQueue"> - <attribute name="JNDIName">HelloQueue</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidQueue</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.hello.queue.dest.address@ - </attribute> - </mbean> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=GoodByeQueue"> - <attribute name="JNDIName">GoodByeQueue</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidQueue</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.goodbye.queue.dest.address@ - </attribute> - </mbean> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=QpidRequestQueue"> - <attribute name="JNDIName">QpidRequestQueue</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidQueue</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.request.queue.dest.address@ - </attribute> - </mbean> - - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=QpidResponseQueue"> - <attribute name="JNDIName">QpidResponseQueue</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">org.apache.qpid.ra.admin.QpidQueue</attribute> - <attribute name="Properties"> - DestinationAddress=@qpid.response.queue.dest.address@ - </attribute> - </mbean> - <mbean code="org.jboss.resource.deployment.AdminObject" - name="qpid.jca:name=QpidConnectionFactory"> - <attribute name="JNDIName">QpidConnectionFactory</attribute> - <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='@rar.name@'</depends> - <attribute name="Type">javax.jms.ConnectionFactory</attribute> - <attribute name="Properties"> - ConnectionURL=@broker.url@ - </attribute> - </mbean> - - <!-- Non XA connection factory. Can be used when running adapter against clustered Brokers --> - <tx-connection-factory> - <jndi-name>QpidJMS</jndi-name> - <rar-name>@rar.name@</rar-name> - <local-transaction/> - <config-property name="useLocalTx" type="java.lang.Boolean">true</config-property> - <config-property name="connectionURL">@broker.url@</config-property> - <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Queue</config-property> - <connection-definition>org.apache.qpid.ra.QpidRAConnectionFactory</connection-definition> - <max-pool-size>20</max-pool-size> - </tx-connection-factory> - - <!--XA ConnectionFactory--> - <tx-connection-factory> - <jndi-name>QpidJMSXA</jndi-name> - <xa-transaction/> - <rar-name>@rar.name@</rar-name> - <config-property name="connectionURL">@broker.url@</config-property> - <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Queue</config-property> - <connection-definition>org.apache.qpid.ra.QpidRAConnectionFactory</connection-definition> - <max-pool-size>20</max-pool-size> - </tx-connection-factory> - -</connection-factories> diff --git a/qpid/java/jca/example/conf/qpid-standalone.xml b/qpid/java/jca/example/conf/qpid-standalone.xml deleted file mode 100644 index 2e22bd3f99..0000000000 --- a/qpid/java/jca/example/conf/qpid-standalone.xml +++ /dev/null @@ -1,422 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - ---> - -<server xmlns="urn:jboss:domain:1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"> - - <extensions> - <extension module="org.jboss.as.clustering.infinispan"/> - <extension module="org.jboss.as.connector"/> - <extension module="org.jboss.as.configadmin"/> - <extension module="org.jboss.as.deployment-scanner"/> - <extension module="org.jboss.as.ee"/> - <extension module="org.jboss.as.ejb3"/> - <extension module="org.jboss.as.jaxr"/> - <extension module="org.jboss.as.jaxrs"/> - <extension module="org.jboss.as.jdr"/> - <extension module="org.jboss.as.jmx"/> - <extension module="org.jboss.as.jpa"/> - <extension module="org.jboss.as.logging"/> - <extension module="org.jboss.as.mail"/> - <extension module="org.jboss.as.naming"/> - <extension module="org.jboss.as.osgi"/> - <extension module="org.jboss.as.pojo"/> - <extension module="org.jboss.as.remoting"/> - <extension module="org.jboss.as.sar"/> - <extension module="org.jboss.as.security"/> - <extension module="org.jboss.as.threads"/> - <extension module="org.jboss.as.transactions"/> - <extension module="org.jboss.as.web"/> - <extension module="org.jboss.as.webservices"/> - <extension module="org.jboss.as.weld"/> - </extensions> - - <management> - <security-realms> - <security-realm name="ManagementRealm"> - <authentication> - <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/> - </authentication> - </security-realm> - </security-realms> - <management-interfaces> - <native-interface security-realm="ManagementRealm"> - <socket-binding native="management-native"/> - </native-interface> - <http-interface security-realm="ManagementRealm"> - <socket-binding http="management-http"/> - </http-interface> - </management-interfaces> - </management> - - <profile> - <subsystem xmlns="urn:jboss:domain:logging:1.1"> - <console-handler name="CONSOLE"> - <level name="INFO"/> - <formatter> - <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> - </formatter> - </console-handler> - <periodic-rotating-file-handler name="FILE"> - <formatter> - <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> - </formatter> - <file relative-to="jboss.server.log.dir" path="server.log"/> - <suffix value=".yyyy-MM-dd"/> - <append value="true"/> - </periodic-rotating-file-handler> - <logger category="com.arjuna"> - <level name="WARN"/> - </logger> - <logger category="org.apache.tomcat.util.modeler"> - <level name="WARN"/> - </logger> - <logger category="sun.rmi"> - <level name="WARN"/> - </logger> - <logger category="jacorb"> - <level name="WARN"/> - </logger> - <logger category="jacorb.config"> - <level name="ERROR"/> - </logger> - <root-logger> - <level name="DEBUG"/> - <handlers> - <handler name="CONSOLE"/> - <handler name="FILE"/> - </handlers> - </root-logger> - </subsystem> - <subsystem xmlns="urn:jboss:domain:configadmin:1.0"/> - <subsystem xmlns="urn:jboss:domain:datasources:1.0"> - <datasources> - <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true"> - <connection-url> - jdbc:h2:mem:test;DB_CLOSE_DELAY=-1 - </connection-url> - <driver> - h2 - </driver> - <security> - <user-name> - sa - </user-name> - <password> - sa - </password> - </security> - </datasource> - <drivers> - <driver name="h2" module="com.h2database.h2"> - <xa-datasource-class> - org.h2.jdbcx.JdbcDataSource - </xa-datasource-class> - </driver> - </drivers> - </datasources> - </subsystem> - <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1"> - <deployment-scanner name="default" path="deployments" scan-interval="5000" relative-to="jboss.server.base.dir"/> - </subsystem> - <subsystem xmlns="urn:jboss:domain:ee:1.0"/> - <subsystem xmlns="urn:jboss:domain:ejb3:1.2"> - <session-bean> - <stateless> - <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/> - </stateless> - <stateful default-access-timeout="5000" cache-ref="simple"/> - <singleton default-access-timeout="5000"/> - </session-bean> - <mdb> - <resource-adapter-ref resource-adapter-name="@rar.name@"/> - <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/> - </mdb> - <pools> - <bean-instance-pools> - <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/> - <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/> - </bean-instance-pools> - </pools> - <caches> - <cache name="simple" aliases="NoPassivationCache"/> - <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/> - </caches> - <passivation-stores> - <file-passivation-store name="file"/> - </passivation-stores> - <async thread-pool-name="default"/> - <timer-service thread-pool-name="default"> - <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/> - </timer-service> - <remote connector-ref="remoting-connector" thread-pool-name="default"/> - <thread-pools> - <thread-pool name="default"> - <max-threads count="10"/> - <keepalive-time time="100" unit="milliseconds"/> - </thread-pool> - </thread-pools> - </subsystem> - <subsystem xmlns="urn:jboss:domain:infinispan:1.1" default-cache-container="hibernate"> - <cache-container name="hibernate" default-cache="local-query"> - <local-cache name="entity"> - <transaction mode="NON_XA"/> - <eviction strategy="LRU" max-entries="10000"/> - <expiration max-idle="100000"/> - </local-cache> - <local-cache name="local-query"> - <transaction mode="NONE"/> - <eviction strategy="LRU" max-entries="10000"/> - <expiration max-idle="100000"/> - </local-cache> - <local-cache name="timestamps"> - <transaction mode="NONE"/> - <eviction strategy="NONE"/> - </local-cache> - </cache-container> - </subsystem> - <subsystem xmlns="urn:jboss:domain:jaxr:1.0"> - <connection-factory jndi-name="java:jboss/jaxr/ConnectionFactory"/> - <juddi-server publish-url="http://localhost:8080/juddi/publish" query-url="http://localhost:8080/juddi/query"/> - </subsystem> - <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/> - <subsystem xmlns="urn:jboss:domain:jca:1.1"> - <archive-validation enabled="false"/> - <bean-validation enabled="false"/> - <default-workmanager> - <short-running-threads> - <core-threads count="50"/> - <queue-length count="50"/> - <max-threads count="50"/> - <keepalive-time time="10" unit="seconds"/> - </short-running-threads> - <long-running-threads> - <core-threads count="50"/> - <queue-length count="50"/> - <max-threads count="50"/> - <keepalive-time time="10" unit="seconds"/> - </long-running-threads> - </default-workmanager> - </subsystem> - <subsystem xmlns="urn:jboss:domain:jdr:1.0"/> - <subsystem xmlns="urn:jboss:domain:jmx:1.1"> - <show-model value="true"/> - <remoting-connector/> - </subsystem> - <subsystem xmlns="urn:jboss:domain:jpa:1.0"> - <jpa default-datasource=""/> - </subsystem> - <subsystem xmlns="urn:jboss:domain:mail:1.0"> - <mail-session jndi-name="java:jboss/mail/Default"> - <smtp-server outbound-socket-binding-ref="mail-smtp"/> - </mail-session> - </subsystem> - <subsystem xmlns="urn:jboss:domain:naming:1.1"/> - <subsystem xmlns="urn:jboss:domain:osgi:1.2" activation="lazy"> - <properties> - <property name="org.osgi.framework.startlevel.beginning"> - 1 - </property> - </properties> - <capabilities> - <capability name="javax.servlet.api"/> - <capability name="javax.transaction.api"/> - <capability name="org.apache.felix.log" startlevel="1"/> - <capability name="org.jboss.osgi.logging" startlevel="1"/> - <capability name="org.apache.felix.configadmin" startlevel="1"/> - <capability name="org.jboss.as.osgi.configadmin" startlevel="1"/> - <capability name="org.jboss.osgi.repository" startlevel="1"/> - </capabilities> - </subsystem> - <subsystem xmlns="urn:jboss:domain:pojo:1.0"/> - <subsystem xmlns="urn:jboss:domain:remoting:1.1"> - <connector name="remoting-connector" socket-binding="remoting"/> - </subsystem> - <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"> - <resource-adapters> - <resource-adapter> - <archive> - @rar.name@ - </archive> - <transaction-support> - XATransaction - </transaction-support> - <config-property name="connectionURL"> - @broker.url@ - </config-property> - <config-property name="TransactionManagerLocatorClass"> - org.apache.qpid.ra.tm.JBoss7TransactionManagerLocator - </config-property> - <config-property name="TransactionManagerLocatorMethod"> - getTm - </config-property> - <connection-definitions> - <connection-definition class-name="org.apache.qpid.ra.QpidRAManagedConnectionFactory" jndi-name="QpidJMSXA" pool-name="QpidJMSXA"> - <config-property name="connectionURL"> - @broker.url@ - </config-property> - <config-property name="SessionDefaultType"> - javax.jms.Queue - </config-property> - </connection-definition> - </connection-definitions> - <admin-objects> - <admin-object class-name="org.apache.qpid.ra.admin.QpidConnectionFactoryProxy" jndi-name="java:jboss/exported/QpidConnectionFactory" use-java-context="false"> - <config-property name="ConnectionURL"> - @broker.url@ - </config-property> - </admin-object> - <admin-object class-name="org.apache.qpid.ra.admin.QpidTopicImpl" jndi-name="java:jboss/exported/GoodByeTopic" use-java-context="false" pool-name="GoodByeTopic"> - <config-property name="DestinationAddress"> - @qpid.hello.topic.dest.address@ - </config-property> - </admin-object> - <admin-object class-name="org.apache.qpid.ra.admin.QpidTopicImpl" jndi-name="java:jboss/exported/HelloTopic" use-java-context="false" pool-name="HelloTopic"> - <config-property name="DestinationAddress"> - @qpid.goodbye.topic.dest.address@ - </config-property> - </admin-object> - <admin-object class-name="org.apache.qpid.ra.admin.QpidQueueImpl" jndi-name="java:jboss/exported/GoodByeQueue" use-java-context="false" pool-name="GoodByeQueue"> - <config-property name="DestinationAddress"> - @qpid.goodbye.queue.dest.address@ - </config-property> - </admin-object> - <admin-object class-name="org.apache.qpid.ra.admin.QpidQueueImpl" jndi-name="java:jboss/exported/HelloQueue" use-java-context="false" pool-name="HelloQueue"> - <config-property name="DestinationAddress"> - @qpid.hello.queue.dest.address@ - </config-property> - </admin-object> - <admin-object class-name="org.apache.qpid.ra.admin.QpidQueueImpl" jndi-name="java:jboss/exported/QpidRequestQueue" use-java-context="false" pool-name="QpidRequestQueue"> - <config-property name="DestinationAddress"> - @qpid.request.queue.dest.address@ - </config-property> - </admin-object> - <admin-object class-name="org.apache.qpid.ra.admin.QpidQueueImpl" jndi-name="java:jboss/exported/QpidResponseQueue" use-java-context="false" pool-name="QpidResponseQueue"> - <config-property name="DestinationAddress"> - @qpid.response.queue.dest.address@ - </config-property> - </admin-object> - </admin-objects> - </resource-adapter> - </resource-adapters> - </subsystem> - <subsystem xmlns="urn:jboss:domain:sar:1.0"/> - <subsystem xmlns="urn:jboss:domain:security:1.1"> - <security-domains> - <security-domain name="other" cache-type="default"> - <authentication> - <login-module code="UsersRoles" flag="required"/> - </authentication> - </security-domain> - <security-domain name="jboss-web-policy" cache-type="default"> - <authorization> - <policy-module code="Delegating" flag="required"/> - </authorization> - </security-domain> - <security-domain name="jboss-ejb-policy" cache-type="default"> - <authorization> - <policy-module code="Delegating" flag="required"/> - </authorization> - </security-domain> - </security-domains> - </subsystem> - <subsystem xmlns="urn:jboss:domain:threads:1.1"/> - <subsystem xmlns="urn:jboss:domain:transactions:1.1"> - <core-environment> - <process-id> - <uuid/> - </process-id> - </core-environment> - <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/> - <coordinator-environment default-timeout="300"/> - </subsystem> - <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host"> - <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> - <virtual-server name="default-host" enable-welcome-root="true"> - <alias name="localhost"/> - <alias name="example.com"/> - </virtual-server> - </subsystem> - <subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0"> - <modify-wsdl-address> - true - </modify-wsdl-address> - <wsdl-host> - ${jboss.bind.address:127.0.0.1} - </wsdl-host> - <endpoint-config> - <jaxwsconfig:config-name> - Standard-Endpoint-Config - </jaxwsconfig:config-name> - </endpoint-config> - <endpoint-config> - <jaxwsconfig:config-name> - Recording-Endpoint-Config - </jaxwsconfig:config-name> - <jaxwsconfig:pre-handler-chains> - <javaee:handler-chain id="recording-handlers"> - <javaee:protocol-bindings> - ##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM - </javaee:protocol-bindings> - <javaee:handler> - <javaee:handler-name> - RecordingHandler - </javaee:handler-name> - <javaee:handler-class> - org.jboss.ws.common.invocation.RecordingServerHandler - </javaee:handler-class> - </javaee:handler> - </javaee:handler-chain> - </jaxwsconfig:pre-handler-chains> - </endpoint-config> - </subsystem> - <subsystem xmlns="urn:jboss:domain:weld:1.0"/> - </profile> - - <interfaces> - <interface name="management"> - <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> - </interface> - <interface name="public"> - <inet-address value="${jboss.bind.address:127.0.0.1}"/> - </interface> - </interfaces> - - <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}"> - <socket-binding name="http" port="8080"/> - <socket-binding name="https" port="8443"/> - <socket-binding name="jacorb" port="3528"/> - <socket-binding name="jacorb-ssl" port="3529"/> - <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/> - <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/> - <socket-binding name="messaging" port="5445"/> - <socket-binding name="messaging-throughput" port="5455"/> - <socket-binding name="osgi-http" interface="management" port="8090"/> - <socket-binding name="remoting" port="4447"/> - <socket-binding name="txn-recovery-environment" port="4712"/> - <socket-binding name="txn-status-manager" port="4713"/> - <outbound-socket-binding name="mail-smtp"> - <remote-destination host="localhost" port="25"/> - </outbound-socket-binding> - </socket-binding-group> - - -</server> diff --git a/qpid/java/jca/example/conf/web.xml b/qpid/java/jca/example/conf/web.xml deleted file mode 100644 index 6e53d7beba..0000000000 --- a/qpid/java/jca/example/conf/web.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - - - Licensed to the Apache Software Foundation (ASF) under one - - or more contributor license agreements. See the NOTICE file - - distributed with this work for additional information - - regarding copyright ownership. The ASF licenses this file - - to you under the Apache License, Version 2.0 (the - - "License"); you may not use this file except in compliance - - with the License. You may obtain a copy of the License at - - - - http://www.apache.org/licenses/LICENSE-2.0 - - - - Unless required by applicable law or agreed to in writing, - - software distributed under the License is distributed on an - - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - - KIND, either express or implied. See the License for the - - specific language governing permissions and limitations - - under the License. - - - --> -<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> - - <servlet> - <display-name>QpidTestServlet</display-name> - <servlet-name>QpidTestServlet</servlet-name> - <servlet-class>org.apache.qpid.jca.example.web.QpidTestServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - - <servlet> - <display-name>QpidRequestResponseServlet</display-name> - <servlet-name>QpidRequestResponseServlet</servlet-name> - <servlet-class>org.apache.qpid.jca.example.web.QpidRequestResponseServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - - <servlet-mapping> - <servlet-name>QpidTestServlet</servlet-name> - <url-pattern>/qpid</url-pattern> - </servlet-mapping> - - <servlet-mapping> - <servlet-name>QpidRequestResponseServlet</servlet-name> - <url-pattern>/qpid-reqresp</url-pattern> - </servlet-mapping> - -</web-app> - |
