Apache Tomcat is a free and open-source implementation of the Jakarta Servlet, Jakarta Expression Language, and WebSocket technologies. It provides a "pure Java" HTTP web server environment in which Java code can also run.
Questions tagged [tomcat]
15 questions
4
votes
2 answers
How to redirect tomcat logs TO console?
So I have a problem that is the reverse of what everyone else on the internet wants.. I want to take tomcat logs that are being written out to /usr/local/tomcat/logs and have them be output to console instead. (Everyone else is asking the reverse..…
Scott Shorkey
- 161
- 2
- 3
4
votes
5 answers
How to get the latest Tomcat version?
If one checks the Tomcat homepage then one could see some versions, but not only the latest. Off course I could parse the website and find the version, but I am looking for a Tomcat API that shows the latest version to prevent that I have to create…
030
- 13,383
- 17
- 76
- 178
3
votes
1 answer
Remote starting/stopping Tomcat from Jenkins
I like to stop Tomcat before redeployment, manually clean out the old wars and all the logs, then restart the server. To do that from Jenkins, I have been using the SSH plugin and call sudo service tomcat stop/start and it works... sometimes. Other…
amphibient
- 453
- 6
- 12
2
votes
1 answer
How to avoid an avalanche of images in Openshift when security patches keep coming in?
Our applications are based on tomcat, strictly speaking on tomcat base s2i image provided by RedHat. This is updated quite frequently, and we need to comply to some regulations and apply the updates. This basically means, that with every single…
ptrk
- 151
- 4
1
vote
1 answer
Jenkins Deployment Issue - Unrecognized SSL Message, Plaintext Connection?
I've been attempting to build and deploy a local copy of a repository, whilst still providing the remote depository to Jenkins, to a Tomcat version 9 server.
I have both Jenkins and Tomcat running on different ports.
I did get a handful of…
mamajava
- 21
- 1
- 4
1
vote
1 answer
Deploy war/ear to a container' marked build as failure
I have Jenkins installed in my system, on which the following are installed:
Maven Integration Plugin
Deploy to Container Plugin
Ant Plugin
Copy Artifact Plugin
GitHub plugin
GitHub Branch Source Plugin
.. and possibly a few others I cannot…
Sparsh Dixit
- 11
- 1
- 1
- 2
1
vote
1 answer
Tomcat deploy war with Ant - error writing to server
I am using Ant to deploy a war to a Tomcat server, but it gives me the following error:
BUILD FAILED
/home/deploy/Documents/Work/Deploy_Wars/xrepo/deployment/build.xml:37: The following error occurred while executing this line:
…
George Cristian
- 11
- 2
1
vote
1 answer
What should I learn next as a devops beginner?
I'm working as a devops engineer in a big tech company (local). The technologies used here are nginx, linux, sql, redis, docker, glassfish and payara, kubernetes, tomcat, gitlab, jenkins etc. I've learnt linux and sql till date. What should I learn…
zeeshanseikh
- 111
- 1
1
vote
3 answers
Is SSL/HTTPS Needed Between Docker Containers on the Same Network?
As the title of the questions asks, is it important/needed to have ssl/https working between docker containers on the same network?
Our setup is an Nginx container that proxies two Tomcat containers.
The Nginx container performs ssl termination for…
hooknc
- 111
- 1
- 3
1
vote
1 answer
What's in THIS environment?
We work on multiple java web projects going on at the same time and those are all being tested on several different QA environments. I'd like to show on our support portal what projects are in what environments without having to manually update it…
DaveTX
- 21
- 2
1
vote
1 answer
Jenkins-Deployment failure, Build successful
I have been trying to work on Jenkins and I'm able to Build the code but unable to deploy on to the Tomcat server. Have checked the users.xml file and
Started by user nakul
Running as SYSTEM
Building in workspace…
nakul s
- 11
- 1
- 2
1
vote
1 answer
Unable to deploy webapp with `mvn tomcat7:deploy`: 401 Unauthorized
I'm trying to auto-deploy my webapps to tomcat using Maven plugin tomcat7-maven-plugin. I took the following three steps:
Added a new user with deployment rights to tomcat,
Introduced the mentioned tomcat user to maven,
Edited my project's pom.xml…
Hedayat Mahdipour
- 13
- 3
0
votes
2 answers
Programmatically scrape the latest version of Tomcat for an installation script
Looking for some assistance or ideas on how to grab the latest version of a Tomcat release from their website or other website.
I came across these Stack Overflow/Stack Exchange links that were relevant…
Keegan Jacobson
- 1
- 2
0
votes
0 answers
How to deploy Docker-Geoserver in Linux environment, Tomcat issue
I am trying to deploy a Geoserver instance using docker. I have managed to run the docker instance in my local machine running windows. However, when I tried to deploy it using remote maching running in Debian, I am running to some problems. The…
Nikko
- 101
- 3
0
votes
1 answer
Azure Web Apps Serves Old Files
I am using an Azure DevOps release pipeline to deploy code to an Azure Web App. It pulls my .war file from my most recent build pipeline to deploy. However, it serves old code. For example, the app has referenced an old application.properties file,…
highsilkhat
- 1
- 2