embedded-tomcat-7 Questions

14

Solved

I have a spring boot application (using embedded tomcat 7), and I've set server.port = 0 in my application.properties so I can have a random port. After the server is booted up and running on a por...
Portugal asked 18/5, 2015 at 20:14

8

Solved

import org.apache.catalina.Context; import org.apache.catalina.deploy.ContextResource; import org.apache.catalina.startup.Tomcat; import org.springframework.boot.autoconfigure.EnableAutoConfigurat...
Rabbit asked 24/7, 2014 at 18:57

2

Solved

I have a simple sample application written in Spring Boot using Gradle dependency. It says helloworld on calling localhost:8080/greetings. I packaged it as WAR and deployed it to a Tomcat as a myWe...
Heaves asked 17/9, 2014 at 6:47

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

1

I have a spring-boot 2.1.2.RELEASE application that uses embedded tomcat webserver and uses OpenKM via it's SDK. Now, I have some integration tests that use restassured lib to make REST calls and...
Gefell asked 13/5, 2019 at 14:14

2

Solved

I have the following setup: spring-boot application (using embedded tomcat) spring-date-neo4j (embedded mode) spring-websockets and neo4j-browser included using (the goal is to be able to use RE...

4

I am developing a spring boot application. Since spring boot created a .jar file for an application. I want to cluster this particular application on different server. Lets say I build a jar file ...

2

I am upgrading a legacy application to spring boot and creating a fully executable jar. In order to render jsp and tiles I suppose I need to add the tomcat-embed-jasper dependency. After I do that,...
Syngamy asked 17/2, 2016 at 4:30

2

Solved

I made an example, available on github, that uses tomcat embedded to boot a simple spring MVC application. The application boot with apparently no problem, but in the rendered jsp, el expression is...
Carthy asked 4/2, 2014 at 14:56

2

Solved

I like to develop using the tomcat7-maven-plugin, especially the mvn tomcat7:run / tomcat7:run-war goal in order to quickly test my app, this plugin allows you to specify a custom Context.xml (whi...
Parallelize asked 17/6, 2014 at 20:17

2

I am working on a new project which would be a web application with a front end UI and a back end web service. I started looking into what servers to use like Tomcat / Jetty and so .. I also notice...
Creatine asked 23/12, 2013 at 2:47

1

I'm trying to make work integration test with Tomcat7 embedded plugin with this config: <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plu...
Oden asked 22/12, 2013 at 9:58

1

Solved

My server application use embedded tomcat with Jersey. From time to time I'm getting the following error: 02-03-2014 10:06:05 [com.sun.jersey.spi.container.ContainerResponse] [http-nio-8243-exec-...
Aerothermodynamics asked 4/2, 2014 at 10:51

1

Solved

Now, I start separately embedded tomcat via maven: mvn tomcat7:run And then run the mvn test goal. My question is can I configure maven in order to do that automatically? tomcat has to be starte...
Distrust asked 10/11, 2013 at 6:6

1

Is there a way to specify a different web.xml from the standard WEB-INF/web.xml when using an embedded tomcat instance? I would like to put a web.xml in my src/test/resources (or some other area) ...
Cymatium asked 13/4, 2013 at 13:56

2

Solved

I'm trying to use tomcat7-maven-plugin to setup an embedded tomcat container, run webapps in pre-integration-test phase, run integration tests, then shutdown tomcat in post-integration-test phase. ...
Byram asked 3/4, 2013 at 19:45
1

© 2022 - 2024 — McMap. All rights reserved.