I have set up the following authentication to the ldap server. I can log into this server using the LdapAdmin browser ok.
Running 7.0.34 (I think its 34 but I can't bring the server up at the moment) I am getting a stack trace Dec 13, 2013 1:56:35 PM org.apache.catalina.realm.JNDIRealm open WARNING: Exception performing authentication javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect] at com.sun.jndi.ldap.Connection.<init>(Unknown Source) I am not connecting to local host so I don't understand the message. None of the other files in conf have been touched. I tried searching and found lots of references but no real solutions. <Engine name="Catalina" defaultHost="localhost"> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Realm className="org.apache.catalina.realm.JNDIRealm"> debug="99" connectionName="cn=xxx,o=mitelinternet" connectionPassword="xxx" connectionURL="ldap://ottedev02.mitel.com:389" alternateURL="ldap://ottedev02.mitel.com:389" userPattern="uid={0},o=mitelinternet" roleBase="o=mitelinternet" roleSubtree="true" roleSearch="(member={0})" roleName="cn" </Realm> Regards, Phill