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 Process Server (WID/WPS/WAS+) » WAS JNDI error

Post new topic  Reply to topic
 WAS JNDI error « View previous topic :: View next topic » 
Author Message
Gideon
PostPosted: Wed Feb 09, 2011 7:24 pm    Post subject: WAS JNDI error Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I am using WAS 7.0.0.13 with WESB 7.0.0.3 on RHEL 5.5

When my client tries to write to a queue on the server, I get the following error:

Code:

Exception at stage "Getting a JNDI Queue Connection Factory:  "jndi_CF""
NamingException -> "Error getting WsnNameService properties"
Caught Exception
java.lang.NullPointerException
        at connection.JMSConnection.makeQueueConnection(JMSConnection.java:5
        at testType.JMS_PTP.setupMsgTransportProtocol(JMS_PTP.java:328)
        at testType.JMS_PTP.run(JMS_PTP.java:810)


My client has java 1.6

What I do not understand is that I have used the same client writing to the same queue on a different machine successfully with WAS 7 and RHEL 5.5. Same setup. Same client.

What does this error actually indicate.

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Thu Feb 10, 2011 6:54 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I just turned off the firewall on both the server and the client, but I still get the error.

Any ideas
Back to top
View user's profile Send private message Send e-mail
Gideon
PostPosted: Thu Feb 10, 2011 10:08 am    Post subject: Reply with quote

Chevalier

Joined: 18 Aug 2009
Posts: 403

I specified the server name in the hosts file of my client, and everything started working WITH THE FIREWALL OFF

Even when I open up ports 2809 and 7276, I still get the same error with the firewall on.

ANyone know which port I should open up in addition to the two specified in the last sentense ?
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Sun Feb 13, 2011 7:34 am    Post subject: Reply with quote

Jedi Knight

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

First of all, what kind of application do you have? Is your Java app stand-alone or something running inside WAS. What is the messaging provider? Default messaging or WebSphere MQ

To find port numbders, in your admin console for the WAS server, if you click on the app server, you will see ports.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » WAS JNDI error
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.