• 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

javax.naming.Communication Exception

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I run HelloWorld bean Example from websphere test envoronment it works properly. But i have created a client for the same example , when the client is tested in VAJ3.5(in websphere test envoronment) i am getting following exception
javax.naming.Communication Exception Root exception is org.omg.CORBA.COMM_FAILURE.

------------------
SCJP
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a common error .You need to start the persisten server ..do a client lookup and then run the application
{QUOTE]Originally posted by Venkataramu Pendiyala:
When I run HelloWorld bean Example from websphere test envoronment it works properly. But i have created a client for the same example , when the client is tested in VAJ3.5(in websphere test envoronment) i am getting following exception
javax.naming.Communication Exception Root exception is org.omg.CORBA.COMM_FAILURE.


 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you started the name server and got the error message, mostly because you haven't compute the classpath of the executable file.
You could right click the file and select properties. Then click classpath then compute. I usually select all projects and save as default. Hope it will help.
 
Venkataramu Pendiyala
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by bredan:
If you started the name server and got the error message, mostly because you haven't compute the classpath of the executable file.
You could right click the file and select properties. Then click classpath then compute. I usually select all projects and save as default. Hope it will help.


Thanks for the solution.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic