Hi Doug,
How are you getting the Context?? Are u saying Context ctx=new Context()...
if so try using the following function instead to get the Context


static public Context getInitialContext() throws Exception
{
    String url="t3://localhost:7001";    /*Your Machine name*/
    String user=null;
    String password=null;

     Properties p = new Properties();

p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory
");
     p.put(Context.PROVIDER_URL, url);
     if (user != null)
    {
       System.out.println ("user: " + user);
       p.put(Context.SECURITY_PRINCIPAL, user);
       if (password == null)
         password = "";
       p.put(Context.SECURITY_CREDENTIALS, password);
     }
     return new InitialContext(p);
   }



Hope this helps....

Bye
Vinod

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to