Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use WsnInitialContextFactory in WAS 5.0.x ?  RSS feed

 
Saurav Chetia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!
I wanted to know how to use com.ibm.websphere.naming.WsnInitialContextFactory in WebSphere Appl Server (WAS)5.0.x ?
I could use this in WAS 4.0.6 successfully. However, it is not working in WAS 5.0.x ?
I read that the difference is between how JNDI name space is implemented in WAS 4.0.x and WAS 5.0.x.

WAS 5.0.x uses the Interoperable Name Service (INS) protocol
The initial context factory now uses a default provider URL of corbaloc:iiop:localhost:2809.
In previous versions of WAS, the initial context factory used a different ORB implementation, which used legacy protocol. In the legacy ORB, the bootstrap host and port values defaulted to localhost and 900, respectively.

Can someone tell me how to get this working ?
Thanks
-Saurav
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the WebSphere forum.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!