Author |
Message
|
venkybe05 |
Posted: Tue Nov 20, 2007 4:01 am Post subject: javax.jms.JMSSecurityException: MQJMS2013: invalid security |
|
|
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 |
|
 |
Vitor |
Posted: Tue Nov 20, 2007 4:04 am Post subject: |
|
|
 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 |
|
 |
venkybe05 |
Posted: Wed Nov 21, 2007 12:47 am Post subject: Re: javax.jms.JMSSecurityException: MQJMS2013: invalid secur |
|
|
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 |
|
 |
Vitor |
Posted: Wed Nov 21, 2007 1:46 am Post subject: |
|
|
 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 |
|
 |
venkybe05 |
Posted: Wed Nov 21, 2007 5:53 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Nov 21, 2007 5:58 am Post subject: |
|
|
 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 |
|
 |
lhotari |
Posted: Wed Mar 05, 2008 7:22 am Post subject: try adding "user.name" system property |
|
|
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 |
|
 |
|