I am facing a weird problem and I am stuck at the moment. I have a java application running in tomcat on my local machine. Recent requirement was to include a new font for the app. I downloaded the font and put in under a folder lookandfeel where my style.css is. Current Folder structure in my style.css I am importing
Tag: tomcat
Tomcat hot reload of JSP file that is inside a JAR of an exploded webapp
I have a multi-module Maven project for a webapp. Example: where webapp-demo references core. Most jsp and tag files are placed in webapp-demo. However, some are placed in core. For development, I build and deploy this project using Maven as exploded webapp (i.e. the content of the WAR file but uncompressed). This also works fine from IntelliJ. Further, when I
spring boot Tomcat
I have created one simple spring boot application and have added 2 dependencies using spring initializers, H2 and JPA. I have added H2 configuration in application.properties file and then added hoteldata.sql file in resource folder. When i am running the project, spring boot log doesn’t show Tomcat is started. I am expecting below log to be displayed while starting the
Tomcat. ClassNotFoundException on importing class
I am writing my training project on Tomcat based java servlets and jsp’s using Visual Studio Code. Now I am working on logging. My project structure looks like this: Class AccessFilter.java realizes logging system. Here is code of AccessFilter.java: Code of Log.java: package FamilyTask.lib; Command for compile servlet/filter classes: Command for compile simple classes: Compilation ends without errors, but on
AWS Elastic Beanstalk Application Logging with Logback
EDIT: Added Image (The problem looks like log files are not written) I am running an spring mvc (NOT springboot) WAR file on AWS Elastic Beanstalk on a ‘Tomcat 8.5 with Corretto 11 running on 64bit Amazon Linux 2/4.1.3’ environment. Everything is working as expected EXCEPT application logs that I write with slf4j/logback. The following is my logback.xml configuration file
SpringBoot MVC – Warning: org.apache.tomcat.util.net.SSLUtilBase : The JSSE TLS 1.3 implementation does not support authentication
A question about Spring Boot MVC with Tomcat and TLSv1.3 I used to have a Spring Boot MVC, Tomcat based web app, with very simple business logic, over ssl HTTPS. Per security team review, I had to bump the TLS version from TLSv1.2 to TLSv1.3. Thought is was very simple and could easily complete this task, I went to change
Java Spring app can’t run after deploy on Tomcat7
I just deployed (first time ever) my Java app based on Spring. On localhost everything worked fine, but after deploy I can’t send any request. Applications just not running on the server. Logs: Any sugestions what’s wrong? I’ll be more than grateful for any help. EDIT: If it helps – I’ve downloaded sample web project which I just deployed on
How to modify tomcat web.xml location per webapplication
I’ve multiple spring boot applications deployed in my tomcat server (as war files). My problem is I want to customize tomcat’s default session-timeout for some of the webapps (ie. without editing the global $CATALINA_BASE/conf/web.xml). I searched and read tomcat docs. It seems the only way I can achieve that is by creating /WEB-INF/web.xml inside my war files that needs different
installing tomcat 9 on WSL
After installing tomcat 9 on WSL, it isn’t recognized by system. Since systemctl command doesn’t work on WSL, I used below command: returning I followed 2 ways to install, but the same problem occurred. References are: https://www.digitalocean.com/community/tutorials/install-tomcat-9-ubuntu-1804 https://linuxconfig.org/ubuntu-20-04-tomcat-installation Is there any clue for this problem? Here is my environment: windows 10 version 2004 ubuntu 20.04 (WSL) openjdk version: “1.8.0_265” update:
How to add rewrite rule to spring boot 2.3.1
I have a Spring Boot application based on this example. Now the question is how can I add rewrite rules to my application that add /index.html when user visit the root URL. I mean when user visit http://localhost:8080/my-app or http://localhost:8080/my-app/ then I redirect him or her to http://localhost:8080/my-app/index.html. I found something here, but unfortunately does not work for me, also