aspose file tools*
The moose likes Web Services and the fly likes What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x" Watch "What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x" New topic
Author

What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x

michael byrd
Greenhorn

Joined: Jan 21, 2006
Posts: 23
I've got an external java JMS client trying to connect to Sun Java System Application Server Platform Edition 8.1 2005Q1 and I need to know what to use for the Context.INITIAL_CONTEXT_FACTORY (and what jar it's in) plus the PROVIDER_URL for the following code:

Properties p = new Properties();
p.setProperty(Context.INITIAL_CONTEXT_FACTORY, ???);
p.setProperty(Context.PROVIDER_URL, ???);
Context ctx = new InitialContext(p);
QueueConnectionFactory qcf = (QueueConnectionFactory)ctx.lookup(factory);
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x