This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic