Author |
Message
|
yonny |
Posted: Tue Oct 12, 2004 9:30 am Post subject: Problem with JMSAdmin: Unable to bind object |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Before I wrote this message I tried to find some answers in the forums but I did not get any. I am creating some objects using the JMS administration tool (JMSAdmin) for WebSphere MQ 5.3 over AIX 4.3.3. But I keep getting the following message:
InitCtx> def q(xx)
Unable to bind object
InitCtx> def q(test) qu(SYSTEM.DEFAULT.LOCAL.QUEUE) qmgr(QMIB)
Unable to bind object
Any ideas?
The java enviroment and configuration files are:
java version "1.3.1"
- - - - - - - - - - - - - - - - - - - - - -
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/usr/mqm/java
SECURITY_AUTHENTICATION=none
Please let me know if you need more information to provide some help.
Thanks in advance.
Yonny |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Oct 12, 2004 10:12 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Can you display anything? Have you tried running with trace (-t) or verbose (-v)? Do they show any additional information? What does your config file look like? |
|
Back to top |
|
 |
yonny |
Posted: Tue Oct 12, 2004 10:42 am Post subject: |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
I am able to display context:
InitCtx> dis ctx
Contents of InitCtx
[D] lib javax.naming.Context
[D] bin javax.naming.Context
2 Object(s) 2 Context(s) 0 Binding(s), 0 Administered
with verbose mode I got some extra information:
JMSAdmin -v
5648-C60, 5724-B41, 5655-F10 (c) Copyright IBM Corp. 2002. All Rights Reserved.
Starting Websphere MQ classes for Java(tm) Message Service Administration
Initialising JNDI Context...
INITIAL_CONTEXT_FACTORY: com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL: file:/usr/mqm/java
Done.
Welcome to the Admin Tool's command-line interface
but after that I keep getting "unable to bind object". The trace mode hangs up and I have to use CTRL+Z to return to the aix shell.
I will post my enviromental variables in a different post.
Last edited by yonny on Tue Oct 12, 2004 11:17 am; edited 1 time in total |
|
Back to top |
|
 |
yonny |
Posted: Tue Oct 12, 2004 10:51 am Post subject: |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Enviroment variables:
echo $CLASSPATH
/usr/mqm/java/lib:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:
/usr/mqm/java/lib/jms.jar:$:/usr/mqm/java/lib/ldap.jar:/usr/mqm/java/lib/fscontext.jar:
/usr/mqm/java/lib/providerutil.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar
echo $LIBPATH
/usr/mqm/java/lib:/usr/mqm/java/lib:/usr/mqm/java/lib::/usr/mqm/java/lib/libmqjbnd05.so:
/usr/mqm/java/lib/libMQXAi02.so:/usr/mqm/java/lib/libmqjbdf02.so:/usr/mqm/java/lib/libmqjbnd05.so:
/usr/mqm/java/lib/libMQXAi02.so:/usr/mqm/java/lib/libmqjbdf02.so:/usr/mqm/java/lib/libmqjbnd05.so:
/usr/mqm/java/lib/libMQXAi02.so:/usr/mqm/java/lib/libmqjbdf02.so
echo $MQ_JAVA_INSTALL_PATH
/usr/mqm/java
echo $MQ_JAVA_DATA_PATH
/trace
You can see the only three lines of my config. file in the last part of my first post. Thanks. |
|
Back to top |
|
 |
vennela |
Posted: Tue Oct 12, 2004 12:27 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
yonny |
Posted: Fri Oct 15, 2004 11:37 am Post subject: |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Manny thanks for your suggestions , we installed CSD08 and still did not work.
We made it work in another AIX box with AIX 5.1 and JDK 1.4.2.
Unfortunally our goal is to use MQ JMS with aix 4.3.3 cause we cannot upgrade to AIX 5.1 .
What am I missing?
Regards, |
|
Back to top |
|
 |
vennela |
Posted: Sat Oct 16, 2004 8:40 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
gunter |
Posted: Sat Oct 16, 2004 9:34 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
Quote: |
PROVIDER_URL: file:/usr/mqm/java |
Do you have write permission at the directory and the files?
Check also hidden files ( .bindings ). _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
yonny |
Posted: Mon Nov 01, 2004 2:20 pm Post subject: |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Thank you all. I did not have write permission at usr/mqm/java.
I gave to the user write permission over the directory and the problem was solved. |
|
Back to top |
|
 |
|