This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Websphere and the fly likes JMSAdmin WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "JMSAdmin WebSphere " Watch "JMSAdmin WebSphere " New topic

JMSAdmin WebSphere

Richard Hu

Joined: May 27, 2002
Posts: 5
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: <== errorRaised() exit
10:18:24 [1032661104297] [P=73363 =0:CT]$Command@6045351 ==> getObjName() entry
10:18:24 [1032661104297] [P=73363 =0:CT]$Command@6045351 <== getObjName() exit
10:18:24 [1032661104307] [P=73363 =0:CT] ==> bind() entry
10:18:24 [1032661104317] [P=73363 =0:CT] ==> getMessage(0)() entry
10:18:24 [1032661104317] [P=73363 =0:CT] <== getMessage(0)() exit
10:18:24 [1032661104317] [P=73363 =0:CT] doDefine() java.lang.ClassCastException exception caught:
Any suggestions will be appreicated. Thanks.

SCJP2<br />SCWCD<br />BEA Certified Specialist: Server
Antonio Soares

Joined: Dec 30, 2009
Posts: 1
I know it is a little bit late, but try to change the .bindings perms to 777 using: chmod 777 .bindings
I agree. Here's the link:
subject: JMSAdmin WebSphere
It's not a secret anymore!