users@genericjmsra.java.net

RE: RE: Re: Problem with with SJAS 9 and WebSphere MQ 5.3

From: Janardhanan, Ajith \(AJANARDH\) <"Janardhanan,>
Date: Fri, 23 Jun 2006 16:12:08 -0400

Binod,
There was a problem in creating the channels at the mq side and now I am
able to deploy the MDB successfully. Thank you verymuch for the help.
Now let me workout the logic inside the MDB and you might find my SOS
again if I run in to more trouble

Once again thank you

Ajith


 

-----Original Message-----
From: Janardhanan, Ajith (AJANARDH) [mailto:AJANARDH_at_arinc.com]
Sent: Friday, June 23, 2006 3:31 PM
To: users_at_genericjmsra.dev.java.net
Subject: RE: Re: Problem with with SJAS 9 and WebSphere MQ 5.3

Binod, thanks for the help and patience,

This time
1)I created a XAQCF in JMSAdmin with the command:

  def xaqcf(XA.AJ.QCF) hostname(localhost) port(1414)
channel(SYSTEM.DEF.SVRCONN) transport(CLIENT) qmanager(QM1)

2) changed the deploy.descriptor so as to reflect the xaqcf:

 <activation-config-property>
 
<activation-config-property-name>ConnectionFactoryJndiName</activation-c
onfig-property-name>
 
<activation-config-property-value>XA.AJ.QCF</activation-config-property-
value>
 </activation-config-property>
                    
3) AS mypool ConnectionFactooryJndiName points to XA.AJ.QCF

  
I get a different error:




[#|2006-06-23T19:25:00.427+0000|FINE|sun-appserver-pe9.0|com.sun.generic
jmsra|_ThreadID=10;_ThreadName=main;ClassName=com.sun.genericra.inbound.
EndpointConsumer;MethodName=start;_RequestID=335f942b-ea4a-44e5-b195-fa7
994ca336f;|Registering a endpoint consumer, transaction support :true|#]

[#|2006-06-23T19:25:00.793+0000|WARNING|sun-appserver-pe9.0|javax.enterp
rise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=335f942b
-ea4a-44e5-b195-fa7994ca336f;|javax.resource.ResourceException:
MQJMS2005: failed to create MQQueueManager for 'localhost:QM1'
        at
com.sun.genericra.util.ExceptionUtils.newResourceException(ExceptionUtil
s.java:68)
        at
com.sun.genericra.inbound.InboundJmsResourcePool.initialize(InboundJmsRe
sourcePool.java:87)
        at
com.sun.genericra.inbound.EndpointConsumer.initialize(EndpointConsumer.j
ava:124)
        at
com.sun.genericra.inbound.EndpointConsumer.start(EndpointConsumer.java:1
17)
        at
com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:97)
        at
com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(Co
nnectorMessageBeanClient.java:239)
        at
com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.
java:194)
        at
com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFac
toryImpl.java:270)
        at
com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:48
6)
        at
com.sun.enterprise.server.EJBModuleLoader.load(EJBModuleLoader.java:158)
        at
com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206)
        at
com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLife
cycle.java:198)
        at
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.
java:326)
        at
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServ
er.java:112)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: javax.jms.JMSException: MQJMS2005: failed to create
MQQueueManager for 'localhost:QM1'
        at
com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment
.java:556)
        at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2222)
        at
com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1603)
        at
com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:97)
        at
com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:56)
        at
com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQu
eueConnectionFactory.java:132)
        at
com.sun.genericra.inbound.InboundJmsResourcePool.createXAConnection(Inbo
undJmsResourcePool.java:123)
        at
com.sun.genericra.inbound.InboundJmsResourcePool.initialize(InboundJmsRe
sourcePool.java:70)
        ... 19 more
|#]







---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net