Questions about running Apache Tomcat 7 as an embedded server in another application.
Questions tagged [embedded-tomcat-7]
155 questions
1
vote
1 answer
Deployment of resources on embedded Tomcat server using Spring Boot
I have a project where data from several sources are being processed into some data structures. After the program is done building these structures, I want it to set up a server that enables users to fine-tune these structures manually. I decided…

bisgardo
- 4,130
- 4
- 29
- 38
1
vote
0 answers
Embedded Tomcat 6.0.37, set ssl redirect and restart connector
I have a java web application with embedded tomcat version 6.0.37 and I am using http as well as https. I have a configuration page where I have options:
SSL enable
SSL redirect
SSL Port
HTTP Port
Restart
SSL is enabled by default. I want to…

Vishal
- 11
- 1
1
vote
2 answers
arquillian using a random port with tomcat7 embeded
I'd like to use a random port for arquillian.
So in arquillian.xml
I do:
...
0
...
…

Olivier Lamy
- 2,280
- 1
- 14
- 12
1
vote
1 answer
Spring Annotated Controllers not working with Tomcated Embedded on Heroku
I have spring annotated controllers that work fine when I am using my WAR, but when I try to run embedded, locally and on Heroku, none of the annotated controllers are working. I have some pages setup using mvc:view-controller and those work, but…

zmanc
- 5,201
- 12
- 45
- 90
1
vote
2 answers
fail to connect tomcat 7 webpage in Linux Oracle 6.3
I installed a server which has already embedded tomcat 7.
I fail to access the server's webpage when the server is running.
What i need is to access the administration page ie. http://xxx.xxx.xx.77:8080/Nolio-app
then i got The errors below.
Please…

CK WONG
- 71
- 1
- 7
1
vote
1 answer
maven tomcat7:shutdown
I start my application using mvn tomcat7:run and its working but when I use mvn tomcat7:shutdown to stop it its showing build success but the embedded tomcat is not shutting down
I get this result
[INFO] Scanning for projects...
[WARNING]
[WARNING]…

rohan lukose
- 101
- 1
- 13
1
vote
1 answer
Programmatically enable GZIP Tomcat 7 (embedded)
I am using Tomcat7 (embedded)
Something like this...
String APP_DIR = "ROOT";
Tomcat current = new Tomcat();
File file = new File(APP_DIR);
if (file.isDirectory() && file.canRead()) {
ctx = current.addWebapp(null, "", file.getAbsolutePath());
…

Josejulio
- 1,286
- 1
- 16
- 30
0
votes
0 answers
Embedded Tomcat, how to replace existing web.xml meant for standard Tomcat with new logic for Embedded Tomcat
Given existing web.xml:

mjs
- 21,431
- 31
- 118
- 200
0
votes
1 answer
How I can start and stop applications deployed in a tomcat embedded server
I have a tomcat embedded server to test my web applications and I would like to be able to start and stop applications that are already deployed, how can I do that?

Belgacem
- 183
- 9
0
votes
1 answer
tomcat.util.scan.DefaultJarScanner.jarsToSkip property not working
We have been using tomcat property tomcat.util.scan.DefaultJarScanner.jarsToSkip. It works all fine with java8 but fails to work with java11.
Using embedded tomcat.
Tomcat version - 7.0.91
Any suggestions?

Java dev
- 437
- 1
- 4
- 12
0
votes
1 answer
How to check if app is running on Tomcat 7 embedded?
I have a application that runs as war or in standalone mode with tomcat embedded, I want to check if the application is running as a war within tomcat or if it is running with tomcat embedded.

Henrique Luiz
- 191
- 1
- 12
0
votes
1 answer
Spring boot and Tomcat : Is it better to use embeded Tomcat or external Tomcat installation.
I was wondering if some experienced spring boot users can tell us how to choose between embedded Tomcat and external Tomcat installation.
Thanks in advance.

Saadane Othmane
- 13
- 1
0
votes
1 answer
Persistent Connections With HTTPS not working
I have enabled one Rest service with TLS/SSL.
While making calls to one of the APIs, for each request new connection is getting created (Persistent Connection is not working), SSL handshake is happening which is creating a huge impact on the…

user2707250
- 9
- 3
0
votes
0 answers
Spring Boot Application doesn't run from war in command line
I am trying use google sheet API. I was able to connect to my google sheet as a standalone code base. I was trying to run the same with spring boot application. I created a war file along with spring boot integrated. When I run
java -jar…

Arun
- 609
- 2
- 12
- 33
0
votes
1 answer
How to push external xml file into spring boot embedded tomcat continer
i have created springboot project which gives fat-jar. i want to push external xml file in runtime into it.i want to place that xml file into spring-boot-tomcat container. tried many ways to do it (@import, --spring.config.location,etc) those ways…

Muni
- 53
- 2
- 12