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

learn more… | top users | synonyms

4
votes
1answer
80 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 ...
0
votes
0answers
58 views

can not find server options in Eclipse

OS Ubuntu 14.04 I've installed Eclipse Version: Luna Release (4.4.0). server: Tomcat7 When I navigate to: Window>>Preferences , there is no option for configuring Server. how can I get tomcat7 in ...
1
vote
1answer
42 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 ...
0
votes
0answers
66 views

Error While Accessing Custom Class in PHP-JAVA-BRIDGE on tomcat7 in ubuntu 12.04

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: ...
1
vote
0answers
209 views

Installing Php-java-bridge in ubuntu 14.04 i need two servers apache and tomcat both

When I copied JavaBridgeTemplate621.war to /var/lib/tomcat7/webapps and started the tomcat7 server and trying to go to http://127.0.0.1:8080/JavaBridgeTemplate621/ I'm getting following errors. HTTP ...
1
vote
1answer
25 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: ...
2
votes
0answers
80 views

“unable to make backup link of `./usr/share/tomcat7/bin/daemon.sh' before installing new version: Operation not permitted”

I've ran this many times but today it seems to be failing first: sudo apt-get update That works successfully. Running apt-get install fails when trying to back up the daemon.sh sudo apt-get ...
1
vote
2answers
619 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 ...
2
votes
4answers
1k 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. ...
0
votes
1answer
199 views

Multiple instances for tomcat not working 100% help

Im 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 ...
1
vote
1answer
556 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 ...
1
vote
1answer
425 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
60 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
94 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
110 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
260 views

Tomcat Not Shuting Down on server

When I shutdown tomcat on server it show following error Using CATALINA_BASE: /usr/local/tomcat7/apache-tomcat-7.0.52 Using CATALINA_HOME: /usr/local/tomcat7/apache-tomcat-7.0.52 Using ...
0
votes
0answers
421 views

How to resolve a problem when Eclipse is adding a server? Unknown version of Tomcat was specified

When I add directory of tomcat7 installation directory, I got. Unknown version of Tomcat was specified. Default tomcat7 directory is /etc/tomcat7 but this directory is lacking some binary folders I ...
0
votes
0answers
100 views

404 in tomcat7 after installed

After tomcat is installed and startup.sh is run, $ sudo ./bin/startup.sh Using CATALINA_BASE: /home/cathay/Work/apache-tomcat-7.0.42 Using CATALINA_HOME: /home/cathay/Work/apache-tomcat-7.0.42 ...
2
votes
2answers
5k views

Eclipse - Starting Tomcat 7 Server at localhost has encountered a problem

I got this error just after getting an Ubuntu error with eclipse and it forced to close the program. Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in ...
0
votes
0answers
887 views

Issue with tomcat “startup.sh” file

I followed the steps as listed in " How to install Tomcat 7.0.42 on Ubuntu 12.04.3 LTS?". It worked perfectly. But everytime to start tomcat server, I have to run this command in terminal "sudo ...
1
vote
1answer
2k views

Installed Tomcat 7 but cannot run apps

Installed Tomcat7 via repository via Synaptic package manager & pasted my app(Beerv1) folder to /var/lib/tomcat7/webapps/ & also to /usr/share/tomcat7-root/ Still gets HTTP Status 404 ...
0
votes
0answers
800 views

Apache Tomcat7 Webapp Not Working

I Installed Apache Tomcat 7 from repository. But When I copy my apps to /usr/share/tomcat7-root and access through browser /myapp/form.html 404 Error Appears. Is anything else is needed to ...
2
votes
4answers
6k views

How to install latest version of tomcat on ubuntu using apt?

apt-get install will only install 7.0.26, what is the prescribed way to get the latest version which is 7.0.47. I'm on 12.04. I am trying to avoid manual download and install.
1
vote
1answer
2k views

Installing the Tomcat7 examples webapp on Ubuntu 12.04

I used the sudo apt-get install tomcat7-examples. They were installed in /usr/share/tomcat7-examples/examples directory. Tomcat could not locate them from the URL : 127.0.0.1:8080/examples/ ...
1
vote
2answers
6k views

tomcat7 server - can't install into Eclipse Kepler?

I installed: Eclipse Kepler Tomcat7 at /usr/local/tomcat7 When I start tomcat $CATALINA_HOME/bin/startup.sh and go to myIp:8080 I see correct page And now when I want to add tomcat7 at eclipse ...
1
vote
1answer
2k views

Run Tomcat7 as tomcat7 (or any other) user

What will be the recommended way to ensure that a Tomcat7 instance is running as the tomcat7 (or any other) user? I suppose that I can modify tomcat7-instance/bin/startup.sh and ...
0
votes
1answer
2k views

tomcat7 on Ubuntu 12.04 CATALINA_HOME and CATALINA_BASE not available on shell

I just install tomcat7 on my Ubuntu 12.04 using: sudo apt get-install tomcat7 Immediately afterwards I notice that although $CATALINA_HOME and $CATALINA_BASE are set in the script ...
0
votes
1answer
1k views

tomcat7's CATALINA_HOME in Debian/Ubuntu

Where is tomcat7's CATALINA_HOME in Debian/Ubuntu, and more importantly how did you find it? I'm OK with Debian rearranging default software installations, but we must be able to find out where basic ...
2
votes
1answer
159 views

Why Tomcat process uses so many ports?

~$ sudo netstat -utlpn | grep 2155 tcp6 0 0 :::42851 :::* LISTEN 2155/java tcp6 0 0 :::58212 :::* LISTEN 2155/java tcp6 ...
1
vote
0answers
58 views

Deleting old tomcat version and setting a new one

I had Apache Tomcat installed by apt-get, however I decided to get a newer one, performed apt-get remove tomcat7 and apt-get purge tomcat7. I installed a newer one means the bundled Tomcat Server in ...
0
votes
0answers
55 views

Tomcat 7.0.26 in Ubuntu 12.04 LTS missing a security update?

The default error pages in tomcat7 displays information about the hosting system. And before version 7.0.29 there was not much one could do about it (unless using tomcat 5 or 6). The way of hiding ...
0
votes
1answer
2k views

Configure TOMCAT in Eclipse

I have by default TOMCAT installed in my system which I can start/stop from terminal using: sudo /etc/init.d/tomcat7 start sudo /etc/init.d/tomcat7 stop But unfortunately I can't configure the ...
-1
votes
0answers
174 views

How to troubleshoot tomcat7 on Ubuntu server from cloudapp service?

We have gotten a server from the client and are having trouble getting it to working. They gave us an Ubuntu server (13.04) and some credentials to log in on it. The DNS has cloudapp.net in its name ...
1
vote
0answers
39 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 ...
0
votes
1answer
322 views

Can´t force upgrade to Tomcat 7.0.42 from Ubuntu 12.04 (Precise Pangolin)

I Want to use tomcat support to Websocket, but it has to be above tomcat version 7.0.26 which comes with Ubuntu 12.04.2 LTS. I don´t want to run it stand-alone, want to try to solve it with apt-get. ...
1
vote
1answer
2k views

Package 'tomcat7' has no installation candidate on ubuntu 12.04

I'm trying to install tomcat 7 on Ubuntu Server 12.04 with: sudo apt-get install tomcat7 I tried to do this according this install tutorial, but immediately I receive this answer: Reading package ...
1
vote
1answer
2k views

Cannot start tomcat after installing a private instance

Ok, now I've spend enough time configuring Tomcat properly on my Ubuntu 12.04 OS, and I'm already fed-up, given that it's already 2:00 am. First I installed tomcat7 as described in this question - ...
2
votes
1answer
8k views

touch: cannot touch `/usr/share/tomcat7/logs/catalina.out': No such file or directory

I have a problem starting tomcat from terminal. I installed tomcat using - sudo apt-get install tomcat7, few days back. Now when I'm starting it using the below command, I'm getting the following ...
9
votes
4answers
11k views

How should I install Apache Tomcat 7 for use with Eclipse?

Which way should I install Apache Tomcat 7 on my Ubuntu: Using sudo apt-get install tomcat7 From the zip file downloaded from Apache website. I don't want the server to start on each boot. As most ...