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 » WebSphere Message Broker (ACE) Support » Failure to obtain JNDI administered objects

Post new topic  Reply to topic
 Failure to obtain JNDI administered objects « View previous topic :: View next topic » 
Author Message
deepak.gowder
PostPosted: Tue Dec 09, 2014 10:49 am    Post subject: Failure to obtain JNDI administered objects Reply with quote

Novice

Joined: 19 Sep 2012
Posts: 20

Hello!

I'm having trouble connecting to remote MQ via it's hostname. I can connect to the same remote MQ using the IP address/ server name but not variable hostname. I can ping successfully to the remote MQ from my local using the hostname/ ip address/ server name.

I have a JMS Output Node in my flow. Have a jms properties file with all the connection details (TRANSPORT, HOST, PORT, CHANNEL, QMANAGER, etc). And have a JNDI directory created which has the .bindings file used by the JMS Administered Objects. The msgflow works when I use the IP address/ server name.

Error msgs:
Quote:
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect.

Check the JNDI Administered configuration for the JMS provider used by the node.
Either:
Modify the JNDI Administered objects and rebuild the bindings
or
Change the Configurable Service attributes associated with this JMS Provider and restart the execution group
or
Change the node attributes and redeploy the message flow.


I took the trace but I don't see any information regarding the server connections. I compared the trace from a successful connection to the failure, looks the same.

Any help would be appreciated.
Back to top
View user's profile Send private message
eai_guy
PostPosted: Tue Dec 09, 2014 12:53 pm    Post subject: Re: Failure to obtain JNDI administered objects Reply with quote

Voyager

Joined: 18 Oct 2007
Posts: 90

deepak.gowder wrote:
Hello!

I'm having trouble connecting to remote MQ via it's hostname. I can connect to the same remote MQ using the IP address/ server name but not variable hostname. I can ping successfully to the remote MQ from my local using the hostname/ ip address/ server name.

I have a JMS Output Node in my flow. Have a jms properties file with all the connection details (TRANSPORT, HOST, PORT, CHANNEL, QMANAGER, etc). And have a JNDI directory created which has the .bindings file used by the JMS Administered Objects. The msgflow works when I use the IP address/ server name.

Error msgs:
Quote:
The node cannot obtain a JNDI Administered Object, because some of the values specified are incorrect.

Check the JNDI Administered configuration for the JMS provider used by the node.
Either:
Modify the JNDI Administered objects and rebuild the bindings
or
Change the Configurable Service attributes associated with this JMS Provider and restart the execution group
or
Change the node attributes and redeploy the message flow.


I took the trace but I don't see any information regarding the server connections. I compared the trace from a successful connection to the failure, looks the same.

Any help would be appreciated.


Check what is being set in your host name variable. Try to echo you hostname.
Back to top
View user's profile Send private message
deepak.gowder
PostPosted: Wed Dec 10, 2014 6:10 am    Post subject: Re: Failure to obtain JNDI administered objects Reply with quote

Novice

Joined: 19 Sep 2012
Posts: 20

eai_guy wrote:


Check what is being set in your host name variable. Try to echo you hostname.


These work: HOST(servername.usa.com) or HOST(servername) or HOST(10.11.12.123) or HOST(10.11.12.123.usa.com)

These don't: HOST(VIP) or HOST(VIP.usa.com)
VIP = MQ_ABCD

Not sure what you mean by echo the hostname?
I'm able to successfully ping from my Command Console to all the above inl. MQ_ABCD.

Is there anything that needs to be checked on the remote MQ settings/ Security, etc.?
Back to top
View user's profile Send private message
deepak.gowder
PostPosted: Wed Dec 10, 2014 10:26 am    Post subject: Reply with quote

Novice

Joined: 19 Sep 2012
Posts: 20

Found the issue.

The JNDI connection factory properties does not allow an '_' (underscore) as the Connection List name. I see the error when I try to open the Connection Factories in Explorer. It doesn't say explicitly about the underscore but it complains about the name "...javax.naming.NamingException.... The specified value 'MQ_ABCD(1414)' is not allowed for XMSC_WMQ_CONNECTION_NAME_LIST."

I verified it by having them create an alias without the '_' and used it in my properties HOST NAME and it works.

Edit: Also found this - http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg1IC97282

Cheers!
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 » WebSphere Message Broker (ACE) Support » Failure to obtain JNDI administered objects
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.