Questions tagged [embedded-tomcat-8]

Embedded Apache Tomcat 8

Apache Tomcat 8 implements new versions of the Servlet, JSP and EL specifications as well as adding support for the new WebSocket specification.

It requires Java 7 or later.

Tomcat 8 supports the Java Servlet 3.1, JavaServer Pages 2.3, Java Unified Expression Language 3.0 and Java WebSocket 1.0 specifications

Tomcat 8 embeds a packaged renamed version of Commons DBCP 2.x.

Reference :

http://tomcat.apache.org/tomcat-8.0-doc/changelog.html

213 questions
0
votes
1 answer

How can we configure subdomain in spring-boot?

How can we configure subdomain in spring-boot? We use the embedded Tomcat server. Any idea of how to go ahead with it. I was told that we cannot use ngnix in spring-boot embedded tomcat.
0
votes
1 answer

how can i handle with /tmp/jar_cache#######.tmp?

I am using springboot 2.1.4 with EmbeddedTomcat. When i run my server, /tmp/jar_cache###.tmp is created. How can i handle with jar_cache###.tmp? I am using CENTOS 7 and java version "1.8.0_162". If i change tmpdir to other directory, not /tmp, then…
Dylee
  • 13
  • 5
0
votes
0 answers

Running Spring MVC using embedded Tomcat in Spring Boot in Eclipse/STS

I am using STS to develop a Spring MVC project with Spring Boot, and I am not able to use the embedded Tomcat to run the project; specifically, the embedded Tomcat is not able to find the JSP page to deliver. But when I deploy it in an independent…
Hua
  • 666
  • 2
  • 9
  • 21
0
votes
1 answer

Spring boot Jsp / Tag in different module

I'm trying to achieve the following: Webapp module which contains default Spring boot classes from the https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-web-jsp sample. The sample itself works…
Gvg
  • 318
  • 4
  • 16
0
votes
0 answers

Cannot configure Http 2 in Embedded Tomcat with Spring Boot 1.5.17

I am trying to configure HTTP 2 for my Spring Boot project that runs in the Embedded Tomcat Server 8.5.34 but I am unable to do so. I have followed this SO Thread but couldn't achieve that. My Server starts and is working fine but it works in HTTP…
sam
  • 1,800
  • 1
  • 25
  • 47
0
votes
0 answers

How to add VM arguments to Tomcat Embedded Starter

I use Tomcat Starter for starting my web application like that: public static void main(String[] args) throws ServletException, LifecycleException { Tomcat tomcat = new Tomcat(); tomcat.setBaseDir("temp"); tomcat.setPort(8080); …
gbalcisoy
  • 117
  • 3
  • 17
0
votes
3 answers

Unable to browse to spring boot application using embedded Tomcat

I am working on a rather large MVC project that used to run (perfectly) with just spring MVC, not spring boot. I have finished converting it to spring boot and it runs perfectly in Netbeans and when run as a standalone JAR outside of Netbeans on my…
Martin
  • 1,977
  • 5
  • 30
  • 67
0
votes
1 answer

Orika wrong classloader used in case of using Embedded tomcat

We have problem related to class loaders and orika after moving our spring boot app from embedded jetty to embedded tomcat. Here is two classes: @Getter @Builder public class SettingsModel { public final Boolean useSelfSignUp; public final…
Alex Sylka
  • 55
  • 1
  • 1
  • 9
0
votes
3 answers

Web app using embedded Tomcat only works in IDE

I recently switched a large project from Spring MVC to Spring Boot and i'm facing issues running the resulting JAR file (with dependencies inside) outside of Netbeans. Here is the POM.XML file which works perfectly when run from Netbeans. Notice…
Martin
  • 1,977
  • 5
  • 30
  • 67
0
votes
1 answer

Configuring lo4j2 logging with Tomcat embedded in a Spring Boot web app

I have successfully configured my Spring Boot web app to use log4j2 with my configuration file below :
Martin
  • 1,977
  • 5
  • 30
  • 67
0
votes
3 answers

Spring boot web app with embedded tomcat giving 404 error outside of Netbeans

I am creating a Spring Boot web app (deployed as a JAR file) which contains an embedded Tomcat server. Everything works flawlessly on my dev machine but when i place the JAR file on a dedicated machine i get 404 errors no matter what i do. Here is…
Martin
  • 1,977
  • 5
  • 30
  • 67
0
votes
0 answers

server level logs in springboot

I am trying to implement a single log to include information like cpu tsravation, blocked threads etc. apart from application logging. Background :- we have migrated application to spring boot(version 2.0.1) from WebSphere server.In websphere server…
Anju
  • 33
  • 1
  • 8
0
votes
2 answers

How to set mod_reqtimeout in spring boot and embedded tomcat?

I have spring boot application that uses embedded tomcat and i want to set mod_reqtimeout to prevent slow http dos attack. how can i set or initialize this module in spring boot configurations? acunetix shows this warning: Your web server is…
Rasool Ghafari
  • 4,128
  • 7
  • 44
  • 71
0
votes
2 answers

Spring Boot Embedded Tomcat - No qualifying bean of type 'javax.sql.DataSource' available: expected single matching bean but found 3

I am working on my spring boot application and running with embedded tomcat 8.x. I am trying to configure three different oracle data sources using JNDI and followed this link. Below are my different…
Narendra Verma
  • 2,372
  • 6
  • 34
  • 61
0
votes
0 answers

Exceptions of type "Message: JAR entry META-INF /services/* not found in /"

I have a springboot based microservice that reads an XML from a SOAP endpoint, parses it and forwards the parsed response to requesting clients. Below is the version of springboot/spring/tomcat…