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/
=========================

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Sanket Bakshi
Sent: Thursday, August 09, 2001 4:02 PM
To: [EMAIL PROTECTED]
Subject: Exception while calling simple EJB

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,
Sanket Bakshi
EBSolutech Technologies,
Website - www.ebsolutech.com

Reply via email to