mom I try something (posting an image):

as you can see, the bean is deployed, the jndi name is set correct.
the full client code looks like the following:
************************************************
import java.util.Properties;
import java.util.Date;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.rmi.PortableRemoteObject;
public class PersonClient {
private Context ctx;
private
String url = "t3://localhost:7001";
protected Context getInitialContext()
throws NamingException
{
if (ctx == null) {
try {
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, url);
p.put(Context.SECURITY_PRINCIPAL, "system");
p.put(Context.SECURITY_CREDENTIALS, "sichernicht");
ctx = new InitialContext(p);
} catch (NamingException ne) {
System.err.println("** Unable to connect to the server at:");
ne.printStackTrace();
throw ne;
}
}
return ctx;
}
PersonClient(String [] argv)
throws NamingException
{
//ctx = new InitialContext();
//ctx = getInitialContext();
}
public void runClient()
throws Exception
{
PersonHome home = null;
try {
Date d1 = new Date();
ctx = getInitialContext();
Date d2 = new Date();
Object h = ctx.lookup("PersonHome");
Date d3 = new Date();
home = (PersonHome)
PortableRemoteObject.narrow(h, PersonHome.class);
System.out.println("time for creating InitialContext in milli sec : "+ (d2.getTime()-d1.getTime()) );
System.out.println("time for JNDI lookup in milli sec : "+ (d3.getTime()-d2.getTime()) );
} catch (NamingException ne) {
System.err.println("Unable to lookup the Person EJB.");
System.err.println("Please make sure that the bean has been deployed"+
", and the client's classpath has been set correctly.");
throw ne;
}
try {
String name = new String("Max");
String id = new String("123");
Date d1 = new Date();
Person p = home.findByPrimaryKey(id);
Date d2 = new Date();
System.out.println("Time for finding a single entry: "+ (d2.getTime()-d1.getTime()));
java.util.Collection c = home.findByName(name);
Date d3 = new Date();
System.out.println("Time for finding a collection of entries: "+ (d3.getTime()-d2.getTime()));
System.out.println(c.size()+" entries found for "+name);
Date d4 = new Date();
p.remove();
Date d5 = new Date();
System.out.println("Time for deleting an entry: "+ (d5.getTime()-d4.getTime()));
p = home.create(id,name);
Date d6 = new Date();
System.out.println("Time for creating a new entry: "+ (d6.getTime()-d5.getTime()));
} catch (Exception e) {
System.err.println("Received an unexpected exception " + e
+ " while using the PersonEJB.");
throw e;
}
}
public static void main(String[] argv)
throws Exception
{
PersonClient c = new PersonClient(argv);
c.runClient();
}
}
**********************************************
I already had this bean running, but I had to recompile it for adding a finder method and since then I could redeploy it but no run it.
Is there any possibility to see all possible jndi references in the tree ?