aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Looking up EJBs on Sun Application Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Looking up EJBs on Sun Application Server" Watch "Looking up EJBs on Sun Application Server" New topic
Author

Looking up EJBs on Sun Application Server

Rik Sweeney
Ranch Hand

Joined: Sep 04, 2001
Posts: 36
Hi,

I've deployed my EJB to the Sun Application Server but I don't know what I need to provide as my Context.INITIAL_CONTEXT_FACTORY and my Context.PROVIDER_URL. I've had a hunt around Google but haven't had any luck.

Can anyone suggest what I need to use? Currently I'm using

properties.put(Context.PROVIDER_URL, "iiop://localhost:4848");

and

properties.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.enterprise.naming.SerialInitContextFactory");

Which times out with javax.naming.CommunicationException: Cannot connect to ORB

Thanks

Richard
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Looking up EJBs on Sun Application Server