Questions tagged [embedded-tomcat]

53 questions
0
votes
1 answer

Mutual TLS with embedded Tomcat and Common Name (CN)

We run a REST service using embedded Tomcat. Our app requires Mutual TLS to authenticate and authorizes by extracts the CN from the client certificate and verifies the permissions in a set of authorized users. This works fine with a reverse…
0
votes
2 answers

Exclude embedded server based on maven profile

I have two different profiles (dev and prod) defined in my pom.xml. I don't want to include an embedded server while building a project with a prod profile. I know even if I don't exclude embedded server from the jar, I can deploy it on other…
Pawan Kumar
  • 259
  • 1
  • 6
  • 17
0
votes
1 answer

Timeouts are not correct for servlet in spring boot

This is remote server properties: server.servlet.session.timeout=3m SAme for my local.properties also we have a config like this: http .sessionManagement() .sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED) …
Caner Aydın
  • 195
  • 2
  • 6
  • 18
0
votes
1 answer

How to enable connection pooling in spring boot embedded tomcat

I have a spring boot application which is not a web application. In this application i have configured embedded tomcat with the help of following bean. @Bean public TomcatServletWebServerFactory tomcatFactory() { return new…
Siddharth Singh
  • 65
  • 2
  • 12
0
votes
2 answers

How to deploy spring boot application into it self

I have a spring boot application that running on embedded tomcat with java -jar app.jar on a server away from my work office, and I haven't any ssh or other access to that server. So when I want to install and run newer version of application, I…
Rasool Ghafari
  • 4,128
  • 7
  • 44
  • 71
0
votes
0 answers

Eclipse only deploying WEB-INF/web.xml from Spring Boot application to Tomcat

I'm experiencing a very irritating problem with Eclipse (4.7.3a) and embedded Tomcat (7.0.56). I have a Spring Boot web application that is packaged as a .war file and deployed to Tomcat - it does not use Spring Boot's embedded Tomcat as it needs to…
tomfumb
  • 3,669
  • 3
  • 34
  • 50
0
votes
1 answer

Spring Boot cannot find image assets

Spring Boot application is packaged as a fat jar file. I am utilizing the embedded Tomcat instance of Spring Boot. I did not alter the default locations in application.properties for spring.resources.static-locations. The production build for the…
Celestia
  • 5
  • 6
-1
votes
1 answer

Make war with with embedded tomcat

I have recently created a web application using spring mvc, gradle and tomcat to host it. I have been trying to create a war file of the web application which can be executed on its own with no need to have gradle and tomcat installed on your…
Sahil Chabria
  • 13
  • 1
  • 6
1 2 3
4