问题描述
大家好,我刚结束TDS,是个新手.安装环境:windows32bit安装文件:最新的tds62-win-ia32.iso安装一切正常,实例化一个TDS(命名为db2admin)并启动,启动的状态是configonly用superadmin新建一个inldapserver.dgoa.cn,注销然后用inldapserver.dgoa.cn/cn=root/pass登陆,就会报以下的错误.查了很多资料都没找到问题点在那,请问怎么解决?谢谢严重:javax.naming.CommunicationException:inldapserver.dgoa.cn:389[Rootexceptionisjava.net.UnknownHostException:inldapserver.dgoa.cn]atcom.sun.jndi.ldap.Connection.(Connection.java:232)atcom.sun.jndi.ldap.LdapClient.(LdapClient.java:133)atcom.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1593)atcom.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2611)atcom.sun.jndi.ldap.LdapCtx.(LdapCtx.java:298)atcom.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:190)atcom.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:208)atcom.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)atcom.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:81)atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:679)atjavax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:259)atjavax.naming.InitialContext.init(InitialContext.java:235)atjavax.naming.ldap.InitialLdapContext.(InitialLdapContext.java:146)atcom.ibm.ldap.IDSLDAPConnect.IDSLDAPConnect.initCtx(IDSLDAPConnect.java:588)atcom.ibm.ldap.IDSLDAPConnect.IDSLDAPConnect.getDirCtx(IDSLDAPConnect.java:367)atcom.ibm.ldap.IDSSecurity.IDSUserSecurity.authLDAPUser(IDSUserSecurity.java:461)atcom.ibm.ldap.IDSSecurity.IDSUserSecurity.validateUser(IDSUserSecurity.java:362)atcom.ibm.ldap.servlet.IDSHome.service(IDSHome.java:162)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:856)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1081)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)atcom.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)atcom.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)atcom.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)atcom.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)atcom.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)atcom.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)atcom.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)atcom.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)Causedby:java.net.UnknownHostException:inldapserver.dgoa.cnatjava.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)atjava.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)atjava.net.Socket.connect(Socket.java:540)atjava.net.Socket.connect(Socket.java:490)atjava.net.Socket.(Socket.java:398)atjava.net.Socket.(Socket.java:212)atcom.sun.jndi.ldap.Connection.createSocket(Connection.java:374)atcom.sun.jndi.ldap.Connection.(Connection.java:209)...36more
解决方案
解决方案二:
解决方案三:
该回复于2010-04-02 13:51:40被版主删除
解决方案四:
该回复于2010-04-16 11:42:40被版主删除
解决方案五:
该回复于2010-04-16 13:12:54被版主删除
解决方案六:
还真不知道。一起期待