Jan
On 4/12/06, Krishnakumar B <[EMAIL PROTECTED]> wrote:
hi,
The article was for WAS-CE 1.0 while u r using WAS-CE 1.0.0.1 which is
based on Geronimo 1.0. There is a change in config Ids and
dependencies.
So u can try out the geronimo-ra.xml plan posted by Jan.
The steps are
1) Deploy Resource Adapter using the plan posted by Jan ( also pasted
below for reference )
2) Deploy EAR file ( change
<external-path>mq/wascemq/1.0/rar</external-path> to reflect change in
naming style in geronimo-application.xml )
3) Try outbound and inbound
Hope this helps.
Regards
Krish
wasce-mq.xml or Geronimo-ra plan
===========================
<?xml version=" 1.0" encoding="UTF-8"?>
<!-- This is Geronimo-specific descriptor -->
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector "
version="1.5" configId="wasce/mq.rar"
parentId="geronimo/j2ee-server/1.0/car">
<dependency><uri>mq/com.ibm.mqjms/1.0</uri></dependency>
<dependency><uri>mq/fscontext/1.0</uri></dependency>
<dependency><uri>mq/providerutil/1.0</uri></dependency>
<dependency><uri>mq/com.ibm.mq/1.0</uri></dependency>
<dependency><uri>mq/dhbcore/1.0</uri></dependency>
<resourceadapter>
<resourceadapter-instance>
<resourceadapter-name>MQRA</resourceadapter-name>
<workmanager>
<gbean-link>DefaultWorkManager</gbean-link>
</workmanager>
</resourceadapter-instance>
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>com.ibm.wasce.mq.connector.MQQueueConnectionFactory </connectionfactory-interface>
<connectiondefinition-instance>
<name>MQQueueFactory</name>
<config-property-setting name="url"></config-property-setting>
<config-property-setting name="icf"></config-property-setting>
<config-property-setting name="name"></config-property-setting>
<connectionmanager>
<no-transaction />
<no-pool />
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
<connection-definition>
<connectionfactory-interface>com.ibm.wasce.mq.connector.MQTopicConnectionFactory</connectionfactory-interface>
<connectiondefinition-instance>
<name>MQTopicFactory</name>
<config-property-setting name="url"></config-property-setting>
<config-property-setting name="icf"></config-property-setting>
<config-property-setting name="name"></config-property-setting>
<connectionmanager>
<no-transaction />
<no-pool />
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
<adminobject>
<adminobject-interface>javax.jms.Queue</adminobject-interface>
<adminobject-class>com.ibm.wasce.mq.connector.MQQueueImpl </adminobject-class>
<adminobject-instance>
<message-destination-name>ivtQ</message-destination-name>
<config-property-setting
name="PhysicalName">SYSTEM.DEFAULT.LOCAL.QUEUE</config-property-setting>
</adminobject-instance>
</adminobject>
<adminobject>
<adminobject-interface> javax.jms.Topic</adminobject-interface>
<adminobject-class>com.ibm.wasce.mq.connector.MQTopicImpl</adminobject-class>
<adminobject-instance>
<message-destination-name>ivtT</message-destination-name>
<config-property-setting
name="PhysicalName">SampleTopic</config-property-setting>
</adminobject-instance>
</adminobject>
</connector>
geronimo-application.xml EAR
=============================
<ext-module>
<connector>MQRA_1</connector>
<external-path>mq/wascemq/1.0/rar</external-path>
<connector xmlns=" http://geronimo.apache.org/xml/ns/j2ee/connector"
configId="wasce/mq.rar.1" parentId="wasce/mq.ear">
==========================================================
On 4/12/06, spat <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I would be thankful if you send me precise instructions. Can you send me the
> ra.xml,geronimo-ra.xml,wascemq.xml files plan so that i can make my things
> work.
> The procedure which I followed was : I created two QueueMangers with server
> connection channels, generated JNDI biniding using JMSAdmin to
> C:/JNDI-Directory, copied the required jars file to the repository of
> community edition also i added the rar file(after making necessary changes)
> to the repository, specified the parameters like url,icf etc in the ra.xml
> plan, also to the wascemq.xml plan and then tried to deploy the rar.
> So please help me.
> --
> View this message in context: http://www.nabble.com/Problem-while-deploying-the-resource-adapter.-t1432535.html#a3885680
> Sent from the Apache Geronimo - Users forum at Nabble.com.
>
>