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 » Cannot create JMS administered objects with JMSAdmin

Post new topic  Reply to topic
 Cannot create JMS administered objects with JMSAdmin « View previous topic :: View next topic » 
Author Message
hilltops
PostPosted: Tue Apr 11, 2006 8:20 am    Post subject: Cannot create JMS administered objects with JMSAdmin Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

I am having problem using the JMSAdmin tool to create JMS admin objects on a linux box. I get the following when I run the tool.

JNDI initialization failed, please check your JNDI settings and service

The JMSAdmin tool config file is set up as follows;


INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/home/mqm/jms/jndi

In other words, I am using a filesystem as the store for the admin objects.

Does the PROVIDER_URL point to the location where the store is held?

The CLASSPATH is set to;

CLASSPATH=/opt/mqm/java/lib/com.ibm.mqbind.jar:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar:/opt/mqm/java/lib/connector.jar:/opt/mqm/java/lib/jms.jar:/opt/mqm/java/lib/jta.jar:/opt/mqm/java/lib/jndi.jar:/opt/mqm/java/lib/ldap.jar:/opt/mqm/java/lib/providerutil.jar:/opt/mqm/java/lib/fscontext.jar:

Please Help

Thankx
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Apr 11, 2006 9:02 am    Post subject: Reply with quote

Jedi Knight

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

Is this directory existing
/home/mqm/jms/jndi
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hilltops
PostPosted: Tue Apr 11, 2006 9:12 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

Thankx:


The directory /home/mqm/jms/jndi was there but had the wrong ownership and permissions. I gave ownership and group to mqm and it now works.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Cannot create JMS administered objects with JMSAdmin
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.