当前位置: 首页 > 工具软件 > JXplorer > 使用案例 >

Jxplorer连接Apache DS的问题

钱言
2023-12-01

各位哥哥姐姐们,

小妹是LDAP的初学者,遇到一个问题,在Jxplorer连接Apache DS的时候,总是报错,内容是: ERROR ENCONTEREDError opening connection:localhost:389然后ERROR DETAIL显示:javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]。

Apache DS是可以启动的,不过我在ApacheDS的properties中的java virtual machine加入了:F:/Program Files/Java/jdk1.5.0_04/jre/bin/server/jvm.dll.装ApacheDS的时候没自动生成,原来不加的时候是不 能启动ApacheDS的。

localhost,389,User+password,uid=admin,ou=system,secret,

小妹感谢您的回帖,也可以qq:870047577.

 警告: No property list:C:/Documents and Settings/小刚/桌面/jndi/jxplorer/search_filters.txt2008-5-9 11:33:32 com.ca.commons.cbutil.CBUtility readPropertyFile警告: No property list:bookmarks.txt2008-5-9 11:33:32 com.ca.commons.cbutil.CBUtility readPropertyFile警告: No property list:quicksearch.txt2008-5-9 11:33:33 com.ca.directory.jxplorer.viewer.HTMLTemplateDisplay setStartPage警告: unable to find locale specific start file: C:/Documents and Settings/小刚/桌面/jndi/jxplorer/htmldocs/start_zh.html2008-5-9 11:34:00 com.ca.directory.jxplorer.broker.JNDIBroker openConnection警告: initial receipt of exception by jndi broker localhost:389javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]        at com.sun.jndi.ldap.Connection.<init>(Unknown Source)        at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)        at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)        at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)        at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)        at javax.naming.InitialContext.init(Unknown Source)        at javax.naming.InitialContext.<init>(Unknown Source)        at javax.naming.directory.InitialDirContext.<init>(Unknown Source)        at com.ca.commons.jndi.JNDIOps.openContext(JNDIOps.java:504)        at com.ca.commons.jndi.JNDIOps.<init>(JNDIOps.java:105)        at com.ca.commons.jndi.BasicOps.<init>(BasicOps.java:53)        at com.ca.commons.jndi.AdvancedOps.<init>(AdvancedOps.java:56)        at com.ca.commons.naming.DXOps.<init>(DXOps.java:39)        at com.ca.directory.jxplorer.broker.CBGraphicsOps.<init>(CBGraphicsOps.java:45)        at com.ca.directory.jxplorer.broker.JNDIBroker.openConnection(JNDIBroker.java:395)        at com.ca.directory.jxplorer.broker.JNDIBroker.processRequest(JNDIBroker.java:360)        at com.ca.directory.jxplorer.broker.Broker.processQueue(Broker.java:158)         at com.ca.directory.jxplorer.broker.JNDIBroker.processQueue(JNDIBroker.java:829)        at com.ca.directory.jxplorer.broker.Broker.run(Broker.java:124)        at java.lang.Thread.run(Unknown Source)Caused by: java.net.ConnectException: Connection refused: connect        at java.net.PlainSocketImpl.socketConnect(Native Method)        at java.net.PlainSocketImpl.doConnect(Unknown Source)        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)        at java.net.PlainSocketImpl.connect(Unknown Source)        at java.net.SocksSocketImpl.connect(Unknown Source)        at java.net.Socket.connect(Unknown Source)        at java.net.Socket.connect(Unknown Source)        at java.net.Socket.<init>(Unknown Source)        at java.net.Socket.<init>(Unknown Source)        at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)        ... 26 more  

 类似资料: