• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Naming Service unavailable

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using wasd 5.1 with websphere 4.0 test server .After setting up my project when i start the server i am getting the following error.

/04 12:43:11:250 IST] 4e5e0a12 WsnInitCtxFac W NMSV0602E: Naming Service unavailable. A communications error occurred.
[11/24/04 12:43:11:250 IST] 4e5e0a12 Jts U Unable to register transaction factory
javax.naming.CommunicationException: Caught CORBA.COMM_FAILURE when resolving initial reference=WsnNameService. Root exception is org.omg.CORBA.COMM_FAILURE: minor code: 3 completed: No
at com.ibm.CORBA.iiop.HTTPConnection.send(HTTPConnection.java:447)
at com.ibm.CORBA.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:526)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:759)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:891)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:930)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.java:386)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:551)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references_remote(ORB.java:2014)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:594)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:354)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)
at javax.naming.InitialContext.init(InitialContext.java:231)
at javax.naming.InitialContext.<init>(InitialContext.java:207)
at com.ibm.ejs.jts.jts.Jts.bindTransactionFactory(Jts.java:206)
at com.ibm.ws.runtime.Server.initializeTranFactory(Server.java:1653)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:952)
at com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:341)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:885)
at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV4$1.run(ServerRunnerV4.java:56)
----- Begin backtrace for rootCause
org.omg.CORBA.COMM_FAILURE: minor code: 3 completed: No
at com.ibm.CORBA.iiop.HTTPConnection.send(HTTPConnection.java:447)
at com.ibm.CORBA.iiop.ClientRequestImpl.invoke(ClientRequestImpl.java:526)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:759)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:891)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:930)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve(InitialNamingClient.java:386)
at com.ibm.CORBA.iiop.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:551)
at com.ibm.CORBA.iiop.ORB.resolve_initial_references_remote(ORB.java:2014)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:594)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:354)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:229)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:98)
at com.ibm.ws.naming.util.WsnInitCtx.<init>(WsnInitCtx.java:79)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContext(WsnInitCtxFactory.java:137)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)
at javax.naming.InitialContext.init(InitialContext.java:231)
at javax.naming.InitialContext.<init>(InitialContext.java:207)
at com.ibm.ejs.jts.jts.Jts.bindTransactionFactory(Jts.java:206)
at com.ibm.ws.runtime.Server.initializeTranFactory(Server.java:1653)

Help me to get over this problem
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nair,

Before executing your client please ensure that all the necessary jar files are attched to it.

For example

naming.jar
namingclient.jar
namingserver.jar
implfactory.jar

then try may be it will solve your problem if then also it won't work then and some other exception will come then check your bootstrap hostaddress in adminconsole.

Change the hostaddress from localhost to your mc name where the server is running. these chages are incorporated with your server. After saving the changes restart your server.

For changing bootstrap hostaddress go to adminconsole then to server then to process definition then to endpoints and change the value there.

Regards

Sudhesh
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!