Questions tagged [tomcat]

a Java application server maintained by the Apache Software Foundation

Filter by
Sorted by
Tagged with
0
votes
1answer
12 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
0answers
36 views

Ubuntu 20.04 add ReadWritePaths with wildcard in tomcat9 systemd service

On Ubuntu 20.04 in the file /etc/systemd/system/tomcat9.service.d/override.conf I have: [Service] ReadWritePaths=/home ReadWritePaths=/home02 ReadWritePaths=/home03 How can I have just /home* with ...
0
votes
0answers
15 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/...
0
votes
0answers
8 views

I deleted the “/etc/init.d/tomcat8” script … when I re-install tomcat8, the script is not recreated … how do I get it back? [duplicate]

I'm using an Amazon EC2 instance of Ubuntu 18.04. I installed Tomcat, experimented with it, and messed up the configuration. I wanted to remove tomcat completely and start over, so I did: sudo apt ...
0
votes
1answer
126 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
0answers
23 views

Tomcat: users and roles

In the documentation of tomcat9 says that you can configure users in :/tomcatinstallationdolder/conf/tomcat-users.xml <tomcat-users xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-...
0
votes
0answers
28 views

Tomcat own certificate SSL

I have on my Ubuntu 18.04 installed TOMCAT. I need to help how to install own certification for SSL running (443). I received certificates in PEM format (.crt). I found on internet that I need to ...
0
votes
0answers
50 views

How to change Java Version for Apache Tomcat 9

So I am running apache tomcat 9, when I check the /manager page it shows the jvm version as 11.0.8+10-post-Ubuntu-0ubuntu118.04.1. I want to use Java version 8, how would I change this? I have read ...
1
vote
1answer
133 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/...
0
votes
0answers
137 views

Install Tomcat Native library Ubuntu 20.04

I'm trying to install on an Ubuntu 20.04 Docker image an Apache Tomcat 9.0.35 with Native Library. In the Dockerfile there is a test checking that native library is working # verify Tomcat Native is ...
1
vote
1answer
188 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
1answer
325 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/. ...
0
votes
0answers
292 views

Deploying a .war application on a tomcat server

I am trying to deploy my hello.war file (Java application) on my tomcat server. At first I do it from the "Manager App" on tomcat's default page, and it shows off afterwards in the Applications ...
1
vote
1answer
118 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 ...
2
votes
1answer
942 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
0answers
22 views

Permissions Error While Deploying Tomcat app? (jdbc SQL Permissions Error)?

I have tomcat installed on ubuntu 18.04 and Tomcat is installed to /opt/tomcat/latest/ Permissions are set that user tomcat is group member www-tomcat, permissions all show tomcat:www-tomcat I'm ...
0
votes
0answers
106 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
0answers
70 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
0answers
351 views

Tomcat 9 does not allow to read file in /tmp folder with 777 permission?

I have a java web application by Tomcat 9 servlet container which tries to read a file in /tmp folder with 777 permission on Ubuntu 18.04 ls -ltr /tmp/test.txt -rwxrwxrwx 1 vagrant vagrant 10 Jan 3 ...
0
votes
1answer
195 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
0answers
65 views

Unable to install tomcat on Ubuntu, getting an error of 203/EXEC

I really really need help, i'm trying to setup a tomcat onm my server but i'm just not able to get this tomcat setup on my ubuntu server. I'm using the following two tomcat setup guides, and i'm just ...
0
votes
2answers
1k 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
1answer
8k 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
1answer
2k 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-...
0
votes
2answers
3k 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
0answers
1k 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
0answers
917 views

tomcat manager 403

os:ubuntu 18.4 tomcat version : 9 this my conf <Context antiResourceLocking="false" privileged="true" > <!-- <Valve className="org.apache.catalina.valves.RemoteAddrValve" ...
0
votes
1answer
7k 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
0answers
130 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....
1
vote
1answer
3k 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
1answer
72 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
1answer
3k 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
2answers
2k 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
1answer
2k 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
1answer
1k 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
0answers
546 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
2answers
10k 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
1answer
3k 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
2answers
198 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
1answer
46 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
1answer
1k 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
0answers
1k 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
1answer
646 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
2answers
10k 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 ...
0
votes
1answer
2k views

Apache Tomcat not asking to login

I installed Apache Tomcat 8.5.23 on Ubuntu 16.04, and when I try to open welcome page of tomcat on port 8080 it works good. But, when I try to open Manager app, I have a 403 Access Denied error. ...
1
vote
0answers
37 views

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 ...
0
votes
1answer
6k views

systemctl enable Failed to issue method call: Bad message

Summary: when I try to run sudo systemctl enable tomcat I get the following message Failed to issue method call: Bad message yet when I run sudo systemctl status tomcat I get this response ...
1
vote
2answers
2k views

Tomcat installation directory for Eclipse

I have installed tomcat8 using apt-get and it was installed properly. I have to integrate tomcat with eclipse but when I provide installation directory as /usr/share/tomcat8, it says config file is ...
0
votes
0answers
530 views

Can't Access dSpace Web Interface using Public IP Ubuntu Apache Tomcat

I have recently configured dSpace Repository system in Ubuntu 16.04. Currently it is working fine locally using localhost:8080/jspui But when I configured Public IP Address xxx.xxx.xxx.xxx using ...
1
vote
0answers
2k views

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 and then i tried to install ...

1
2 3 4 5