File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Unable to get initial context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Unable to get initial context" Watch "Unable to get initial context" New topic
Author

Unable to get initial context

Madhavan Kutty
Greenhorn

Joined: May 27, 2005
Posts: 3

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get initial context
 
Similar Threads
UnsatisfiedLinkError Applet --> EJB
Unable to access Session bean in WAS 5.0
UnsatisfiedLinkError
Failed to initialize the ORB - WSAD 5.1.2
JNDI Lookup Error