aspose file tools*
The moose likes Security and the fly likes Problem while Installing Apache Directory Server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Problem while Installing Apache Directory Server." Watch "Problem while Installing Apache Directory Server." New topic
Author

Problem while Installing Apache Directory Server.

Ranjeet Deshmukh
Ranch Hand

Joined: Jan 18, 2013
Posts: 32

Hi All,

I'm trying to install Apache Directory Server 1.5.5. After completing installation I haven't started the instance and ran the following command to add the data from ldif-

java -jar apacheds-tools.jar import -e -f example.ldif

But I got the following exceptions in Command Prompt. Can anyone guide me to install the Apache Directory Server properly.


C:\Program Files (x86)\Apache Directory Server\bin>java -jar apacheds-tools.jar import -e -f example.ldif


log4j:WARN No appenders could be found for logger (org.apache.directory.shared.ldap.codec.bind.SimpleAuthentication).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Unknown Source)
at sun.nio.ch.Net.connect(Unknown Source)
at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.nio.channels.SocketChannel.open(Unknown Source)
at org.apache.directory.server.tools.ImportCommand.connect(ImportCommand.java:136)
at org.apache.directory.server.tools.ImportCommand.bind(ImportCommand.java:537)
at org.apache.directory.server.tools.ImportCommand.execute(ImportCommand.java:616)
at org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:118)


~R@njeet.
 
jQuery in Action, 2nd edition
 
subject: Problem while Installing Apache Directory Server.