Re: LDAPS Configuration with Tomcat

2022-06-08 Thread Mark Thomas
On 08/06/2022 11:54, rakesh meka wrote: Hi Mark/Chirs, The tomact logs says Ldap exception : connection has timed out and sometimes it says error connecting with LDAp server. Time outs could be lots of things. "error" is pretty general. Can you please help me with how do we configure LDAPs

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
On 08/06/2022 13:39, Jean Pierre URKENS wrote: Indeed the servlet#destroy() method is called. That is however not the issue I was troubleshooting, I just mentioned it as an example of a method I can't debug since the debug session is killed before hitting the servlet#destroy() method. I can't

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
Indeed the servlet#destroy() method is called. That is however not the issue I was troubleshooting, I just mentioned it as an example of a method I can't debug since the debug session is killed before hitting the servlet#destroy() method. What I am actually was trying to troubleshoot is spring

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
On 08/06/2022 11:54, Jean Pierre URKENS wrote: Hi Mark, I know the version is quite old, but that is what the client currently has installed. ACK. I am shutting Tomcat down with ${TOMCAT_HOME}/bin/shutdown.sh (RHEL 7.x server). Good. I think that is likely to be the best option in this

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
Hi Mark, I know the version is quite old, but that is what the client currently has installed. I am shutting Tomcat down with ${TOMCAT_HOME}/bin/shutdown.sh (RHEL 7.x server). We've got TOMCAT_HOME under '/opt/tomcat8' and several TOMCAT_BASE server instances. J.P. -Original Message-

Re: LDAPS Configuration with Tomcat

2022-06-08 Thread rakesh meka
Hi Mark/Chirs, The tomact logs says Ldap exception : connection has timed out and sometimes it says error connecting with LDAp server. Can you please help me with how do we configure LDAPs with Tomcat on windows server.(steps) If certificate is generated then where should we place in Tomcat ?

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
On 08/06/2022 11:29, Jean Pierre URKENS wrote: I am trying to debug the cleanup of resources during a shutdown of Tomcat 8.5.43 That is a rather old version. I'd recommend upgrading. and notices that my debug session gets killed prior to performing any servlet cleanup actions. I am starting

Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
I am trying to debug the cleanup of resources during a shutdown of Tomcat 8.5.43 and notices that my debug session gets killed prior to performing any servlet cleanup actions. I am starting Tomcat in debug mode with the JVM options: JAVA_OPTS="$JAVA_OPTS -Xdebug