Questions tagged [tomcat]
a Java application server maintained by the Apache Software Foundation
209
questions
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 ...
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: ...
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-...
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 ...
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 ...
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://...
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 ...
-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&...
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 ...
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 ...
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)
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...
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 ...
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/...
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?
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/. ...
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 ...
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 ...
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 ...
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. ...
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/...
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: ...
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 ...
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-...
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 ...
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 ...
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....
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] ...
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....
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]
...
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 ...
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?
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 ...
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/...
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 ...
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 ...
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-...
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=...
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 ...
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 ...
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....
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.
...
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....
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 ...