Skip to content
Advertisement

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 don’t support MDC as

Spring app on Tomcat – Application at context path /web-customer-rest-demo could not be started

And it’s Tomcat all over again. I’m trying to run a Spring project on Tomcat, the build stage is fine, but I keep getting this deploy error. The content of config files follows: MySpringMvcDispatcherServletInitializer.java DemoAppConfig.java Tomcat log web-customer-rest-demo.xml pom.xml “It looks like your post is mostly code; please add some more details.” Who made this sh*t up, I wonder? Answer

Problem in running application with Vaadin and Spring (MySQL DB)

I am trying to connect a Vaadin project to a MySQL database following the instructions I found here: https://dzone.com/articles/how-to-connect-a-mysql-database-to-a-vaadin-applic I downloaded the ready project in the article (also available here: https://github.com/Liskokuningas/databasemysqlexample) I, then, created the dummy data schema in MySQL Workbench and tried to run the application via the Windows 10 Command line like this: mvn clean install -U /*all

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 being reached.

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 implementations: In my real project I got many extended interfaces from AbstractDao and AbstractServie. You

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 SSLImplementation selected by Tomcat: the OpenSSLImplementation requires direct access to the private

Advertisement