This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x
 
It's not a secret anymore!