I write a client
jsp as low:
javax.naming.Context ctx;
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
ctx = new javax.naming.InitialContext(p);
testIplanet.testIplanetHome home = (testIplanet.testIplanetHome)ctx.lookup("testIplanet");
testIplanet.testIplanetRemote bean = (testIplanet.testIplanetRemote)home.findByPrimaryKey("121");
but return wrong :
javax.naming.CommunicationException [Root exception is java.net.ConnectException: No server found at
T3://localhost:7001] The server localhost:7001 have be startup,and it work!
btw ,the client jsp is locate Iplanet Server