Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Looking up EJBs on Sun Application Server

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic