This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Websphere and the fly likes websphere javax.naming.InitialContext (Hashtable hashtable) jndi lookup hanged. Not able to get conn Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "websphere javax.naming.InitialContext (Hashtable hashtable) jndi lookup hanged. Not able to get conn" Watch "websphere javax.naming.InitialContext (Hashtable hashtable) jndi lookup hanged. Not able to get conn" New topic
Author

websphere javax.naming.InitialContext (Hashtable hashtable) jndi lookup hanged. Not able to get conn

Muthu Murthy
Greenhorn

Joined: Jul 18, 2011
Posts: 2
Dear Experts,

We are using Websphere 5.1,MQ and getting the Datasource connection for oracle procedure execution. But currently we are facing one big challenge problem.

While jndi.connection lookup time it's hanged and doesn't provide any response, log message and no output. The job keep on running and doesn't end.

We have tried to fix/find the as below many ways.

1. MAX connection increase
2. Host file permission check for Mq server connection
3.Websphere appserver/application server restart.

But we didn't get the any output, same problem persist till now.

Also yesterday we have deeply analyzed, actually its hanged (keep on running) while trying to get the connection for oracle procedure at first time using Initial Context lookup process.

Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory" + "");
env.put(Context.PROVIDER_URL, "iiop://localhost:8855/");
Context initialContext = new InitialContext(env);
---
The above line is the problem.

Can you please provide comments then really its help us to solve this problem?

Regards
Muthu

 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: websphere javax.naming.InitialContext (Hashtable hashtable) jndi lookup hanged. Not able to get conn
 
Similar Threads
pub/sub on MQSeries
Getting Class cast exception while Lookup EJB2.1 session bean using JNDI name in WAS6.1
Standalone Java EJB client
JMS queue in Websphere 5.0 - Class Cast Exception!
System exception on UserTransaction.commit() , followed by RollbackException