Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Now I am super curious what sports would be like if we allowed drugs and tiny ads.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic