Questions tagged [tomcat]

a Java application server maintained by the Apache Software Foundation

Tomcat is an open source Java application server. Further information can be found on the Apache Tomcat project page.

For questions relating to specific versions of Tomcat, see and .

212 questions
104
votes
10 answers

What is the Tomcat installation directory?

Based here I'm trying to setup Tomcat Server, I have successfully installed it and tested it. Then I stopped it as recommended in the tutorial. I'm setting up "New Server Runtime Environment" as you can see under Tomcat Installation Directory is a…
12
votes
3 answers

CATALINA_HOME vs. CATALINA_BASE

I can't find a definitive answer to why Ubuntu would set the CATALINA_BASE environment variable, making it different from CATALINA_HOME. I found this document which suggests that not setting CATALINA_BASE would make it equivalent to CATALINA_HOME.…
Mei
  • 1,676
8
votes
8 answers

Tomcat 8 doen´t start on ubuntu 15.04 -- status=127

I always get this message that I can't follow: sudo systemctl status -l tomcat8.service ● tomcat8.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat8) Active: failed (Result: exit-code) since sáb 2015-05-09 00:48:07 CEST; 2h 31min…
mouxo
  • 81
  • 1
  • 1
  • 3
6
votes
1 answer

How do I secure a Tomcat installation?

I have installed tomcat on my Ubuntu Home 11.10 system and can successfully access the test page online after port forwarding on 8080 within my router. I have not made any other changes to the router, Ubuntu or the tomcat install, everything else…
spangeman
  • 163
5
votes
2 answers

Tomcat Installation startup.sh not working

So I've followed the list of steps on : https://www.digitalocean.com/community/articles/how-to-install-apache-tomcat-on-ubuntu-12-04. When I try to run the startup script, I get this message: $CATALINA_HOME/bin/startup.sh Using CATALINA_BASE: …
3
votes
2 answers

how to run tomcat as service and not use root user

I copy catalina.sh to /etc/init.d/tomcat and sudo chkconfig --add tomcat it started as root user,I want use another user,how?
quaff
3
votes
1 answer

Tomcat 9 doesn't have tomcat.pid file

I've installed Tomcat 9 on Ubuntu 18.04, and trying to add it to service. However, unlike other users, tomcat.pid file doesn't exist anywhere. So my Tomcat service file generates an error. [Unit] Description=Apache Tomcat 9 Servlet…
EnDelt64
  • 147
  • 3
  • 10
2
votes
1 answer

Tomcat native library update

I can't get rid of An incompatible version 1.1.29 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.30 in Intellij Idea. I think I just need to update that. sudo apt-get upgrade libtcnative-1 didn't fix…
2
votes
2 answers

How to install Tomcat5.5 in Ubuntu?

Hi can any one tell me the installation process of Tomacat5.5 or higher version in Ubuntu. These are my questions for tomcat installation: How to install Tomcat in Ubuntu? 2.How to start an stop the Tomcat server?
udaykumar
  • 1,453
  • 3
  • 13
  • 12
2
votes
4 answers

shutting down tomcat on port 8080

I have problem in shutting down tomcat server. When I type localhost://8080, it keeps on showing me tomcat homepage. I restarted the system also but did not help. I have already tried following commands and it did not show any process which might be…
richa
  • 95
1
vote
0 answers

Unknown tomcat account

Recently I have installed Tomcat and today I discovered that tomcat created new user called tomcat. I can't log in into that account with my root password. What does this new user account mean and how can I delete it? I am running Ubuntu 16.04…
Naum PS
  • 73
1
vote
0 answers

How to completely remove any Tomcat related data from Ubuntu?

Previously I installed Tomcat 8, but due to some error I removed the Tomcat 8 from my system while removing Java and I also removed some files from the system manually. Then I tried to install Tomcat 8, but I was not able to install it, so I had to…
neo73
  • 111
1
vote
1 answer

what is tomcat's user directory and how to find it in ubuntu?

I have installed apache-tomcat 8.0.30 in etc folder. How can I find the tomcat's user directory in ubuntu? Which one is tomcat's user directory? what is meant by user directory? is it the configuration directory? temp directory?there are so many…
ubuntuser
  • 71
  • 1
  • 2
  • 6
1
vote
1 answer

Tomcat 8 package in Ubuntu 14.04 LTS

Do you plan to include Tomcat 8 package in Ubuntu 14.04 LTS? If yes, when?
0
votes
0 answers

i deleted the tomcat folder in etc/init.d

while installing tomcat again systemctl status tomcat8.service ● tomcat8.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat8; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-08-18 00:00:29 IST; 16s…
neo73
  • 111
1
2