This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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" + "");
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?