The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [tomcat7]

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

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

/etc/default/tomcat7 does not exist?

I am a complete noob with linux so please don't shoot me. I have installed tomcat7 according to this tutorial. Then I copied my project.war into /opt/tomcat/webapps and then I run $CATALINA_HOME/bin/...
0
votes
0answers
20 views

Unable to forward requests from apache2 to Tomcat 7: Ubuntu 16 LTS

I followed this tutorial to forward some of the requests from apache2 to tomcat 7. The first difference, I have from this tutorial is that I already have port 8009 occupied by some other process and I ...
1
vote
0answers
129 views

my dpkg seems to be corrupt or broken

Few weeks ago, I had deleted my dpkg folder by mistake (sudo rm -f "something that had dpkg directory") After few panic attacks, I followed Ask Ubuntu and restored dpkg (or at least I thought I did), ...
0
votes
1answer
2k views

Install tomcat7 on Ubuntu 17.10

Preferably through apt-get. I know there's this package for 16.04, but I don't know how to add it to apt-get. Would it work? I have java8 installed. Not sure what additional information I can provide....
1
vote
1answer
343 views

Change JVM running on Tomcat7 Ubuntu 14.04 permission denied

I am trying to change the JVM running on Tomcat7 on my Ubuntu 14.04 that is currently running on 1.7.0_121-b00. I currently have 1.8.0_121 version and I would like to use it in the Tomcat7. I have ...
0
votes
2answers
1k views

Tomcat 7 CPU usage on Ubuntu 14.04

I deployed Java web application on Tomcat with Mongodb in Ubuntu 14.04. But Tomcat CPU usage increases suddenly to %100 after 5-6 hours. I couldn't find why. My htop logs like below. Digital Ocean ...
2
votes
1answer
3k views

tomcat7 installation fails with error code 1

I am trying to install tomcat7 on my machine but I get the following error. Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" ...
1
vote
1answer
2k views

Unable to remove tomcat7

I am unable to completely remove tomcat7 from my Ubuntu 15.04. I mistakenly deleted its var/lib/dpkg/info/tomcat7 config file from the file manager. But now when I am trying to delete this package ...
0
votes
1answer
2k views

Update Tomcat 7.0.52 to 7.0.53 on 14.04 Server

I am trying to find a way to upgrade 7.0.52 to 7.0.53, but I can't not find a easy way to do it. Ubuntu installed 7.0.52 by default, I am looking to install later versions though. Any help is greatly ...
0
votes
1answer
3k views

Errors while processing: tomcat7

I get following errors when I try to install any software or reinstall tomcat7: Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7....
2
votes
1answer
299 views

Why upgrading Tomcat to version 7.0.52-1ubuntu0.6 breaks session persistence?

I have Tomcat 7 on Ubuntu 14.04. Last week I installed the Ubuntu security updates through apt-get, as I always do, and it upgraded Tomcat to version 7.0.52-1ubuntu0.6 (not sure what the previous ...
2
votes
2answers
49 views

Software that listens on a port, and shuts down Ubuntu

I am currently running Ubuntu 12.04 LTS (installed using Wubi) on a Dell Dimention 3000 (not a server). I want to install some software that will listen on a certain port, and shut down the system ...
0
votes
2answers
1k views

Copying files to var/lib/tomcat7/webapps/ROOT

I have installed a web app in var/lib/tomcat7/webapps/ROOT that runs using tomcat7. When i check the file permissions,i see that they are owned by tomcat7 How can i copy a file inside ROOT and make ...
2
votes
2answers
964 views

Netbeans - Starting of Tomcat failed

I am trying to run Tomcat 7 from Netbeans 8.1 but getting the following output on the server console. java.util.logging.ErrorManager: 4: Unable to create [/usr/share/tomcat7/logs] java.util....
-1
votes
1answer
310 views

Unable to install Tomcat 7 on Ubunu 12.04 [duplicate]

I am trying to install Tomcat 7 on my Dell Dimention 3000 running Wubi 12.04 (not a server). I found instructions here: http://www.liquidweb.com/kb/how-to-install-apache-tomcat-7-on-ubuntu-12-04/, but ...
1
vote
2answers
7k views

Schedule tomcat7 restart on Ubuntu 14.04.3 LTS

I have an issue with Tomcat 7 on my Ubuntu machine. I'm still a rookie in this, but it seems that restarting the tomcat7 service fixes the issue. I would like to make a scheduled task on the machine ...
3
votes
1answer
2k views

Error while install tomcat7

i am tring to install tomcat7 on ubuntu 14.04 using the $sudo apt-get install tomcat7 but it gives an error as The following NEW packages will be installed: tomcat7 0 upgraded, 1 newly installed, ...
2
votes
1answer
2k views

Can't switch to tomcat user after installing tomcat via apt

I'm on Ubuntu 14.04. I installed Tomcat 7 from the default repository with sudo apt-get install tomcat7 It installed fine, I can start/stop the service tomcat7 using sudo service tomcat7 restart etc....
0
votes
1answer
5k views

What is the default password for the `tomcat7` user on my system?

I'm on Ubuntu 14.04 and I installed Apache Tomcat 7 via sudo apt-get install tomcat7 and without editing any configuration I can start and stop the service tomcat7 successfully (localhost:8080 shows ...
0
votes
1answer
2k views

http://localhost:8080/ vs http://server_IP_address:8080/

after installing tomcat7 on ubuntu. what to do if http://localhost:8080/ works fine but http://server_IP_address:8080/ does not. what is the difference between these two?
0
votes
1answer
887 views

Install apache2 and tomcat7 without apt-get (Ubuntu Server)

How can I install apache2 and tomcat7 without using apt-get? The only command I'm allowed to use to download stuff is wget. I download apache2 from http://packages.ubuntu.com/trusty/apache2. ...
1
vote
1answer
3k views

Tomcat started, connection refused

I have downloaded apache-tomcat-7.0.65.tar.gz from here. I extracted, and started using startup.sh as follows arul@arul-pc:~$ chmod +x /usr/local/apache-tomcat-7.0.65/bin/startup.sh arul@arul-pc:~$ ...
0
votes
1answer
1k views

Ubuntu 14, services don't stop, shutdown doesn't work

I host a few things on my Ubuntu server. I use Apache (80), Tomcat (8080), and PlexMediaServer (32400). Lately I've tried to install Deluge which opened Pandora's box for me. It hung when it got to ...
0
votes
1answer
471 views

While installing ftp vsftpd, tomcat7 error is coming

root@Nanobi-05-PC:/home/dev# sudo apt-get install -f vsftpd Reading package lists... Done Building dependency tree Reading state information... Done vsftpd is already the newest version. 0 ...
3
votes
1answer
2k views

How to disable tomcat7 from autostarting?

Most answers that I found on the Internet is something like this: sudo update-rc.d tomcat7 disable When I executed this line in ubuntu, I saw these warnings: insserv: warning: current start ...
3
votes
2answers
7k views

Should my swap size be zero or am I misunderstanding the output?

We are running an Amazon EC2 R3 instance so has 30G of memory available. We are running 5 Apache Tomcats (version 7). According to lsb_release -a the version of Ubuntu is: Ubuntu 14.04.2 LTS Tomcats ...
0
votes
1answer
299 views

Tomcat7 keeps loading after restart

The problem: The Tomcat7 startup page keeps loading after restarting its service using either /etc/init.d/tomcat7 restart or service tomcat7 restart. I only tested using Ubuntu 14.04.2. How I ...
2
votes
2answers
3k views

How to set environment variables separated by dots

I have to set an environment variable separated by dot in my tomcat startup script. For example host.name=localhost I know shell doesn't accept dot separated variables. Is there a work around ? I ...
1
vote
1answer
255 views

OpenForis Calc / embedded Tomcat won't start

Trying to run OpenForis Calc, embedded Tomcat instance fails. Error seems to appear here: Apr 17, 2015 2:13:47 AM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying ...
1
vote
1answer
983 views

Can't set arguments in Eclipse to define Tomcat

I've downloaded Eclipse Luna and Tomcat 7 in Ubuntu 14.10. I put them into my user folder. Eclipse in Eclipse folder and Tomcat 7 in Tomcat folder. When I try to register an argument in my Tomcat 7 ...
3
votes
3answers
8k views

Ubuntu 14.04 server tomcat7 won't start on reboot

I have tomcat7 running on server for helpdesk ticketing system (SysAid). After a reboot the tomcat7 service does not start up. In my catalina.out file when I grep for tomcat7 I get the following: ...
0
votes
1answer
940 views

Access Jenkins through Tomcat7 and Apache2

I am setting up a CI/CD server*h, hosted on a little box I have in the back of my house. e2/mods-e/Currently, I have a Jenkins instance running through Tomcat7 on port 8080, and a SonarQube instance ...
2
votes
1answer
18k views

Tomcat7 is listening port but not processes requests

Im trying to run my web server in VPS based on ubuntu 14.04. As i tried before on other systems i can check if my tomcat is fine, by going to _http://myIp:8080 and see "It works" index page, but not ...
0
votes
4answers
8k views

Tomcat7 installation failed via apt-get on Ubuntu 14.04

I'm facing an issue while installing Tomcat7 in Ubuntu 14.04. The JDK is already installed on my system (1.7 version), but when I use apt-get install tomcat7 I get the below error: Setting up tomcat7-...
0
votes
1answer
2k views

Start tomcat7 in debug mode when running as a service

Im running tomcat7 as a service (installed as a package) in ubuntu 12.04. I just need to start it in debug mode.in a previous post they have asked to put the debugging options in /etc/tomcat7/tomcat7....
8
votes
4answers
30k views

How do I disable SSLv3 in tomcat?

Please provide the fix for How do I patch/workaround SSLv3 POODLE vulnerability (CVE­-2014­-3566)? for Tomcat. I have tried following below link, however it does not help: tomcat-users mailing list ...
0
votes
1answer
2k views

Tomcat 7 not getting started from Eclipse

I have Strucked with a annoying problem, I had installed eclipse EE for working under JSP & Servlets, I had installed WTS from Install New Software , I have installed tomcat7 from apt-get install ...
2
votes
1answer
1k views

sudo apt-get install tomcat7 returns a 404 for Ubuntu 14.04 (64 bit) but package should be available

I'm trying to install tomcat7 on ubuntu 14.04 64bit using the following command sudo apt-get install tomcat7 the required libs can't be downloaded with the following error Err http://archive....
9
votes
1answer
45k views

Permission issues with tomcat

I installed Tomcat 7 following the Ubuntu guide. The server is working and gives me the "It works!" page on http://localhost:8080/. Now I want to setup my own webapp using Netbeans. I generated a new ...
2
votes
1answer
5k views

can not access to tomcat7 manager application

I've installed TOMCAT7 via synaptic but can not access manager application. What am I doing wrong or what is missing, I can not figure out. My complete settings and o/p are listed below: When I do ...
3
votes
3answers
27k views

Tomcat shartup.sh command says permisison denied

I have set CATALINA_HOME in ~/.bashrc file but on running $CATALINA_HOME/bin/startup.sh command it produces output like: bash: /home/ravinder/Java_Folder/Important_Programs/Servers/Tomcat7/bin/...
2
votes
2answers
34k views

Tomcat7 start at server startup

My ubuntu 13.10 was configured to start apache2 and tomcat7 at startup, but (maybe for automatic system updates) they don't auto-start at startup anymore. I've solved apache2 auto start with the ...
9
votes
6answers
32k views

How to install Tomcat7 in Ubuntu 14.04 LTS?

If I apt-get install tomcat7 it is installing a broken tomcat7. A simple startup.sh will give me errors, than when fixed says that tomcat has started but nothing shows up in localhost:8080. shutdown....
0
votes
1answer
2k views

Multiple instances for tomcat not working 100% help

I'm relatively new to ubuntu or any linux systems but I needed to do a test to see if I could get the program working on ubuntu. I have gone through this process of going about installing multiple ...
14
votes
2answers
90k views

how to stop tomcat7 in ubuntu?

I have installed apache tomcat7 using the command apt-get. Now whenever I start my system, tomcat is running. I want to stop the tomcat so that I can start it within eclipse. I tried stoping it with ...
9
votes
3answers
64k views

where is the Tomcat 7 home / lib directory?

When reading manuals / tutorials on setting up JDBC with Tomcat I frequently come across references to the "Tomcat's HOME\lib" directory. E.g.: Add the driver to your classpath, to your project, or ...
0
votes
1answer
903 views

connecting to tomcat7 from android emulator

I can connect to apache server from chrome and firefox by typing 127.0.1.1:8080 and default page is shown, but when i type the same from my android emulator, no webpage is loaded, request timeout ...
0
votes
1answer
204 views

Tomcat7 not staring completely

I've installed tomcat7 as best I can via apt-get (after removing a perfectly working tomcat6) on ubuntu running on a vmware image. I've added a user with several manager roles in tomcat-users.xml and ...
1
vote
1answer
411 views

Ubuntu 12.04 secondary IP externally inaccesible

I have added a secondary IP to my virtual server, Ubuntu 12.04 running in OpenVZ virtual host. I used ip addr add xx.xxx.168.95/32 label venet0:1 dev venet0. When I do ifconfig the IP shows up below ...
11
votes
4answers
28k views

Tomcat and Eclipse Integration Error : “Unknown version of Tomcat was specified.”

I am using Ubuntu 13.10 and gnome 3.10. I have followed this tutorial Set up Eclipse and Tomcat 7 on Ubuntu 12.10 to create Java RESTful Web Services with Jersey to setup tomcat and eclipse. but ...