WAS Pluggable Client 6.0 using Sun JRE 1.4.2

I have installed WAS Pluggable Client which uses SUN JRE 1.4.2. I am getting following exception, i have kept jars, as mentioned in post http://forum.java.sun.com/thread.jspa?threadID=546489. The WAS server is running on Solaris machine and Client is running Windows machine.

The exception i am getting is:

javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.NullPointerException]

at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:293)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:365)

at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)

at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)

at javax.naming.InitialContext.lookup(Unknown Source)

.....

Caused by: java.lang.NullPointerException

at com.ibm.rmi.util.Version.getBaseversion(Version.java:87)

at com.ibm.rmi.util.Version.checkVersions(Version.java:128)

at com.ibm.rmi.corba.ORB.parseProperties(ORB.java:1915)

at com.ibm.CORBA.iiop.ORB.parseProperties(ORB.java:1481)

at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1339)

at com.ibm.CORBA.iiop.ORB.orbParameters(ORB.java:1260)

at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1290)

at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1848)

at org.omg.CORBA.ORB.init(Unknown Source)

at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)

at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)

at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:98)

at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:74)

at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)

at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)

... 14 more

Any help is appreciated.

Thanks,

-Sreedhar Reddy

Message was edited by:

manisreedhar

[2054 byte] By [manisreedhara] at [2007-10-3 4:58:32]
# 1

The above exception vanished by using the WAS pluggable Client 6.0's property files wsjaas_client.conf, soap.client.props, sas.client.props. But still I am getting Exception, it is:

javax.naming.ServiceUnavailableException: A communication failure occurred while attempting to obtain an initial context with the provider URL: "corbaloc:iiop:10.76.89.156: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 java.lang.NullPointerException]

at com.ibm.ws.naming.util.WsnInitCtxFactory.mapInitialReferenceFailure(WsnInitCtxFactory.java:1949)

at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1153)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:701)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:624)

at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:487)

at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)

at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)

at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)

at javax.naming.InitialContext.lookup(Unknown Source)

....

Caused by: java.lang.NullPointerException

at com.ibm.ISecurityLocalObjectBaseL13Impl.CSIClientRI.send_request(CSIClientRI.java:322)

at com.ibm.rmi.pi.InterceptorManager.iterateSendRequest(InterceptorManager.java:404)

at com.ibm.rmi.iiop.ClientRequestImpl.<init>(ClientRequestImpl.java:136)

at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:141)

at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:97)

at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1899)

at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1177)

at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1285)

at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1110)

at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1251)

at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1776)

at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1207)

at org.omg.CORBA.portable.ObjectImpl._request(Unknown Source)

at com.ibm.WsnBootstrap._WsnNameServiceStub.getProperties(Unknown Source)

at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnNSProperties(WsnInitCtxFactory.java:1136)

... 16 more

Anyhelp much appreciated.

Thanks in advance,

-Sreedhar Reddy

manisreedhara at 2007-7-14 23:03:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
There are a few jars which are needed in your classpath. Check the Websphere documentation.
aniseeda at 2007-7-14 23:03:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...