• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMSAdmin WebSphere  RSS feed

Richard Hu
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a problem when I tried to define a JNDI name of QueueConnectionFactory or Queue with JMSAdmin and WebSphere 4.0.1. My configuration is as following:
In JMSAdmin.config file:
I used JMSAdmin -t -cfg JMSAdmin.config, and could define a context, such as MQ, but unable to bind a Queue or QueueConnectionFactory.
InitCtx> chg ctx(mq)
InitCtx/cn=mq> def qcf(MyQCF) qmgr(QM1)
Unable to bind object
I've started my MQ Series5.2(Windows2000) Server, and define Queue Manager QM1 and Queue Q1.
Check the trace file, get the following exception information:
com.ibm.mq.jms.admin.AdminObject@4eee9351 <== errorRaised() exit
10:18:24 [1032661104297] [P=73363 =0:CT] com.ibm.mq.jms.admin.JMSAdmin$Command@6045351 ==> getObjName() entry
10:18:24 [1032661104297] [P=73363 =0:CT] com.ibm.mq.jms.admin.JMSAdmin$Command@6045351 <== getObjName() exit
10:18:24 [1032661104307] [P=73363 =0:CT] com.ibm.mq.jms.admin.AdminService@32875351 ==> bind() entry
10:18:24 [1032661104317] [P=73363 =0:CT] com.ibm.mq.jms.services.psk.MessageCatalogue@3df11351 ==> getMessage(0)() entry
10:18:24 [1032661104317] [P=73363 =0:CT] com.ibm.mq.jms.services.psk.MessageCatalogue@3df11351 <== getMessage(0)() exit
10:18:24 [1032661104317] [P=73363 =0:CT] com.ibm.mq.jms.admin.JMSAdmin@5a7d1350 doDefine() java.lang.ClassCastException exception caught: com.ibm.ejs.ns.jndi.CNContextImpl
java.lang.ClassCastException: com.ibm.ejs.ns.jndi.CNContextImpl
at com.ibm.mq.jms.admin.AdminService.bind(AdminService.java:487)
at com.ibm.mq.jms.admin.JMSAdmin.doDefine(JMSAdmin.java:768)
at com.ibm.mq.jms.admin.JMSAdmin.execCommand(JMSAdmin.java:410)
at com.ibm.mq.jms.admin.JMSAdmin.commandLoop(JMSAdmin.java:337)
at com.ibm.mq.jms.admin.JMSAdmin.<init>(JMSAdmin.java:247)
at com.ibm.mq.jms.admin.JMSAdmin.main(JMSAdmin.java:1818)
Any suggestions will be appreicated. Thanks.
Antonio Soares
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know it is a little bit late, but try to change the .bindings perms to 777 using: chmod 777 .bindings
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!