users@genericjmsra.java.net

Not able to Connect to Remote IBM MQueue

From: Mahesh Nair <maheshgopinadhan_at_gmail.com>
Date: Fri, 1 Oct 2010 17:13:56 +0530

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





Admin_console.JPG
(image/jpeg attachment: Admin_console.JPG)