Start New Discussion within our Software Development Community

Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me.

Here is the brief explanation of

I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some operations.

I have a ant script that compiles the project, copies the war folder to the webapps folder of TOMCAT installation and and starts the apache tomcat server.

If I execute the ant script, tomcat server starts with in eclipse, and if I run the webapplication ( invoking the LDAP accessing code ), I get the

JNDI/LDAP Communication exception in AuthenticationTestsimple bind failed:; root cause: PKIX path validation failed: algorithm check failed: MD2withRSA is disabled: javax.naming.CommunicationException: simple bind failed: Explanation: simple bind failed: PKIX path validation failed: algorithm check failed: MD2withRSA is disabled: PKIX path validation failed: algorithm check failed: MD2withRSA is disabled: algorithm check failed: MD2withRSA is disabled
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [java] 	at java.lang.reflect.Method.invoke(Unknown Source)
     [java] 	at
     [java] 	at
     [java] 	at
     [java] 	at
     [java] 	at javax.servlet.http.HttpServlet.service(
     [java] 	at javax.servlet.http.HttpServlet.service(
     [java] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
     [java] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
     [java] 	at org.apache.catalina.core.StandardWrapperValve.invoke(
     [java] 	at org.apache.catalina.core.StandardContextValve.invoke(
     [java] 	at org.apache.catalina.core.StandardHostValve.invoke(
     [java] 	at org.apache.catalina.valves.ErrorReportValve.invoke(
     [java] 	at org.apache.catalina.core.StandardEngineValve.invoke(
     [java] 	at org.apache.catalina.connector.CoyoteAdapter.service(
     [java] 	at org.apache.coyote.http11.Http11Processor.process(
     [java] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
     [java] 	at$
     [java] 	at Source)

However, if I start the apache tomcat server from command line, it goes fine ( LDAP communication is successful) Not sure, what is going wrong here.

Any insight here is much appreciated.


Hello all.. any help will be much appreciated!! Let me know if you need any information..

This question has already been answered. Start a new discussion instead.