• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Need help on Remote EJB URL lookup on Websphere

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I need to lookup the EJB URL from one application to another application which is running in another server.
The remote EJB application available in 'https://test.com/test' (Ex)

I am using the following factory.
Context.INITIAL_CONTEXT_FACTORY - "com.ibm.websphere.naming.WsnInitialContextFactory"

When trying with following provider URL, I am getting 'ServiceUnavailableException'
Context.PROVIDER_URL - "iiop:test.com:2809/test"

Please help to resolve this issue and how should i form the provider URL.

Thanks,
ramailango
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
i am not sure if this is the problem but ,usually i will not have anything after the port .So it will be some thing like this


Also make sure that rmi server is actually running on 2809 by using telnet .Webpshere would keep increasing the port number for every new profile that you create .

Thanks
Narendra
 
reply
    Bookmark Topic Watch Topic
  • New Topic