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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Looking up EJBs on Sun Application Server
 
Similar Threads
Datasource Lookup from WSAD using POJO - CastException looking up DB2
Error in getting Initial context
What to use for INITIAL_CONTEXT_FACTORY for Sun AppServer Platform Ed 8x
jndi in j2se?
javax.naming.Reference cannot be cast to org.omg.CORBA.Object