ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem with JMSAdmin: Unable to bind object

Post new topic  Reply to topic
 Problem with JMSAdmin: Unable to bind object « View previous topic :: View next topic » 
Author Message
yonny
PostPosted: Tue Oct 12, 2004 9:30 am    Post subject: Problem with JMSAdmin: Unable to bind object Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
bower5932
PostPosted: Tue Oct 12, 2004 10:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
yonny
PostPosted: Tue Oct 12, 2004 10:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
yonny
PostPosted: Tue Oct 12, 2004 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Tue Oct 12, 2004 12:27 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What CSD are you on. Because, I had the same problem and I applied the CSD and got rid of the error.

http://www.mqseries.net/phpBB2/viewtopic.php?t=14238&highlight=unable+bind+object

But I had this problem on Windows.

You can get the latest CSD from
http://www.mqseries.net/phpBB2/viewtopic.php?t=18027
Back to top
View user's profile Send private message Send e-mail Visit poster's website
yonny
PostPosted: Fri Oct 15, 2004 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
vennela
PostPosted: Sat Oct 16, 2004 8:40 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Have you tried MS0N, the GUI version of JMSAdmin

http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24004691&loc=en_US&cs=utf-8&lang=en
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gunter
PostPosted: Sat Oct 16, 2004 9:34 am    Post subject: Reply with quote

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
View user's profile Send private message
yonny
PostPosted: Mon Nov 01, 2004 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem with JMSAdmin: Unable to bind object
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.