ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJMS2013- Weblogic9.2 +MDB +AIX

Post new topic  Reply to topic
 MQJMS2013- Weblogic9.2 +MDB +AIX « View previous topic :: View next topic » 
Author Message
archit_agarwal
PostPosted: Mon Mar 05, 2007 6:17 am    Post subject: MQJMS2013- Weblogic9.2 +MDB +AIX Reply with quote

Novice

Joined: 14 Jan 2006
Posts: 16

Hi,
I have gone through almost all of the searches fetched for "MQJMS2013" error. But unable to find a relevant solution.
Here is my problem, needs to get an advice or any thought on this:
On AIX: (hostname:MAC1)
Weblogic 9.2 (server)
Websphere MQ v6.0 (Client)

I configured Weblogic to use MQ(6.0) through Foreign JMS provider.

WebSphere MQ 6.0 server is installed on a different box on Solaris(hostname:MAC2).

I am using MDB to access the messages, received on queues defined at MQ server box(solaris).

The moment I start the MDB, I will get the exception as :

javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication supplied for MQQueueManager
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2238)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1700)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:157)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:185)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:112)
at weblogic.ejb.container.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:431)
at weblogic.ejb.container.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1648)
at weblogic.ejb.container.internal.JMSConnectionPoller.connect(JMSConnectionPoller.java:750)
at weblogic.ejb.container.internal.MDConnectionManager.timerExpired(MDConnectionManager.java:169)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:265)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Where as my weblogic-ejb-jar.xml
<weblogic-enterprise-bean>
<ejb-name>ExtMDBService</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<initial-beans-in-free-pool>10</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>jmsQueue</destination-jndi-name>
<initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
<connection-factory-jndi-name>jmsqcf</connection-factory-jndi-name>

</message-driven-descriptor>
<reference-descriptor>
</reference-descriptor>

</weblogic-enterprise-bean>

Thanks for all the help in advance.

Regards,
Archit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Vitor
PostPosted: Mon Mar 05, 2007 6:31 am    Post subject: Re: MQJMS2013- Weblogic9.2 +MDB +AIX Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

archit_agarwal wrote:

javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication supplied for MQQueueManager
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2238)


This might be a clue.....

Are you certain the running user id has the correct authorities against the queue manager?

You might also want to include code to retrieve the linked exception, which contains the MQ reason code for the error. I suspect a 2035 in this instance but it's worth checking.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
archit_agarwal
PostPosted: Mon Mar 05, 2007 6:47 am    Post subject: Reply with quote

Novice

Joined: 14 Jan 2006
Posts: 16

Hi,
Well I checked for User-Id/Password. there are absolutely no authentication being specified in neither MQ Configurations nor while defining QueueConnectionFactory. Further while creating the JNDI "SECURITY_AUTHENTICATION=none".
My code is just getting connection and retrieving the message inside onMessage().

Anyway thanks for response.

Rgds,
Archit
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJMS2013- Weblogic9.2 +MDB +AIX
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.