Ubuntu Servers :: Installing Tomcat 6 Manually Or From Repository?
May 13, 2010
So researching how to install Tomcat 6, I ran across a guide that specifically states there are issues with the repository version of Tomcat. Doing some more research it seems like this is reported in multiple places including a disussion on the official mailing list that was inconclusive. So my question is, if this is intended for a production server should I use the repository one or manually install it
View 2 Replies
ADVERTISEMENT
Dec 9, 2010
I have installed tomcat6 on Ubuntu. It starts it automatically at the startup. I do not want it to start automatically, I want to start it manually because I use same 8080 port for different servers. If tomcat is already started on 8080, it becomes problem.
How do I stop Ubuntu from not starting tomcat automatically at startup.
View 2 Replies
View Related
Feb 10, 2009
I saw in CentOs Documentation that the only Tomcat package available in CentOs 5 was Tomcat 5, I would like to know why CentOs 5 didn't support Tomcat 6. And what's more I would like to know whether last version of Tomcat (6.0.18) can be installed on CentOs 5, and if we can trust installation tutorial we can read on centOs How 2 page? And in addition, could you tell me why Tomcat 6 isn't provided in CentOs Yum repository ... Is there a no working reason?
View 3 Replies
View Related
Sep 1, 2010
I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]
View 1 Replies
View Related
Jul 14, 2010
Some while ago I decided to add Firefox repository directly through terminal. (Idea born when I saw in one old page (yes, never look for info in old pages ) "tutorial" how to do it.) The whole idea was simple: just add one line in terminal.The line was like this:sudo add-apt-repository ppa:mozillateam/firefox-stableBut since that, when I try to update through update manager I get errors:Quote:
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D45DF2E8FC91AE7E
W: GPG error: http://archive.canonical.com lucid Release: The following signatures couldn't
[code]....
View 6 Replies
View Related
Jul 19, 2011
I have the following problem since yesterday.
Trying to update manually provides the following error message
I can't access fedora.project.org any more!
All other web access runs fine as usual.
View 7 Replies
View Related
Mar 17, 2011
I have Fedora 13 in a VPS. I cannot work with yum. I got this error: [Errno 256] No more mirrors to try # yum list Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again.
View 4 Replies
View Related
May 11, 2010
I succesfully extract it and run it. This code is shown
Problems: [url]
View 6 Replies
View Related
Jan 18, 2010
I'm trying to access a .jsp page that is located on my apache/tomcat server from the web. I changed the connection port of tomcat to port 80 and changed my doc root from the default "webapps" to my normal web directory. However, whenever I try to visit the page, I only see the code of the page.
If you would like to see what I am talking about, feel free to see it for yourself:
[URL]
View 1 Replies
View Related
Jul 12, 2010
I recently installed Debian 5.0.5 (lenny) on an extra PC that I had lying around:
Intel P4 3.4 GHz
4GB DDR2
NVidia 7600 GT - 256 MB
I want to turn this PC into a Linux server for hosting a basic JSP web application with PostgreSQL as the back-end database.
I installed PostgreSQL and it runs fine however I'm having some issues installing Tomcat 6. I followed a guide that I found online, and everything seemed fine when I was following the steps however I wasn't able to verify that the server was running by viewing the default tomcat page. [url]
Is there much difference in using Tomcat 5 vs Tomcat 6? I'll probably try Tomcat 5.5 tonight.
Installer Guide: [url]
I'd also like to setup a simple email server, and I'd like to know roughly what's required to do this.
View 4 Replies
View Related
May 24, 2010
On my Ubuntu 10.04 lucid lynx server edition machine I have an Apache http server listening on port 80 and today I installed the Funambol server which added an Apache Tomcat server listening on port 8080. From within my lan I can reach both servers, but from outside the lan I can only reach the http server on port 80 and not the Funambol server on port 8080. I get a time out message instead.
In my router I have setup port forwarding, such that both ports 80 and 8080 get forwarded to my server machine. Must Tomcat be told to listen to external requests? Is my server listening on port 8080 only for requests inside the lan? Or is there some authorization that fails when I try to visit from outside my lan?
Here is some netstat output, I don't know if the differences between the 80 line and the 8080 line are relevant:
Code:
remon@compaq:~$ sudo netstat -nlp | grep 80
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1778/java
[Code]....
View 9 Replies
View Related
Feb 11, 2010
We need to only allow access to a web page only to some ips. We want to do this via Apache but it seems like the standard way of denying all and allowing some ips doesn't work because we mount a webapp using tomcat.
The sites-enabled file looks like this:
Code:
NameVirtualHost *:443
<VirtualHost *:443>
ServerName web.address.com:443
ErrorLog /var/log/apache2/app_ssl_error.log
[Code]....
View 2 Replies
View Related
May 31, 2010
I'm trying to get a Tomcat server running using the Java VM -server option on Ubuntu Karmic 9.10 (I'm using the official Karmic AMI on EC2: ami-bb709dd2)
I install Tomcat:
Code:
sudo apt-get -y install tomcat6
I set up a bit of configuration in /etc/default/tomcat6:
Code:
JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I can start Tomcat with no problems:
Code:
sudo /etc/init.d/tomcat6 restart
However, if I add the -server option into the JAVA_OPTS variable, like so:
Code:
JAVA_OPTS="-server -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I get this:
Code:
$ sudo /etc/init.d/tomcat6 restart
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
Invalid option -server
Cannot parse command line arguments
How do I set the -server option correctly?
View 1 Replies
View Related
Jul 18, 2010
I have tomcat installed with port forwarding to http port 80. I configure ldap authentication for apache2(/var/www). But I could not configure tomcat for ldap authentication.
View 1 Replies
View Related
Jul 31, 2010
I'm really new with Ubuntu and have the following problem:I installed successfully sun-java6-jdk using apt-get install sun-java6-jdk Then set up the JAVA_HOME environment variable to "/usr/lib/jvm/java-6-sun-1.6.0.20"
And then installed successfully tomcat6 using apt-get install tomcat6 apt-get install tomcat6-admin tomcat6-examples tomcat6-docs Everything seem to be right, when I try the browser with http://localhost:8080 return a webpage with "It works !" and other text
But, if I try http://localhost:8080/manager/html then returns 404 error, the error is something like "The required resource (manager/html) is not available" (that is my translation from the spanish text "El recurso requerido (/manager/html) no est disponible")
[Code]..
View 1 Replies
View Related
Nov 18, 2010
I'm having some trouble with Tomcat 6 after upgrading to 10.10. During the upgrade process, the installer hung while dealing with Tomcat 6, which required me to kill the upgrade and do some clean up, and then re-run `apt-get upgrade` again to get things going. This left some weirdness (like the MOTD for both 10.10 and 10.04 being shown on login), but otherwise things are OK. The only remaining problem I have is Tomcat; it simply won't start when the server is booted. The information I have:
Tomcat 6 runs normally when started with `sudo /etc/init.d/tomcat6 start`. No errors are thrown, everything works as expected.I used `rcconf` to try removing and reinstalling the rc scripts, this didn't help. I manually deleted all the rc scripts, then used `rcconf` again. The scripts all seem symlinked correctly to `/etc/init.d/tomcat6`, but it's just not coming up on boot. I ran `sudo grep "tomcat" /var/log/*.log` to see if something is appearing in the logs, but nothing of interest is there.
How can I verify that Ubuntu is even trying to start Tomcat? As this is a development box, I am not adverse to a quick + dirty solution if there's some either simple way of getting it started at boot. I'm thinking the next Ubuntu release will see me blow away the server and start it fresh, but right now I'd just like a working box
View 7 Replies
View Related
Jan 13, 2010
I am up and running. Symptom: webapp/servlet deployed to Tomcat, utilizes JDBC driver for MySQL connectivity. Upon launching application in browser and performing action requiring database interaction, exception thrown, server log:
[Code]...
View 1 Replies
View Related
Jun 23, 2010
I've got my first EC2/cloud instance of Ubuntu up and running. This is my first time really dealing with the server edition. I've loaded Apache, Tomcat, PostgreSQL, and Webmin. I've got a public IP on the instance and it is working. I've opened, for now, ports 80, 8080, 443, and 10000 to 0.0.0.0/0.
I cannot get into Tomcat Manager or Webmin at all through a browser. For Tomcat, I've restarted, stop/started, and verified that Tomcat is running. I installed Webmin all through apt-get commands so any dependencies should have been installed (first time doing it this way), but cannot get to the login screen. But if I just go to the IP, Apache goes to the "It Works." splash page. Did I miss some set up? Is there an internal firewall in Ubuntu Server edition that needs to be set?
View 1 Replies
View Related
Sep 27, 2010
I have tomcat 5.x installed and is running on port 80(with mod_jk setup). The directories 'manager', 'examples' and 'ROOT' were removed under /usr/share/tomcat/webapps/ and rebuilt them copying from a working tomcat server. When I acces [URL] (or) [URL], it keeps on prompting for the password even after enter correct username and password.
View 1 Replies
View Related
Dec 19, 2009
I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice
View 4 Replies
View Related
May 10, 2010
I'd like to start tomcat from eclipse, however, I get several Exceptions preventing tomcat to start. I can however start tomcat from the console, provided I do this as root :
Code:
# su -
# service tomcat5 start
Starting tomcat5: [ OK ]
And I do get the page saying that I've setup Tomcat successfully when going to http://localhost:8080 in my browser.
View 2 Replies
View Related
Oct 9, 2010
I want to build a NAS like mini pc to be used as a simple tomcat server (for running Jira and perhaps experimenting a bit) and as a GIT server. What kind of system requirements would I have?
Would something like this:[URL]../nas/n...sed-nas-part-2 be sufficient? And if I'd virtualized everything via VMWares would that make a lot of difference?
View 2 Replies
View Related
Dec 19, 2009
I just installed FC12 x86_64. After a clean install I found that httpd, mysql, svn, svnadmin, etc are already installed. I still need to install and configure tomcat running as a worker behind httpd and configure everything. But my question is about security. What do I need to do to ensure that when I start httpd and mysql that they are secure? Are there default settings that I need to change? Are there security patches I need to apply?
System Config:
Fedora Core 12 x86_64
AMD Athlon II X2 250 3.0 GHz dual core
GIGABYTE GA-MA785GM-US2H
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2 8500) Dual Channel Kit Desktop Memory Model F2-8500CL5D-4GBPK
View 8 Replies
View Related
Dec 24, 2009
I am new to Linux. I installed JDK and Apache Tomcat recently but the problem is every time I want to work with them, I have to set the environment variables. I want to run tomcat as a service so that I don't have to set those system variables every time.Can it be done in any way? I am using Tomcat 5.5 and my Kernel version is 2.6.21-1.3194.fc7.
View 3 Replies
View Related
Aug 31, 2010
I'm running lucid, and I want GIMP, because it's what I used when I was packing Windows but, I'm not sure what I need as far as the .debs go, or the order to do it in, as I'm sure there's things that have to be installed before others, and I have no internet at my home, which is why I'm doing things the hard way.
View 2 Replies
View Related
Feb 21, 2010
Tomcat6 is built in server with it but i dont know how to use it .I am doing a dynamic web project based on servlet and eclipse galileo is being used as IDE for it.
View 1 Replies
View Related
Mar 29, 2011
I made a bit of a schoolboy error with Ubuntu. I was without an internet connection so attempted to install OpenShot manually, using .debs. Naturally there were too many dependencies to chase up but I did install some of them...! Now my connection is back i tried to install openshot (from the recommended ppa) as well as upgrading vlc (from the recommended ppa). Naturally OpenShot won't install as I have my dependencies all over the place. I was wondering if there was a way to track and uninstall/purge the last few manually installed packages, and if then installing openshot would proceed normally.
Here was the relevant output:
Code:
crow@nest-desktop:~$ sudo apt-get install openshot openshot-doc vlc vlc-plugin-pulse mozilla-plugin-vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
libavformat52: Breaks: mplayer (< 2:1.0~rc4~) but 2:1.0~rc3+svn20090426-1ubuntu16.1+medibuntu1 is to be installed
mozilla-plugin-vlc: Depends: vlc-nox (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed
openshot: Depends: python-mlt3 but it is not going to be installed or
python-mlt2 but it is not going to be installed or
python-mlt but it is not installable
vlc: Depends: vlc-nox (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed
Recommends: vlc-plugin-notify (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed
vlc-plugin-pulse: Depends: vlc-nox (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed
E: Broken packages
View 2 Replies
View Related
Feb 15, 2010
For some reason, my kernel got uninstalled. I have only file called "initrd.img-2.6.26-1-xen-amd64.bak" in my /boot folder. The only other thing is a 'grub' folder. I booted into a rescue OS, but is there a way to install a kernel manually so that I can boot into my original OS again? Can I just download a vmlinuz file into that folder and then fix my menu.lst?
View 1 Replies
View Related
Feb 14, 2011
I have centos 5.5 (64 bit) on server which is hosted in remote data center. I just noticed that crontab is not installed. Server don't have internet access so yum won't work. Is there any way I can install cron manually by installing RPM? If yes from where I can get cron RPMs ?
View 2 Replies
View Related
Apr 13, 2011
How do you manually add keys to a server (no GUI) so that an ssh connection can be made using key authentication?
View 4 Replies
View Related