a Java application server maintained by the Apache Software Foundation

learn more… | top users | synonyms (1)

42
votes
5answers
44k views

Disable autostart for a service without uninstalling?

How can I disable autostart for a service without uninstalling? For example, I'd like to leave tomcat installed, but I don't want it turning on every time I restart.
15
votes
1answer
23k views

How to install Tomcat 7.0.42 on Ubuntu 12.04.3 LTS?

The sysadmin gave me a virtual machine which I access through terminal. I have root access and it got Ubuntu 12.04.3 LTS. The command apt-cache policy tomcat7 informs: tomcat7: Installed: (none) ...
14
votes
6answers
69k views

What is the Tomcat installation directory?

Based here I'm trying to setup Tomcat Server, I have successfully installed it and tested it. Then I stopped it as recommended in the tutorial. I'm setting up "New Server Runtime Environment" as you ...
12
votes
2answers
31k views

Where is catalina_base and catalina_home located for tomcat6?

I recently installed tomcat6 with apt-get and have got it up and running. Ubuntu doesnt set the $CATALINA_BASE and $CATALINA_HOME environment variables during the install. How can I locate these ...
11
votes
3answers
22k views

Specify JDK for tomcat7

I have installed tomcat7 (using apt-get install) and whenever I want to start tomcat7 it says : * no JDK found - please set JAVA_HOME I have set JAVA_HOME in my bash.bashrc and also in ~/.bashrc ...
9
votes
4answers
12k 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 ...
9
votes
5answers
32k views

How do I install Apache Tomcat 7?

Troubleshooting with apache Tomcat 7 steps should be followed .... after downloading apache-Tomcat 7 // open terminal go to that downloading file folder in which tar.gz file is still. Untar the ...
8
votes
4answers
29k views

Installing tomcat 7 on Ubuntu Server 12.04

I'm trying to install tomcat 7 on Ubuntu Server 12.04 with: sudo apt-get install tomcat7 which most sites and guides tell to do, but immediately I receive this answer: Reading package lists... ...
7
votes
3answers
6k views

Install a different version of a package

I'm running lucid server and have installed tomcat. The version it installed is 6.0.24-2ubuntu1.6. Is this the version I'm tied to? Is it possible to install a more recent version? The one available ...
6
votes
3answers
14k views

Determine destination location of apt-get install <package>?

For some applications its fairly easy enough to locate where the application was installed to using the "which" command. However, some applications such as Tomcat are a little out of my league to ...
6
votes
3answers
22k views

How to automatically restart Tomcat7 on system reboots?

I have installed Tomcat 7 on Ubuntu 12.04 LTS which run on an Amzon EC2 instance. Now I wish tomcat should restart automatically on system reboot. I read this blog which suggest adding below script to ...
5
votes
2answers
6k views

Tomcat 6: CATALINA_HOME vs. CATALINA_BASE

I can't find a definitive answer to why Ubuntu would set the CATALINA_BASE environment variable, making it different from CATALINA_HOME. I found this document which suggests that not setting ...
5
votes
3answers
6k views

Installing Tomcat 7 using apt-get fails [closed]

I get the following error when installing Tomcat7: Setting up tomcat7 (7.0.26-1ubuntu1.1) ... chmod: cannot access `/etc/tomcat7/tomcat-users.xml': No such file or directory dpkg: error ...
5
votes
1answer
543 views

How do I secure a Tomcat installation?

I have installed tomcat on my Ubuntu Home 11.10 system and can successfully access the test page online after port forwarding on 8080 within my router. I have not made any other changes to the ...
4
votes
3answers
2k views

Tomcat does not recognize JAVA_HOME

I've installed Ubuntu 14.04 Server, extracted JDK1.8u5 and Tomcat7, and added the following to .profile (I also tried adding it to .bashrc with similar [non-] results): export ...
4
votes
3answers
5k views

tail: inotify cannot be used, reverting to polling: Too many open files

When I try to tail -f catalina.out, I get the error: tail: inotify cannot be used, reverting to polling: Too many open files I tried the answer in this post: Too many open files - how to find the ...
4
votes
3answers
2k views

Multiple tomcat instance

Is there a proper way to run more than one tomcat instance on an Ubuntu server? I've done some searching and found two options: Download a zipped tomcat and manually deploy it. The obvious con is ...
4
votes
2answers
5k views

Running Apache and Tomcat together on different subdomains?

Posted this on ServerFault but didn't get a response. Hoping I will have better luck on the Ubuntu site. I have been trying to get this working the whole of today. I have a server which resolves to ...
4
votes
1answer
173 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 ...
3
votes
3answers
9k views

Tomcat Manager Application and HTTP 404 Error

I am trying to set up the admin application for a Tomcat 6.0.24 instance. None of the searches I've done turn up anything I can use. I am using this configuration for Apache 2.2.14: Alias /manager ...
3
votes
2answers
2k views

Meaning of “Processing triggers for ureadahead”

I am trying to uninstall Tomcat 7 from Ubuntu 12.04 by issuing the command sudo apt-get remove tomcat7 as a result I am getting the following response My Questions Has the package tomcat7 been ...
3
votes
2answers
10k views

installing apache httpd server on ubuntu 12.04

I have 5 systems running apache tomcat server, for load balancing i need to install apache httpd server, how should i do this, please provide me some useful links and your opinions on this, thanks
3
votes
1answer
3k views

Which user is running tomcat?

I have a Tomcat 7 server running on Amazon EC2 (OS - Ubuntu 12 LTS). How can I find out which user is running Tomcat on Amazon EC2?
3
votes
1answer
4k views

Installing tomcat from repo with Java from Oracle

Since Java 6 from Oracle is not supported with Ubuntu repositories anymore, I installed it by downloading the package from java.oracle.com, unpacking it in /opt and adding symlinks in /usr/bin. Now I ...
3
votes
2answers
74 views

How to get backports for tomcat?

I installed tomcat 7 using apt-get utility on my ubuntu server 13.04. So do I need to manually configure, after this to start receiving backports/fixes for tomcat ? If yes, then how do I confgure? ...
3
votes
4answers
3k views

How do I remove OpenJDK?

I had removed OpenJDK installed by default from Ubuntu Software Center. Eclipse had been showing that Installed JRE is OpenJDK. I wanted eclipse should be configured to jdk I already installed and ...
3
votes
1answer
758 views

How to get Red5 working?

I installed Red5 from the Ubuntu universe repository. After installation, I visited http://localhost:5080. The page looked like this: As you can see, there's a broken image on the page. As well, ...
2
votes
1answer
7k views

Can not start tomcat6 server in ubuntu

I first downloaded open-jdk with: sudo apt-get install openjdk-6-jdk When I write java -version I get: java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.4) ...
2
votes
2answers
23k views

Deploying war files in tomcat6

I am using tomcat5.5 for a long on Ubuntu servers 8.10 and 9.10 and /usr/share/tomcat/webapps/ is the path where I place my .war files and access them on the browser over network. On a sytem I've ...
2
votes
1answer
174 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 ...
2
votes
2answers
552 views

java development on linux [duplicate]

Possible Duplicate: How do I install Oracle Java JDK 7? I need help on how can I install java oracle 7, netbeans and tomcat on ubuntu platform. I 'm new to ubuntu, totally zero knowledge on ...
2
votes
1answer
645 views

Java using too much CPU

Trying to use either Eclipse or Apache Tomcat pushes all 4 CPU cores to around 60% cpu usage, and trying to run both at the same time maxes them all out. Tried deleting all the webapps I'd deployed ...
2
votes
1answer
659 views

How could i install JSF in ubuntu?

How could I add JSF to my system having JEE, tomcat, jboss, glassfish, and apache working?
2
votes
2answers
441 views

tomcat6 manager

I've just installed Ubuntu 10.04 LTS Server with LAMP support. Tomcat6 seems to run ok. But, I am unable to get into the manager-webapp... I've updated the tomcat-users.xml file: <?xml ...
2
votes
1answer
678 views

apache2 tomcat6 virtual hosting

I've apache2 and tomcat6 running on port 80 on ubuntu server 9.10. I've a registered domain name and I'll access the jsp index page navigating to http://abc.mydomain.com. The page is under ...
2
votes
2answers
38 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
1answer
6k views

Tomcat Installation startup.sh not working

So I've followed the list of steps on : https://www.digitalocean.com/community/articles/how-to-install-apache-tomcat-on-ubuntu-12-04. When I try to run the startup script, I get this message: ...
2
votes
0answers
124 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
3answers
1k views

Upgrade to latest tomcat/ JRE or stick with what's provided by LTS?

Running a production web server with Ubuntu 12.04 which ships Tomcat 7.0.26. Should I care about updating the tomcat installation to latest 7.0.42 version or should I stick with what's provided? If I ...
1
vote
3answers
3k views

Installing Eclipse 3.6 and Tomcat 7

I am a beginner with Ubuntu. I've read many questions, but I haven't been able to figure out how to install Eclipse 3.6 and Tomcat 7 on Ubuntu 11.04. I've tried many answers posted but still no use. ...
1
vote
2answers
4k views

Can not find class org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in Tomcat7/Ubuntu 12.10? (Possible bug)

Tomcat7: 7.0.30-0ubuntu1.1 Tomcat 7 has the jar files commons-dbcp.jar and tomcat-dbcp.jar but in tomcat-dbcp.jar, it is the file org.apache.tomcat.dbcp.BasicDataSourceFactory class instead of ...
1
vote
2answers
11k views

how to run tomcat as service and not use root user

I copy catalina.sh to /etc/init.d/tomcat and sudo chkconfig --add tomcat it started as root user,I want use another user,how?
1
vote
2answers
704 views

How to install Tomcat5.5 in Ubuntu?

Hi can any one tell me the installation process of Tomacat5.5 or higher version in Ubuntu. These are my questions for tomcat installation: How to install Tomcat in Ubuntu? 2.How to start an stop ...
1
vote
1answer
645 views

How to install Apache Tomcat in Ubuntu?

I need to practice writing some Java applications. Can any one help me install Tomcat and tell me how to start and stop the server.
1
vote
1answer
641 views

Find out what account an application runs as

Im in the middle of trying to set up a tomcat environment on my development machine. Im having trouble running applications, and it looks like its down to file permissions. The directory containing ...
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 ...
1
vote
1answer
2k views

Delete tomcat6 from services

I just uninstalled tomcat6 and installed tomcat7, and now that I want to start, stop or restart the service, ubuntu shows the two of them, for example sudo service tomcat And then ubuntu shows two ...
1
vote
2answers
2k views

Running a web test server with Ubuntu

I have typically used XAMPP on my windows PC for web development testing. This afternoon I plan to add LAMP to my Ubuntu. I would also like to try and install Apache Tomcat but I am not familiar if ...
1
vote
1answer
848 views

How do I redirect my apache web app from an alias of one domain to a sub domain of another?

I have a web application on www.domain1.com where I have installed Apache2 and Tomcat7. I would like to make a redirect from www.domain2.com (which is a www.domain1.com alias) to ...
1
vote
2answers
392 views

Killing Subprocess in Ubuntu NOT the Parent?

I want to kill a process in Ubuntu. I have Java installed and Running JBOSS & Tomcat at background. I need to kill Tomcat after deployment but when I kill it JBOSS is going too. I had to use ...