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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Looking up EJBs on Sun Application Server
 
Similar Threads
What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x
Error in getting Initial context
jndi in j2se?
Datasource Lookup from WSAD using POJO - CastException looking up DB2
javax.naming.Reference cannot be cast to org.omg.CORBA.Object