• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to get initial context

 
Madhavan Kutty
Greenhorn
Posts: 3
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are dealing with a J2EE application client.
It works fine with WebSphere Application Developer(WSAD) and with the Client Binaries.

However, when we try to launch it through Web Start, we get the following exception.

*************************************************************************

Connectivity Error Occurred:
Unable to connect to Application Server. URL: corbaloc:iiop:localhost:901/
Application Server may not be running
javax.naming.NamingException: Failed to initialize the ORB. Root exception is java.lang.reflect.InvocationTargetException: java.lang.UnsatisfiedLinkError: registerNatives
at com.ibm.jvm.ExtendedSystem.registerNatives(Native Method)
at com.ibm.jvm.ExtendedSystem.<clinit>(ExtendedSystem.java:163)
at com.ibm.rmi.util.JDKBridge.setCodebaseProperties(JDKBridge.java:224)
at com.ibm.rmi.util.JDKBridge.<clinit>(JDKBridge.java:203)
at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:100)
at com.ibm.rmi.iiop.CDROutputStream.<clinit>(CDROutputStream.java:917)
at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1146)
at com.ibm.CORBA.iiop.ORB.orbParameters(ORB.java:1102)
at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1101)
at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1639)
at org.omg.CORBA.ORB.init(ORB.java:329)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:77)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:189)
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:367)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:313)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:363)
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.getNameInNamespace(WsnInitCtx.java:400)
at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:488)
at mars.server.ejbclients.MarsEJBClient.getInitialContextMethod(MarsEJBClient.java:60)

**************************************************************************************************

We have made sure that we have added the references to all the JARS and have signed them digitally.

We'd like to know if there is any specific method to be followed while lauching an Application Client (as opposed to a normal Java [rogram) through WebStart.

Google mentions a WebSphereClientLauncher.jar for WAS 6.0, but we were not able to find anything pertaining to WSAD 5.1.2, which we are using.

Any help with this regards will be welcome.

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic