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
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
 
Similar Threads
why did't cast the object to TestHome type?
JBOSS AND JMS HELP!!!
EJB lookups from different physical boxes
javaMail and loosing my marbles!
no security manager: RMI class loader disabled