users@genericjmsra.java.net

RE: Not able to Connect to Remote IBM MQueue

From: Deepu Syamaladevi Janardhananachary (UST, IND) <"Deepu>
Date: Fri, 1 Oct 2010 19:48:32 +0530

Hi,
I had to give the queue name in the sun-ejb-jar.xml while dealing with tibco+MDB+glassfish

is IBM MQueue an external jms provider?
if yes, use generic resource adapter?

will this link help you?
https://genericjmsra.dev.java.net/docs/tibco-genericjmsra-integration-sample-doc/Integrating_Sun_Java_System_Application_Server_with_Tibco_JMS_using_the_Generic_Resource_Adapter_for_JMS.html


Regards,
Deepu Janardhananachary



-----Original Message-----
From: Mahesh Nair [mailto:maheshgopinadhan_at_gmail.com]
Sent: Fri 10/1/2010 5:13 PM
To: users_at_genericjmsra.dev.java.net
Subject: Not able to Connect to Remote IBM MQueue
 
Hi,

I am working on a migration project which aims to migrate a J2EE application
from Weblogic to Glassfish.

I use Glassfish V2.1.1 Patch 04 and Linux environment. I use EJB 3. My
objective is to connect to following queues

jms-receive-queue=KWOM.EJB.RECEIVE
jms-respond-queue=.KWOM.EJB.RESPOND
jms-error-queue=KWOM.EJB.ERROR



*As part of the configuration I have done the following*

*1 )* I have 2 MDB s I annotated them as follows accordingly as the
selection criteria.

                @MessageDriven(activationConfig = {
                @ActivationConfigProperty(propertyName =
"destinationType",propertyValue = "javax.jms.Queue"),
                @ActivationConfigProperty(propertyName =
"transactionType",propertyValue = "Container")
                 })
and
                  @MessageDriven(activationConfig = {
                  @ActivationConfigProperty(propertyName =
"destinationType",propertyValue = "javax.jms.Queue"),
                  @ActivationConfigProperty(propertyName =
"transactionType",propertyValue = "Container"),
                  @ActivationConfigProperty(propertyName =
"messageSelector",propertyValue = "(maxAttempts = NULL) OR (deliveryCount <
maxAttempts)]")
                  })


*2)* I changed the JMS service Type for the cluster to EMBEDED. and changed
the default_jms_host to point to the Remote IBM MQ series.

*3*) Created the Connectors as shown in the attachment.
**
I attach the log file on sever start up, the server is not able to deploy
the jmsra. Please advice me on what is going wrong here..


-- 
Grüße,
Mahesh G Nair