embedded-tomcat-8 Questions

6

Solved

I am currently migrating a Spring MVC Webapp (xml-config to java-config, tomcat to embedded tomcat via spring-boot). The webapp uses freemarker as templating engine and JSP Taglibs. Now when I cal...
Indiaindiaman asked 17/11, 2015 at 11:37

5

Solved

I want to use the @WebServlet annotation in a Java EE webapp which runs on Tomcat 8. I have read that I need to declare Servlet Version 3.1 in my web.xml and that my Servlet needs to extend HttpS...
Staple asked 28/9, 2014 at 21:35

9

Solved

My application is started with java -jar with version 1.5.6.RELEASE of spring boot. The content of one of my request has the character "{".When it is sended to server the following exception is rai...
Laurettalaurette asked 16/9, 2017 at 7:3

1

Conventionally, a Servlet Maven project is deployed to Tomcat production server by deploying a generated war to the - webapps - directory of Tomcat. However, Spring-Boot, as a practical trend...
Gelignite asked 18/3, 2017 at 22:0

4

Solved

I'm currently running spring-boot version 1.4.0.RELEASE application with embedded tomcat. Included Tomcat's version is 8.5.4 There's a need to update the tomcat version to 9.x. When I looked at mv...
Berkie asked 9/3, 2018 at 11:1

2

Solved

When I try to use a JNDI datasource with Spring Boot and Spring Data JPA using an embedded Tomcat server, I get the following error message when running the application with SpringApplication.run: ...
Rooted asked 7/1, 2015 at 15:20

4

Solved

To my Spring Boot 2.0.0.M6 application.properties I have added the following lines: spring.http.multipart.max-file-size=100MB spring.http.multipart.max-request-size=100MB but when I try to uplo...
Homopolar asked 24/12, 2017 at 14:41

10

Solved

I am using Spring Boot 1.5.13 version. I got the exception message like below. Could not parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/...
Olivier asked 25/5, 2018 at 7:10

7

Solved

I have set max file size to multipart.maxFileSize: 1mb multipart.maxRequestSize: 1mb This is my controller : @RequestMapping(method=RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VA...

5

Solved

I have been trying to figure out an issue with spring boot and as i am new to spring I thought of getting some help here. I have a spring boot based java application which runs as a daemon and mak...
Getupandgo asked 24/7, 2018 at 9:11

3

I'm trying to run my application in an embedded tomcat server using Spring-boot. I'm having my JNDI Resources and Environments configured in an XML file, placed under src/main/webapp/META-INF/conte...
Detritus asked 23/11, 2015 at 12:39

2

I'm trying to setup a @Configurable domain object(not managed by the spring container). I've got this working by adding the -javaagent:path/to/spring-instrument.jar as a JVM argument but it's not 1...

2

Solved

I am trying to set up a basic embedded Tomcat server and am unable to get the Tomcat server to run. public class Main { public static void main(String[] args) throws LifecycleException { Tomcat...
Tyra asked 19/6, 2019 at 13:31

3

Solved

I am newly trying out Embedded tomcat version 8.0.15. Downloaded the maven dependency into my project. Create the necessary context and instances. Tomcat server is coming up fine. But I am gettin...
Benner asked 17/6, 2017 at 16:35

2

The original problem is when I sent a http request with method 'DELETE', the body part couldn't be sent to the server. After googling, I found this article that suggests modifying the server.xml f...
Sudoriferous asked 22/10, 2017 at 8:57

5

Solved

i'm using spring boot embedded tomcat with spring boot 1.5.9 , im also using Log4j2. recently i exerience problems during load, so i want to understand better the tomcat logs [Not the access Logs...
Occupational asked 18/1, 2018 at 2:18

2

How can I make an embedded tomcat write its logs over logback? I found some info about using a standalone tomcat with log4j. But how does the setup look like for an embedded tomcat and logback? Th...
Franco asked 22/12, 2016 at 10:56

1

Good morning in my timezone I already have follow this two Stack Overflow questions : Spring Boot Using Embedded Tomcat with JNDI and Howto use JNDI database connection with Spring Boot and Spring ...
Vesuvian asked 28/9, 2018 at 10:1

1

Solved

I'm porting an old application from JBoss/Wildfly to run on tomcat. Most everything I've been able to accomplish with the resources found on the web. However, I am not having much luck with the lat...
Gesticulatory asked 10/4, 2017 at 16:6

1

Solved

Spring-Boot, Vaadin 8 application with vaadin push @Push(transport = Transport.WEBSOCKET_XHR) No problem if the application gets user operation without any pause. Few seconds without any user re...

1

Solved

Embedding Apache Tomcat into an eclipse web app project. The code works when I'm using the latest Tomcat 8 (8.0.5 Embedded) jars as dependencies, and this server responds at http://localhost:8080, ...
Acea asked 26/2, 2018 at 22:51

1

Can embedded tomcat or any such embedded server be used for microservices in production environment? How, embedded server is different wrt the normal standalone full fledged server (performance . r...
Cassady asked 30/11, 2017 at 6:7

2

Solved

What is the preferred way to set the configuration options for JSPServlet like checkInterval, keepgenerated, modificationTestInterval etc? The reason I am trying to alter it is because of some stra...
Larianna asked 4/3, 2015 at 19:37

4

Solved

How to rewrite subdomains to paths? Example: foo.bar .example.com --> example.com /foo/bar Or better would be (reverse folders): foo.bar .example.com --> example.com /bar/foo Requesting fo...
Cardiff asked 5/12, 2014 at 14:47

1

Solved

I'm using embedded Tomcat 8.5.4, i.e., <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>8.5.4</...
Hilbert asked 31/7, 2017 at 18:31

© 2022 - 2024 — McMap. All rights reserved.