Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use WsnInitialContextFactory in WAS 5.0.x ?

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic