Questions tagged [tomcat]

a Java application server maintained by the Apache Software Foundation

Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

Tomcat/9.0.53 on ubuntu 2204 error 516 I/O ERROR catalina.pid after reboot

i succesfully installed on ubuntu 2204 an open source application for Asset Management called CMDBuild (https://www.cmdbuild.org/en/homepage?set_language=en) everything worked and the web application ...
ceccopt's user avatar
1 vote
0 answers
74 views

Ubuntu XWiki Tomcat Upgrade

System Information: Description:    Ubuntu 22.04.1 LTS Release:        22.04 Codename:       jammy Server version: Apache Tomcat/9.0.58 (Ubuntu) Server built:   Jan 6 1970 15:09:28 UTC Server number:  ...
Daniel's user avatar
  • 11
0 votes
0 answers
136 views

How to start Tomcat9 in foreground on Ubuntu22.04 if it was installed by apt repo?

I'v installed tomcat9 on my Ubuntu22.04LTS vm with the following commands: sudo apt update sudo apt upgrade sudo apt search tomcat sudo apt info tomcat9 sudo apt install tomcat9 tomcat9-admin tomcat9-...
f_s's user avatar
  • 1
0 votes
1 answer
131 views

How to add defined environment variable to a .service file

I'm installing Tomcat and one of the last steps requires to define a .service file for it. In that file I must define a line with Environment="JAVA_HOME=path_to_java" I already have a ...
Xandor19's user avatar
0 votes
1 answer
246 views

Start Apache2 and Tomcat on Startup on Ubuntu

Apologies if this has been answered elsewhere, I know little about either of these services. At work, we have a server that is normally on all the time, but when the power goes out, it shuts off. Our ...
Auske's user avatar
  • 1
0 votes
1 answer
168 views

upgrade ubuntu16.04 to ubuntu20.04, manual installation of tomcat8 comes with java11, how to change this to java8

As Ubuntu20.04 doesn't have tomcat8 in default pkg, I am trying to install it manually using these commands: sudo wget -c http://launchpadlibrarian.net/366407131/tomcat8_8.5.30-1ubuntu1_all.deb http://...
Java_Arc's user avatar
0 votes
1 answer
1k views

How can I setup SSL in Tomcat9?

I have tried to install SSL on tomcat 9 on port 8443. However, I do not know if tomcat support pem or crt format SSL. I have made changes into server.xml but when start tomcat I am getting the below ...
Puneet Talwar's user avatar
-1 votes
1 answer
1k views

How to grep the lines between the parent tags [duplicate]

<login-config> <auth-method>DIGEST</auth-method> <realm-name>UserDatabase</realm-name> </login-config> I need to grep the lines between <login-config&...
allada01's user avatar
0 votes
0 answers
1k views

How to start Tomcat 9 on Ubuntu 18.04 as a service in debug mode?

(looks like my question is evolving, after solving it I will edit it appropriately) As in the title. I can run Tomcat as a service, but I have no idea how to run it in debug mode. I've tried to run it ...
kujaw's user avatar
  • 440
2 votes
1 answer
6k views

Permission denied (publickey). while using SCP command

I have tried to copy some file in tomcat using SCP command scp ubuntu@xxxxxxx:/opt/apache-tomcat-9.0.48/conf/server.xml . ubuntu@xxxxxxx: Permission denied (publickey). help me to get out this Thank ...
AKASH-29's user avatar
0 votes
1 answer
2k views

Guide to set up Apache2 and Tomcat8.5 on an Ubuntu 18.04?

Does anyone know a good guide to set up Apache2 and Tomcat8.5 on an Ubuntu 18.04? (Including the Apache Tomcat Connectors: mod_jk)
Marco Schoolenberg's user avatar
1 vote
0 answers
1k views

Tomcat9 not starting after installation on Ubuntu 21.04

I installed Tomcat 9 using sudo apt-get install tomcat9 then de-installed tomcat9 using sudo apt-get --purge remove tomcat9. I then proceeded to reinstall tomcat9 using the apt-get install command. ...
Hendré's user avatar
  • 719
0 votes
0 answers
3k views

Tomcat 9 logging with log4j

Hello i want to configure the logging in Tomcat 9. I was following a tutorial about using log4j1.x. Seems that part relative to log4j is gone since Tomcat9. Im following this instructions taken from ...
Eduardo Gutierrez's user avatar
0 votes
1 answer
596 views

How to install tomcat7 on Ubuntu 18.04.5 LTS using apt

I'm trying to install tomcat 7 on an Ubuntu VM. I've tried the following: sudo apt-get update sudo apt-get install tomcat7 but all I get is: Reading package lists... Done Building dependency tree ...
Big Ian's user avatar
1 vote
2 answers
8k views

"The specified Server Location (Catalina Home) folder is not valid " apache netbeans 12 and Ubuntu 20.04

Installed Tomcat by following this link. Installed the latest Apache NetBeans from Ubuntu Software center, version 12.1. The installation of tomcat completes without any issues and I am able to access ...
Adarsh Balu's user avatar
0 votes
1 answer
689 views

Modify directory permissions for "others" in RPM

How to set write permissions for "others" in a .spec file for RPM As far as I understand "others" is a flag used for all users that are not the owner. I am trying to set the ...
adi1992's user avatar
1 vote
1 answer
5k views

Tomcat8: Where to find the appropriate container log file?

I am trying to install a webapp under Tomcat8 and get the error message in the file catalina.2020-30-09.log: org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to ...
Sir Cornflakes's user avatar
0 votes
1 answer
416 views

I deleted and reinstalled Tomcat8, now it won't start ... says "tomcat not installed" ... how do I determine what's wrong?

I'm on Ubuntu 18.04 I "apt installed" tomcat8 and it was working fine ... until I messed up the configuration. So I "apt removed" it and manually deleted folders /usr/share/...
AvaTaylor's user avatar
  • 101
1 vote
2 answers
4k views

Is it possible to install Apache Tomcat 8 on Ubuntu 20.04?

It seems that Ubuntu no longer ships Apache Tomcat 8 in the repos as of 20.04, there is only Apache Tomcat 9. I have a school assignment which requries we use Apache Tomcat 8. Is there a way to ...
Aaron Franke's user avatar
  • 1,126
0 votes
1 answer
14k views

Failed to start tomcat: Unit tomcat.service not found

I am trying to start tomcat 8 on ubuntu 18.04 it gives me this error: root@Openkm:/home/becsa# service tomcat start Failed to start tomcat.service: Unit tomcat.service not found. root@Openkm:/home/...
Lesy Reeds's user avatar
1 vote
1 answer
1k views

Where to configure Memory (xmx) for Tomcat8?

After installing Tomcat (on Ubuntu 18.04) via apt install tomcat8, where to put the Java -Xmx option to increase available memory?
Witek's user avatar
  • 3,913
0 votes
1 answer
4k views

Start Tomcat 9 on Ubuntu 18 error

I am trying to install apache-tomcat-9.0.33 on a 64 bit machine running Ubuntu 18.04.4 LTS. I followed the script given on https://linuxize.com/post/how-to-install-tomcat-9-on-ubuntu-18-04/. ...
rgparker's user avatar
1 vote
1 answer
368 views

Conflicts installing Tomcat by snap and by apt-get?

I've installed Tomcat 9 by snap install, it is working fine. But now I'm starting a course that begins installing Tomcat 8 and recommends to install it by apt-get, not snap. I want to do that to match ...
Plàcid Masvidal's user avatar
3 votes
1 answer
4k views

Moving log location for Tomcat 9 on Ubuntu 18.04

On a fresh instance in AWS of Ubuntu 18.04, I have installed tomcat9 through apt. I'm replacing a 14.04 Ubuntu install where i was running tomcat7. Due to the nature of my application, I have a very ...
eric's user avatar
  • 161
0 votes
0 answers
183 views

Is there any data transfer limit for Ubuntu?

I have developed a web application with Java which is deployed to tomcat and uses mysql as database. These softwares run on either in my developer computer which is Ubuntu 18.04 or in a server which ...
a.akkus's user avatar
0 votes
0 answers
187 views

How to access ubuntu server with apache open meeting from internet

I'm new and selflerner. I have configured a apache open meeting in ubuntu 18.04. Ubuntu has been installed as VM guest using windows server 2016. Open meeting is running on ubuntu local host properly. ...
sunil kumara's user avatar
0 votes
1 answer
786 views

Install tomcat 9 on ubuntu server 18.04.3

I tried following this: https://linuxize.com/post/how-to-install-tomcat-9-on-ubuntu-18-04/ in the last part of the heading Step3: Install Tomcat when I run the command: sudo useradd -r -m -U -d /opt/...
brat's user avatar
  • 101
0 votes
2 answers
2k views

Cannot Unzip a .tar.gz file

So, I am trying to install apache tomcat, upon me trying to unzip the tar file i am getting this error. gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: ...
Aaron Akhtar's user avatar
3 votes
1 answer
9k views

How to solve "Error running Tomcat server(Ubuntu): Port out of Range problem." problem?

I am trying practice Java servlet where I need Tomcat server. I choose IntelliJ as my IDE which is throwing me popup message: I used this configuration: And this is what's inside Tomcat's server.xml ...
Pranav's user avatar
  • 1,150
1 vote
1 answer
5k views

How to link Tomcat server config in Intellij IDEA?

In Java class, my sir told me to link Tomcat server config which is inside Xampp folder. But his OS was Windows and things were different on my side since I use Ubuntu 19.04. I installed "xampp-linux-...
Pranav's user avatar
  • 1,150
1 vote
2 answers
18k views

How can I add some lines to the ~/.bashrc file in Ubuntu?

I am new to programming, I wanted to download and setup Apache Tomcat on my Ubuntu. I copied the tar link from Apache. I then decompressed the file with tar xvzf Apache-tomcat.7.0.94.tar.gz Now I'm ...
Shilpa kala's user avatar
0 votes
0 answers
3k views

shutdown.sh[3324]: PID file found but either no matching process was found or the current user does not have permission

I get the following in the journalctl -xe reply after attempting to start tomcat: shutdown.sh[3324]: PID file found but either no matching process was found or the current user does not have ...
Frank Dmuchowski's user avatar
0 votes
1 answer
2k views

403 with Tomcat manager

OS: Ubuntu 18.04 Tomcat version: 9 This my conf <Context antiResourceLocking="false" privileged="true" > <!-- <Valve className="org.apache.catalina.valves....
GHOST's user avatar
  • 347
1 vote
1 answer
29k views

How to remove tomcat 9 from ubuntu 18.04

I know this question has been asked a lot but I am facing some problems. When I upload a war file to tomcat I cant get to to start and i get this error FAIL - Application at context path [/fuseki] ...
Stelios Botonakis's user avatar
1 vote
0 answers
481 views

443 8443 iptable redirection

Want to redirect 443 to tomcat 8443: sudo iptables -t nat -n -L PREROUTING --line-numbers num target prot opt source destination 1 DOCKER all -- 0.0.0.0/0 0.0....
Alvin's user avatar
  • 111
3 votes
1 answer
8k views

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] ...
EnDelt64's user avatar
  • 147
0 votes
1 answer
96 views

Support for the tomcat8 package

On Ubuntu 16.04 I've been using the tomcat8 package. I enjoyed an automatic installation process and was guaranteed to receive packaged security updates for 5 years courtesy of Canonical. So, even ...
simlev's user avatar
  • 432
1 vote
1 answer
6k views

java jdk 11, where is the jre folder?

I was installing tomcat 9 and when I have to browse for the jre folder, I am not able to find it! where is it?
Claudia Bringas's user avatar
1 vote
2 answers
4k views

Ubuntu 18.10 Tomcat8 catalina.out file path

In previosu version, I saw that the catalina.out file was created at /var/log/tomcat8/catalina.out location. As I was study for my current installation, Ubuntu 18.10 and last package version, I saw ...
Etienne's user avatar
  • 11
1 vote
1 answer
4k views

Unknown version of Tomcat was specified. Tomcat 9 Eclipse Java EE Ubuntu18.04

My ubuntu version is 18.04 My eclipse version is Eclipse Java EE IDE for Web Developers 2018-09 (4.9.0) Tomcat version is 9.0.13 I installed tomcat from this tutorial: www.digitalocean.com/community/...
omerbguclu's user avatar
0 votes
1 answer
2k views

How can I configure Tomcat 9 without apt-get installation?

I have installed my Tomcat 9 from this source. Just downloaded the tar.gz file and extracted it. Then I went into the ../conf/server.xml file to change the port from 8080 to 80. And then I started ...
euraad's user avatar
  • 217
0 votes
0 answers
789 views

403 Access Denied on tomcat Server?

For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above. Note that for Tomcat 7 onwards, the roles required to use ...
Santosh Garole's user avatar
4 votes
2 answers
15k views

Is there a way I can install tomcat7 on Ubuntu 18.04?

I would like to install tomcat7 (NOT tomcat8) on ubuntu 18.04. I figured I could enable the universe repo by doing the following sudo add-apt-repository universe however, when I try and do sudo apt-...
Joe's user avatar
  • 41
0 votes
1 answer
5k views

Failed to start reload.service: Unit reload.service not found

I have added this in tomcat service : [Unit] Description=Apache Tomcat 8 Servlet Container After=syslog.target network.target [Service] User=tomcat Group=tomcat Type=forking Environment=CATALINA_PID=...
mehul's user avatar
  • 1
1 vote
2 answers
280 views

Directory is not a directory, can't install psa [closed]

I'm trying to configure Tomcat on my server. I have short instruction: # /usr/local/psa/admin/sbin/tomcatmng --install-psa # /usr/local/psa/admin/sbin/tomcatmng --is-configured yes it's all, but I ...
companyn's user avatar
0 votes
1 answer
53 views

On Ubuntu 16.04 with Eclipse Oxygen on my dev machine - should I use the distro Tomcat?

I am running Ubuntu 16.04 and want to use Eclipse Oxygen with a large Tomcat application. Should I just use the standard Tomcat that came with the Ubuntu distro? I have seen a lot of posts about ...
Ted Cahall's user avatar
0 votes
1 answer
2k views

HTTP Status 500 Internal Server Error

After a lot of struggle, I have installed Tomcat8 on my Ubuntu. However it results in the following error when I access localhost:8080 HOW DO I FIX IT? Type Exception Report Message java.lang....
user2925716's user avatar
1 vote
0 answers
2k views

Tomcat start error in Ubuntu 16.04

After running: service tomcat start I got: Job for tomcat.service failed because the control process exited with error code. See "systemctl status tomcat.service" and "journalctl -xe" for details. ...
Mallikarjun Dodmani's user avatar
0 votes
1 answer
1k views

Can't enter in Manager App tomcat

I try to enter in Manager App tomcat directory, but after I enter password, I have Your connection to this site is not private In log catalina.out I can see this message: 08-Dec-2017 09:03:36....
Vadym's user avatar
  • 1
2 votes
2 answers
15k views

Can't start tomcat after installing it on Ubuntu 16.04: "Job for tomcat.service failed because the control process exited with error code."

I followed the steps https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04 to install tomcat 8.5.24 on Ubuntu 16.04, till running sudo ufw allow 8080 in "Step ...
Tim's user avatar
  • 24.8k

1
2 3 4 5