Please help,
I am accessing websphere 4.0 residing on a linux 6.2 machine, from a client which is on a windows 98 machine. My client fails on getting the initial context.
Java code:
java.util.Properties p= new java.util.Properties();
p.put("java.naming.factory.initial","com.ibm.websphere.naming.WsnInitialContextFactory"
p.put("java.naming.provider.url","iiop://lxdb1:900/"
javax.naming.Context ctx= new javax.naming.InitialContext(p);
The following is the exception i get:
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:508)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:741)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:863)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:894)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:409)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:250)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:37)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:598)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:352)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:227)
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:135)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at ClientMain.main(ClientMain.java:21)
I am accessing websphere 4.0 residing on a linux 6.2 machine, from a client which is on a windows 98 machine. My client fails on getting the initial context.
Java code:
java.util.Properties p= new java.util.Properties();
p.put("java.naming.factory.initial","com.ibm.websphere.naming.WsnInitialContextFactory"
p.put("java.naming.provider.url","iiop://lxdb1:900/"
javax.naming.Context ctx= new javax.naming.InitialContext(p);
The following is the exception i get:
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:508)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:741)
at com.ibm.CORBA.iiop.ClientRequestImpl.reInvoke(ClientRequestImpl.java:863)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:894)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:409)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:250)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(_WsnNameServiceStub.java:37)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:598)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:352)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:227)
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:135)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:80)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:669)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:199)
at ClientMain.main(ClientMain.java:21)