properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
properties.put(Context.PROVIDER_URL, "t3://hello的IP地址:端口");
ctx = new InitialContext(properties);
...不知道对不对,我不太懂的.
properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
properties.put(Context.PROVIDER_URL, "t3://hello的IP地址:端口");
ctx = new InitialContext(properties);
...不知道对不对,我不太懂的.
解决方案 »
- 用struts2有没有人遇到或者知道缺少form.ftl的原因和解决方法???困扰很久了,望大家帮忙解决
- Ibatis 缓存的问题:知无不言,言无不尽。。。。。。。。。。。。。。
- jdbc中结果集resultset问题
- J2EE从哪里入门?
- tomact的启动问题
- struts中遇到的一个中文化问题,如何解决
- 一个发送字符的问题
- 请问学EJB要有那些前提知识? 请指两本好书
- Mysql 用MyBatis Generator 生成代码时 报如下错误!
- eclipse切换工作空间后新文件保存到了原工作空间
- sun的规范中给了三个class:cachedrowset,jdbcrowset,webrowset.
- 这几个重量级的ide的优缺点。
如果是sun的j2eeserver的你不妨去网上查一下
Context.PROVIDER_URL 还是t3://hello的IP地址:端口
Context.INITIAL_CONTEXT_FACTORY
"com.ibm.websphere.naming.WsnInitialContextFactory "
Context.PROVIDER_URL
"iiop://localhost:900 "
Weblogic:
Context.INITIAL_CONTEXT_FACTORY
"weblogic.jndi.WLInitialContextFactory "
Context.PROVIDER_URL
"t3://127.0.0.1:7001 "
J2EE SDK(J2EE RI):
Context.INITIAL_CONTEXT_FACTORY
"com.sun.jndi.cosnaming.CNCtxFactory "
Context.PROVIDER_URL
"iiop://127.0.0.1:1050 "
SilverStream:
Context.INITIAL_CONTEXT_FACTORY
"com.sssw.rt.jndi.AgInitCtxFactory "
Context.PROVIDER_URL
"sssw://localhost:80 "
OC4J
Context.INITIAL_CONTEXT_FACTORY
"com.evermind.server.rmi.RMIInitialContextFactory"
Context.PROVIDER_URL
"ormi://127.0.0.1/"
JBOSS的:
java.naming.factory.initial
"org.jnp.interfaces.NamingContextFactory"
java.naming.provider.url
"localhost:1099"
WAS5:
Context.INITIAL_CONTEXT_FACTORY
"com.ibm.websphere.naming.WsnInitialContextFactory "
Context.PROVIDER_URL
"iiop://localhost:2809 "