Hi all,
We are using Websphere 7.0.0.0 and EJB 3.0 and Microsoft SQL Server 2008.
I already deployed the EAR file into the server. But i could not call remote EJB which is deployed in websphere from standalone java client.

I tried by using the following codes;

Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
properties.put(Context.PROVIDER_URL, "iiop://ibmserver:2809");
but unavailableexception occurs.

Please help me to proceed with this. I want to know what are the jars to be shared and the configurations.
The error code is as follows:
javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: 0x4942f000 minor code: 3591 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnN SProperties(WsnInitCtxFactory.java:1439)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootCo ntextFromServer(WsnInitCtxFactory.java:946)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJn diContext(WsnInitCtxFactory.java:865)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitia lContextInternal(WsnInitCtxFactory.java:545)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnIn itCtx.java:123)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull (WsnInitCtx.java:798)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:164)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:179)
at javax.naming.InitialContext.lookup(InitialContext. java:392)
at com.test.jndi.JNDICaller.getJNDIName(JNDICaller.ja va:31)
at com.test.jndi.JNDICaller.main(JNDICaller.java:66)
Caused by: org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible vmcid: 0x4942f000 minor code: 3591 completed: No
at com.ibm.rmi.corba.ClientDelegate.createRequest(Cli entDelegate.java:1250)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(Cl ientDelegate.java:1321)
at com.ibm.rmi.corba.ClientDelegate.createRequest(Cli entDelegate.java:1146)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(Cl ientDelegate.java:1287)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDel egate.java:1853)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDe legate.java:1243)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectI mpl.java:431)
at com.ibm.WsnBootstrap._WsnNameServiceStub.getProper ties(_WsnNameServiceStub.java:38)
at com.ibm.ws.naming.util.WsnInitCtxFactory.mergeWsnN SProperties(WsnInitCtxFactory.java:1436)