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 » WebSphere Message Broker (ACE) Support » JMSWMQ2013: The security authentication was not valid that w

Post new topic  Reply to topic
 JMSWMQ2013: The security authentication was not valid that w « View previous topic :: View next topic » 
Author Message
premji
PostPosted: Tue Nov 19, 2013 3:29 am    Post subject: JMSWMQ2013: The security authentication was not valid that w Reply with quote

Acolyte

Joined: 01 Jul 2013
Posts: 64

Hi All am using JMSInput node in IIB while sending message through JMSInput node I got authentication exception, can any one clarify this exception and the exception is following below

com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'JMSQM' with connection mode 'Client' and host name 'localhost(7777)'.
Please check if the supplied username and password are correct on the QueueManager to which you are connecting.
at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Unknown Source)
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Unknown Source)
at com.ibm.msg.client.wmq.internal.WMQConnection.<init>(Unknown Source)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(Unknown Source)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(Unknown Source)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(Unknown Source)
at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(Unknown Source)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(Unknown Source)
at com.ibm.mq.jms.MQQueueConnectionFactory.createConnection(Unknown Source)
at com.ibm.etools.mft.unittest.core.transport.jms.SendJMSMessageDelegate.sendToJMSQueue(Unknown Source)
at com.ibm.etools.mft.unittest.core.transport.jms.SendJMSMessageDelegate.sendBytes(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.mb.AbstractSendMessageDelegate.sendMessage(Unknown Source)
at com.ibm.etools.mft.unittest.core.transport.jms.JMSInputHandler.send(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.mb.SendMessageOperation.sendMessage(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.jobs.SendMessageOperationJob.doRun(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.jobs.SendMessageOperationJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').
... 16 more
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Nov 24, 2013 10:43 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').


Pretty clear... what did you not understand?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
saviobarr
PostPosted: Wed Dec 02, 2015 9:17 am    Post subject: Re: JMSWMQ2013: The security authentication was not valid th Reply with quote

Centurion

Joined: 21 Oct 2014
Posts: 100
Location: Sao Paulo, Brazil

premji wrote:
Hi All am using JMSInput node in IIB while sending message through JMSInput node I got authentication exception, can any one clarify this exception and the exception is following below

com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'JMSQM' with connection mode 'Client' and host name 'localhost(7777)'.
Please check if the supplied username and password are correct on the QueueManager to which you are connecting.
at com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Unknown Source)
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Unknown Source)
at com.ibm.msg.client.wmq.internal.WMQConnection.<init>(Unknown Source)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createV7ProviderConnection(Unknown Source)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(Unknown Source)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createConnection(Unknown Source)
at com.ibm.mq.jms.MQConnectionFactory.createCommonConnection(Unknown Source)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(Unknown Source)
at com.ibm.mq.jms.MQQueueConnectionFactory.createConnection(Unknown Source)
at com.ibm.etools.mft.unittest.core.transport.jms.SendJMSMessageDelegate.sendToJMSQueue(Unknown Source)
at com.ibm.etools.mft.unittest.core.transport.jms.SendJMSMessageDelegate.sendBytes(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.mb.AbstractSendMessageDelegate.sendMessage(Unknown Source)
at com.ibm.etools.mft.unittest.core.transport.jms.JMSInputHandler.send(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.mb.SendMessageOperation.sendMessage(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.jobs.SendMessageOperationJob.doRun(Unknown Source)
at com.ibm.etools.mft.unittest.core.commchannel.jobs.SendMessageOperationJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').
... 16 more


Hi,
Did you solve the problem? I got the same error...

Savio
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Dec 02, 2015 9:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The error message is very straight forward and tells you exactly what the problem is.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
saviobarr
PostPosted: Wed Dec 02, 2015 9:38 am    Post subject: Reply with quote

Centurion

Joined: 21 Oct 2014
Posts: 100
Location: Sao Paulo, Brazil

mqjeff wrote:
The error message is very straight forward and tells you exactly what the problem is.


The problem is: the user (wbi) lacks authorization. How to solve? Grant permission. How to do that? Can you tell us?

I actually solved that by going to console (runmqsc) and issuing the ALTER QMGR CHLAUTH(DISABLED) command. I was just trying to run the JMSNodesSampleFlowProject sample...

Thanks
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Dec 02, 2015 10:29 am    Post subject: Reply with quote

Grand High Poobah

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

saviobarr wrote:
mqjeff wrote:
The error message is very straight forward and tells you exactly what the problem is.


The problem is: the user (wbi) lacks authorization. How to solve? Grant permission. How to do that? Can you tell us?


Yes we can. You could find out for yourself by going into the documentation and typing "grant authorization" into the search facility.

saviobarr wrote:
I actually solved that by going to console (runmqsc) and issuing the ALTER QMGR CHLAUTH(DISABLED) command. I was just trying to run the JMSNodesSampleFlowProject sample...


I find it incredible that you know how to go into runmqsc and disable channel authority rules for the whole queue manager, but don't know how to go into runmqsc and set up the channel authority rule you need......
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 02, 2015 10:45 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The user being presented is the one you've told the JMS node to present.

Perhaps you should revisit your JNDI configuration.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
saviobarr
PostPosted: Wed Dec 02, 2015 10:45 am    Post subject: Reply with quote

Centurion

Joined: 21 Oct 2014
Posts: 100
Location: Sao Paulo, Brazil

Vitor wrote:

I find it incredible that you know how to go into runmqsc and disable channel authority rules for the whole queue manager, but don't know how to go into runmqsc and set up the channel authority rule you need......


Hey Vitor, how are you? I hope everything is fine. Thanks for replying and criticizing. I just wanted to run a JMS Sample on my local machine, and it does not require a fully CHLAUTH setup. You are right: I really do not have complete comprehension about channels auths. I hope understand it by tomorrow. My apologies for posting dumb questions here.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Dec 02, 2015 10:51 am    Post subject: Reply with quote

Grand High Poobah

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

saviobarr wrote:
You are right: I really do not have complete comprehension about channels auths.


You don't need complete - you need to know there's a SET verb as well as the ALTER one you've demonstrated knowledge of.

saviobarr wrote:
I hope understand it by tomorrow.


It's a couple of paragraphs in the documentation. You already have most of it, so I don't imagine bridging the gap will take you all day today.

saviobarr wrote:
My apologies for posting dumb questions here.


Hey, you're the one who sat around waiting for ages while a bunch of random strangers on the Internet got time from their day jobs to give the answer you could have found for yourself in a few minutes. No apologies needed.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
saviobarr
PostPosted: Wed Dec 02, 2015 10:57 am    Post subject: Reply with quote

Centurion

Joined: 21 Oct 2014
Posts: 100
Location: Sao Paulo, Brazil

Vitor wrote:

Hey, you're the one who sat around waiting for ages while a bunch of random strangers on the Internet got time from their day jobs to give the answer you could have found for yourself in a few minutes. No apologies needed.

No, I am not. Posting here was only one of the steps I took. In parallel, I also googled, went to Knowledge Center... that's why I got the sample running...
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Dec 02, 2015 11:20 am    Post subject: Reply with quote

Grand High Poobah

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

saviobarr wrote:
Vitor wrote:

Hey, you're the one who sat around waiting for ages while a bunch of random strangers on the Internet got time from their day jobs to give the answer you could have found for yourself in a few minutes. No apologies needed.

No, I am not. Posting here was only one of the steps I took. In parallel, I also googled, went to Knowledge Center... that's why I got the sample running...


Then you'll absolutely have this totally understood by tomorrow. No problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JMSWMQ2013: The security authentication was not valid that w
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.