Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help on Remote EJB URL lookup on Websphere  RSS feed

 
rama ilango
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • 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
 
narendra darlanka
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!