Skip to content

Tag: tomcat

MDC related content in tomcat access-logs

Can MDC related content be made available in tomcat access logs in spring boot application. I have gone through lot of blogs but everywhere the contents of MDC are logged to application logs but not in access logs. Is there any way to add them in tomcat access log pattern. Answer Final Verdict is: Access logs…

Tomcat is crashing without errors

I’m using Tomcat 9 on a Centos 7 VPS. This server has run fine for two years, but recently crashes as if it’s out of memory. The crash occurs between 1 hour and 24 hours after fresh Tomcat kill and start. I have also restarted my VPS. I removed all app logs, to be sure some limit wasn’t bein…

Spring cannot create UserService bean

Dao tier. I have abstract jpa dao interface, extended interface, and I added abstract implementation, from which I extend other real used implementations. These classes as follows: Service tier. Here I also have abstract service interface, one extended interface (UserService) and its abstract and real impleme…

SSL Windows Certification Error on Tomcat 9

SSL is enabled in my server Tomcat 7.0.108. I enabled it according to this answer https://stackoverflow.com/a/48883483 My Connector in serverx.xml is : But, in Tomcat 9.0.45 same configuration has an error. Is anyone enable SSL with Tomcat 9 using Windows Certs? Answer The error is caused by the SSLImplementa…