Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking up EJBs on Sun Application Server

Rik Sweeney
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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");


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

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


Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!