Questions tagged [tomcat]
a Java application server maintained by the Apache Software Foundation
63
questions with no upvoted or accepted answers
2
votes
0
answers
120
views
Can not access files owned by other user/group
I am running tomcat7 on Ubuntu 14.04 AWS instance. Previously I could access tomcat log files from Ubuntu user without sudo. After installing the latest kernel patch I can not access log files without ...
2
votes
1
answer
2k
views
How can I Install Java JDK7, apache tomcat , eclipse , spring tool suite in my ubuntu 14.04?
could anyone tell me how to install Java JDK7 , apache tomcat , eclipse , spring tool suite in my ubuntu 14.04 ? Provide proper steps .
2
votes
3
answers
2k
views
How to start Tomcat7 in Eclipse 4.4 under Ubuntu 14.04?
I have a problem.
I have installed Tomcat7 with apt-get and it works fine. But, when I try to start this server from Eclipse it fails with error:
Could not load the Tomcat server configuration at /...
2
votes
2
answers
1k
views
What exactly should I set as JAVA_HOME?
I am trying to make Tomcat 7 working with Eclipse, and I am not sure if my JAVA_HOME is correct.
~$ echo $JAVA_HOME
/usr/lib/jvm/default-java
And there is no such catalog!
I only have:
~$ ls /...
2
votes
1
answer
1k
views
How can I put tomcat under apparmor?
For security reasons, I want to put Tomcat under apparmor. The Ubuntu server(12.04 LTS) guide has a good explanation about apparmor, but I am not sure what is the correct way of creating a profile for ...
2
votes
0
answers
230
views
Tomcat 7 and Eclipse integration getting error
I had installed Tomcat7 from Ubuntu's repository but when I added Tomcat7 into Eclipse, this dialog indicates something wrong with Tomcat Server Configuration at /usr/share/tomcat7/conf.
How should I ...
1
vote
2
answers
125
views
How do I get package updates from Ubuntu Pro
We installed tomcat9 and nginx from the Ubuntu package manager and soon realised that the package versions available didn't have the latest security and patches.
We then subscribed to ubuntu pro esm-...
1
vote
0
answers
88
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: ...
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. ...
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 ...
1
vote
1
answer
377
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 ...
1
vote
0
answers
497
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
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.
...
1
vote
0
answers
55
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 ...
1
vote
2
answers
4k
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 ...
1
vote
0
answers
3k
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. Then I tried to install Tomcat ...
1
vote
0
answers
3k
views
Cannot start web app on tomcat from intellij
I 'm new in ubuntu. I'm trying to run a web app on tomcat from intellij but I got this error: Error running Tomcat Can't find catalina.jar
I tried everything I found on forums for this problem, but ...
1
vote
0
answers
5k
views
Why do I get this error trying to run a web project on Tomcat with Eclipse?
I have this error after export a project from Eclipse for Windows (tested in Windows 7 and Windows 10) and importing it to Eclipse for Ubuntu.
The error happens when I try to run the project on Tomcat ...
1
vote
0
answers
390
views
starting tomcat via startup.sh fails with sudo -u myuser while running shell as user works
sudo -u myuser sh /var/lib/tomcat6/bin/startup.sh
fails while
sh /var/lib/tomcat6/bin/startup.sh
as user myuser works
I try to run it as root user to start a service:
errors:
/usr/lib/jvm/...
1
vote
0
answers
903
views
No such file or directory while trying to give permissions to Tomcat
I made /opt/tomcat directory for Apache Tomcat and extracted latest binary distribution to it. I'm following this article and everything besides this line works:
sudo chmod g+r conf/*
Whenever I try ...
1
vote
0
answers
26
views
Tomcat doesn't see Windows files
I've a dual boot machine.
I've written a Java method to execute java.io.File.list(pathname)
When I run the method from a terminal window, supplying the pathname over stdio, I can see the Windows ...
1
vote
2
answers
1k
views
libreplan : Depends: tomcat6 but it is not going to be installed
I've tried to install Libreplan, on a 14.04 server system, using the steps from the Libreplan website and this guide.
I can add the PPA without problems, but when I use the sudo apt-get install ...
1
vote
0
answers
702
views
MS SQL/SpagoBI/Tomcat/Ubuntu
I am new to Ubuntu, and have some questions.
I am trying to connect an Ubuntu server to MS SQL so that SpagoBI can get information from the MS SQL server.
Now I have followed a couple of forums and ...
1
vote
0
answers
48
views
Webserver losing traffic
I have my e-commerce application running on Ubuntu 12.0.4 on Tomcat 7 servlet. I get around 7000000 hits everyday on this webserver.
However I suspect that the webserver is discarding some traffic (...
1
vote
0
answers
441
views
Apache tomcat cluster
I am trying to run 2 tomcat servers in cluster, I have made necessary changes in server.xml of each of those, but while starting server i am getting following error,
what can be the issue??
Jun 18, ...
1
vote
1
answer
7k
views
Apache Tomcat webapps have to use a proxy
I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy.
I added the following lines ...
1
vote
1
answer
4k
views
How to make apache tomcat comes with netbeans installation work?
I have installed the "apache tomcat" server came with NetBeans along with Glassfish server.
Now How can i deploy php application on it ? How should I configure it ?
The default directory of apache ...
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?
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
0
answers
81
views
Unable to create initial connections of pool. : Could not create connection to database server
I am stuck with below error, Although the connection is successful to localhost but still getting below mentioned error
SEVERE [main] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create ...
0
votes
0
answers
53
views
I have followed the entire procedure correctly to install Apache Tomcat but I'm getting error Access Denied
enter image description here403 Access Denied
This is the error I am facing when I try to run my Apache Tomcat Server in localhost:8080
I have edited the roles and users correctly also there's no ...
0
votes
0
answers
87
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 ...
0
votes
1
answer
337
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
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 ...
0
votes
0
answers
4k
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
663
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 ...
0
votes
1
answer
439
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
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/. ...
0
votes
0
answers
198
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
189
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
869
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
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
3k
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....
0
votes
0
answers
819
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 ...
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....
0
votes
0
answers
1k
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 ...
0
votes
0
answers
475
views
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-...
0
votes
0
answers
840
views
error installing tomcat 7
Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "...
0
votes
1
answer
2k
views
Tomcat GUI access broken?
I'm able to reach tomcat in the browser. I've done all the prep to be able to access the GUI apps, but I am still told I am not authorized.
I have my /opt/tomcat/conf/tomcat-users.xml in code blocks ...
0
votes
0
answers
480
views
Ubuntu Server LTS 14 > 16.04 Upgrade - SSH Service Restart Fails
I performed a server upgrade this evening to 16.04. This Ubuntu server is solely used to run web apps on Tomcat 8 (as a part of this upgrade, I also upgraded to JDK 8).
Additionally, I have a build ...