Atomikos Forum

J2SE and MQ JMS

Hello
I am using Atomikos to manage transactions for JMS (IBM MQ Provider) within Spring Integration. I am running it under a J2SE environment

My configuration looks identical to the one specified in
default82df.html?community.6.2512.2

My Xadatasource passes in the userID and Password as xaProperties. I still get
 JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED'). and my security logs says that I am not sending in any userID and password.

This is how my beans look


<bean id="atomikosconnectionFactory"  class="com.atomikos.jms.AtomikosConnectionFactoryBean" 
              init-method="init" destroy-method="close">
                 <property name="uniqueResourceName" value="My_MQSeries_XA_RMI"/>
             <property name="xaConnectionFactory" ref="MQSubconnectionFactory" />
            
             
           </bean>

     <bean id="connectionFactory" class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
          <property name="targetConnectionFactory" ref="atomikosconnectionFactory"/>
          <property name="username" value="user"/>
          <property name="password" value="password"/>
      </bean>
 
      <bean id="MQSubconnectionFactory" class="com.ibm.mq.jms.MQXAQueueConnectionFactory">                                        
        <property name="hostName" value="blah"/>
        <property name="queueManager" value="blah"/>
        <property name="channel" value="blah"/>
        <property name="transportType" value="1"/>
        <property name="port" value="1"/>
        
      </bean> 


Any input would be greatly appreciated.
Thanks,
Sudhish
Sudhish Madhavan Send private email
Thursday, July 10, 2014
 
 
What MQ version are you using?
Guy Pardon Send private email
Saturday, July 26, 2014
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics