Topic
  • 2 replies
  • Latest Post - ‏2013-09-17T19:27:04Z by debasish
SystemAdmin
SystemAdmin
684 Posts

Pinned topic javax.jms.JMSSecurityException: MQJMS2008: failed to open MQ queue "QueueName"

‏2007-04-17T11:38:29Z |
I am able to lookup queue and connectionfactory,creating connection,creating session but Its coming while creating sender.

javax.jms.JMSSecurityException: MQJMS2008: failed to open MQ queue "QueueName"
at com.ibm.mq.jms.MQQueueServices.getQueueOpenException(MQQueueServices.java:325)
at com.ibm.mq.jms.JMSServicesMgr.getOutputQueue(JMSServicesMgr.java:137)
at com.ibm.mq.jms.MQSession.createQSender(MQSession.java:5569)
at com.ibm.mq.jms.MQQueueSession.createSender(MQQueueSession.java:259)
at com.bofa.direct.comp.QueueLookup.main(QueueLookup.java:79)
Updated on 2007-04-17T11:56:43Z at 2007-04-17T11:56:43Z by Raghuram
  • Raghuram
    Raghuram
    7 Posts

    Re: javax.jms.JMSSecurityException: MQJMS2008: failed to open MQ queue "QueueName"

    ‏2007-04-17T11:56:43Z  
    Hi!

    Post your query here - http://www-128.ibm.com/developerworks/forums/dw_forum.jsp?forum=280&cat=9 as this forum is Websphere MQ Everplace and the query is on Websphere MQ!

    --Ram
  • debasish
    debasish
    1 Post

    Re: javax.jms.JMSSecurityException: MQJMS2008: failed to open MQ queue "QueueName"

    ‏2013-09-17T19:27:04Z  

    Hi SystemAdmin,

     

    I am facing the same issue:

           at com.tibco.pe.PEMain.a(Unknown Source)
            at com.tibco.pe.PEMain.connect(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.tibco.amx.bwse.runtime.BwseEngine.start(BwseEngine.java:139)
            at com.tibco.amx.bwse.runtime.BwseImplementationContext.start(BwseImplementationContext.java:149)
            at com.tibco.amx.bwse.runtime.BwseImplementationAdapter.startImplementation(BwseImplementationAdapter.java:160)
            at com.tibco.amf.platform.runtime.componentframework.internal.component.ImplementationComponent$8.call(ImplementationComponent.java:1041)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:662)
    caused by: javax.naming.NamingException: Unable to retrieve actual object from queue. The exception was: javax.jms.JMSSecurityException: MQJMS2008: failed to open MQ queue SYSTEM.MQCONTEXT.ADMIN.QUEUE [Root exception is javax.jms.JMSSecurityException: MQJMS2008: failed to open MQ queue SYSTEM.MQCONTEXT.ADMIN.QUEUE]
            at com.ibm.mq.jms.context.MQContext.lookup(MQContext.java:902)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at com.tibco.plugin.share.jms.impl.SharedConnection.a(Unknown Source)

     

    So please let me know,as how did you resolve the issue.