aspose file tools*
The moose likes Websphere and the fly likes How to use WsnInitialContextFactory in WAS 5.0.x ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to use WsnInitialContextFactory in WAS 5.0.x ?" Watch "How to use WsnInitialContextFactory in WAS 5.0.x ?" New topic
Author

How to use WsnInitialContextFactory in WAS 5.0.x ?

Saurav Chetia
Greenhorn

Joined: Oct 28, 2002
Posts: 10
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

Joined: Sep 29, 2000
Posts: 8521
Moving to the WebSphere forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use WsnInitialContextFactory in WAS 5.0.x ?