Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while Installing Apache Directory Server.

 
Ranjeet Deshmukh
Ranch Hand
Posts: 35
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic