Chris, With jdk 1.8.0.45 our ldap communication is giving results. As soon as we change tomcat to use jdk1.8.0_51, I am getting below exception. I am not sure security changes in jdk 1.8.0_51 preventing the ldap certificate loaded in cacerts in java not communicating properly to our ldap server. People managing ldap are mainframe people in our company. I am not able to find root cause so that I can give better explanation to them. Thanks Ambica.
-----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, July 15, 2016 3:52 PM To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: java -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Ambica, On 7/15/16 3:41 PM, Sanka, Ambica wrote: > Chris, Seems attachment was not sent properly. Here is the trace > SEVERE: Naming Exception > occuredjavax.naming.ServiceUnavailableException: > ldap.atpco.net:636; socket closed; remaining name > 'racfid=XXXXX,profiletype=user,cn=RACFLDAP,c=us' > javax.naming.ServiceUnavailableException: ldap.atpco.net:636; socket > closed; remaining name > 'racfid=XXXXX,profiletype=user,cn=RACFLDAP,c=us' at > com.sun.jndi.ldap.Connection.readReply(Connection.java:449) at > com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:640) at > com.sun.jndi.ldap.LdapClient.search(LdapClient.java:563) at > com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1985) at > com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1844) at > com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769) at > com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirCont ext.java:392) > > at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompos iteDirContext.java:358) > at > com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialComp ositeDirContext.java:341) > > at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:2 67) > at > net.atpco.tomcat.racf.service.RacfLDAPService.createLdapInitContext(Ra cfLDAPService.java:98) > > at net.atpco.tomcat.racf.service.TestRacfService.main(TestRacfService.java: 14) > Jul 15, 2016 3:24:45 PM > net.atpco.tomcat.racf.service.TestRacfService main INFO: Exception > occuredjava.lang.Exception: Naming Exception occured That stack trace doesn't seem to have any Tomcat code in it. I'm not saying there isn't a Tomcat-related problem. The core problem seems to be "ServiceUnavailableException". It the LDAP service in fact available? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJXiT72AAoJEBzwKT+lPKRYiGgQALMrc+/0VcX7SfakY4Hy3Oo4 39bMSvvpCk0NyfvVg/6bFzD7+YiDg/keZK9yfrP1d5M7gx19S4Z52QfQDXU88YGw AAXLxMBYhMjzfe1HpJEwC3Cone6hRRBrTJRbqi+xQBtnCcwsnacrImRv0ew88YJt Yi1iL6ItoQv0jvYYuMvqzaDGZ/QTZPtpdyixbhn0o4uqNosZBRHlh36OE7KE9k9I sbP4kb9LpKJkXbaa2mpkjV58i+gn8H/vI2qZF6sVCvA424LHl7VXmfTUQwoOwqSe MBiWovK8K6Jo+SmmMwi5gVvzbDZ4KjAVjTcOC8uACACrwnyP+4wD4IdVKyCB/GLw c7jdmdDZXVQGFWjfI6EsqilRHY/MX8xr1N1Y073Uo9WoanEpFRGfa6FQviSlJ8v8 zcdjslRCTadkCP8cyXflNX+q/AlZmbT83k/Oicnd+HIKrMj7i4u3BSbdqNgEp3qg lkIw7cGvcN+sE4NxqI/rQ9keYZ7G+AJDmGdthYSOQRprE3H+fgrzGLSjxjNL13D6 Wgp+4psqjv+DwdXkJAG1ipzFJHEu16fl/Gi6D1OF3m5KDzRxX0tFld0RSCK956s1 9MVymExa7Gj1fjkOt0ZfLQ+SRWOWbz5OQuec22ImVbjv1DT8+o8ysFQEVQbgZR3/ qBKkFL1ba2qweVE3gibt =HtRv -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org