Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Operation timed out Error  RSS feed

 
parimelazhagan vinayagam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
EJB is deplyed in remote machine which is in different network from the client machine.
Client and Server are running in websphere Server.
While client trying to access the EJB,its getting the following Error:
[4/17/05 17:00:04:329 IST] 3d024e0f WebGroup E SRVE0026E: [Servlet Error]-[A communication failure occurred while attempting to obtain an initial context with the provider URL: "iiop://hostname:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration.]: javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "iiop://hostname:2809". Make sure that any bootstrap address information in the URL is correct and that the target name server is running. A bootstrap address with no port specification defaults to port 2809. Possible causes other than an incorrect bootstrap address or unavailable name server include the network environment and workstation network configuration. Root exception is org.omg.CORBA.TRANSIENT: operation timed out:host=hostname,port=2809 minor code: 4942F303 completed: No

Its basically giving the Operation timed out error.its there in the last line of the Error detail.


If i deploy the EJB in a machine in Same network,its able to acess that EJB.But they are in different Network its not able to acess and giving communcation exception.

Some more information:
1)I am able to telnet the remote machine.(to check accessibility of remote machine from client).I am not sure whether it is enough to check accessibility.
2)Not able to ping remote machine from client machine.

How do i know whether the remote machine port 2809 is accessible from client machine?

Any useful info would be great helpful
Thanks in advance
 
Mudi Appu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your server name �hostname�? It is most unlikely to be. Edit your code with appropriate values. See this sample too
 
parimelazhagan vinayagam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Thanks for your reply
But i have just mentioned hostname there.
The i gave the real hostname and made an entry for the host name in hosts file also to map with Real IP Address...

Please give me your thoughts and more inputs on this issue

Thanks
 
Mudi Appu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your client code here?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!