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 » javax.jms.JMSSecurityException: MQJMS2013: invalid security

Post new topic  Reply to topic
 javax.jms.JMSSecurityException: MQJMS2013: invalid security « View previous topic :: View next topic » 
Author Message
venkybe05
PostPosted: Tue Nov 20, 2007 4:01 am    Post subject: javax.jms.JMSSecurityException: MQJMS2013: invalid security Reply with quote

Newbie

Joined: 20 Nov 2007
Posts: 3
Location: BANGLORE

Hi All,
When im trying to send message from client to IBM Websphere MQ Server. im getting error like "javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication supplied for MQQueueManager"
Please Help me My Friends
Regards
Venky
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Nov 20, 2007 4:04 am    Post subject: Reply with quote

Grand High Poobah

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

What version of WMQ? What platform(s)?

What does the linked exception say? At what point does the error occur - creating the queue manager object, the queue object, when?

What id are you running as? Have you checked it's authorised for what you're trying to do? How have you checked? Are you using a connection pool? Have you checked the JNDI entries you're using?

What have you tried already to resolve this? (There's no point us suggesting stuff that has already failed to help)

Have you switched on security events to gain further information?

Help us to help you.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
venkybe05
PostPosted: Wed Nov 21, 2007 12:47 am    Post subject: Re: javax.jms.JMSSecurityException: MQJMS2013: invalid secur Reply with quote

Newbie

Joined: 20 Nov 2007
Posts: 3
Location: BANGLORE

venkybe05 wrote:
Hi All,
When im trying to send message from client to IBM Websphere MQ Server. im getting error like "javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication supplied for MQQueueManager"
Vesion :Websphere MQ series version 6.0
Platform :Windows Server 2000
When im trying to send message from client machine to MQ server queue geting this problem. I have refered Some sites. Finally came to know i have to add Client user id in Websphere MQ Server Machine MQM Group. How to add user id Windows 2000 server MQM group.

Please Help me My Friends
Regards
Venky
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Nov 21, 2007 1:46 am    Post subject: Reply with quote

Grand High Poobah

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

venkybe05 wrote:
How to add user id Windows 2000 server MQM group.


Speak to whoever administers your Windows server
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
venkybe05
PostPosted: Wed Nov 21, 2007 5:53 am    Post subject: Reply with quote

Newbie

Joined: 20 Nov 2007
Posts: 3
Location: BANGLORE

Vitor wrote:
venkybe05 wrote:
How to add user id Windows 2000 server MQM group.


Speak to whoever administers your Windows server


Thanks a lot for your help my friend
Regards
Venky
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Nov 21, 2007 5:58 am    Post subject: Reply with quote

Grand High Poobah

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

It's probably worth (before someone else does) reminding you that there are certain security issues around adding users to the mqm group (i.e. they become administrators) and you should review your requirements before doing so. There have been a number of discussions on the forum around security (and particually Java security), also your Windows admin may have some input.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lhotari
PostPosted: Wed Mar 05, 2008 7:22 am    Post subject: try adding "user.name" system property Reply with quote

Newbie

Joined: 25 Oct 2006
Posts: 5

I started the Java client with a system property "user.name=SYSTEM" and I got rid of MQJMS2013 problems.
MQ Java client in CLIENT (tcp/ip) transportType mode relies on the user.name System property for the MQ credential.

for example:
java -Duser.name=SYSTEM SomeClass

The full explanation:
http://www.topsecurity.dk/cmview/View?id=1575

Actually this problem was in WAS 6.1 and the system property can be added for the application server in WAS admin console at "application server -> process definition -> JVM -> custom properties".
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 » IBM MQ Java / JMS » javax.jms.JMSSecurityException: MQJMS2013: invalid security
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.