|
Are
you setting the following properties properly :
Context ctx = getInitialContext("t3://localhost:7001", "user1", "user1Password");
...
static Context getInitialContext(String url, String user, String password) {
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
h.put(Context.PROVIDER_URL, url);
h.put(Context.SECURITY_PRINCIPAL, user);
return new InitialContext(h);
}
======================== Regds Ashwani Kalra Aithent Technologies India http://www.geocities.com/ashwani_kalra/ =========================
Hello All,
I am trying to deploy a simple Hello World EJB
onto WebLogic 5.1 server.
The client is a java application running on the
same machine.
I am able to deploy th bean successfully, but
when the client tries to lookup, it fails.
It gives the following exception -
Javax.naming.ConfigurationException. The root
exception is -
Weblogic.rmi.server.ExportException
The JNDI name is properly given (we've checked
that).
Regards,
|