Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 17th, 2008, 02:22 PM
Authorized User
 
Join Date: Jun 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default can i have more than one tomcat on same os

dont know how, but i managed my tomcat5.5 to stop working (its not even showing up the default page)...on my ubuntu 7.04 workspace.
i tried repairing it and i failed.

the next thing i tried was to remove the configuration files (complete removal) of tc5.5 and all its dependencies too

then i reinstalled tc5.5 and the problem lies still there !!!

i am stuck because i can neither repair nor reinstall tc.

i have read that we can have multiple instances of tc on the same web-server....so can i manage to install one more tomcat on my system?? if yes..then how ..because the package manager has no such provision of adding the same piece of software twice...
 
Old June 20th, 2008, 01:10 PM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yup,
Instead of using the installer to install Tomcat, you can download a .tar.gz version of Tomcat and unzip it to your disk. Get into bin directory of this Tomcat installation and run ./catalina.sh start

This should help you to get running another instance of Tomcat.

PS: Do not forget to export JAVA_HOME, CATALINA_HOME varaibles before you run catalina.sh

-eNJay
 
Old June 20th, 2008, 01:11 PM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I should have written:

nstead of using the Package Manager to install Tomcat, you can...
 
Old June 21st, 2008, 05:38 AM
Authorized User
 
Join Date: Jun 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks a lot !!
actually i was just trying to avoid this approach...but finally i did install tc6 by this method only..





Similar Threads
Thread Thread Starter Forum Replies Last Post
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
Apache and OS X lowfokus Beginning PHP 2 April 27th, 2004 11:17 AM
Determine OS adman Beginning VB 6 2 January 5th, 2004 02:26 AM
OS chaos2003 Linux 1 August 26th, 2003 12:12 PM
JRun4 for Mac OS + Mac OS X's Java 1.4.1 elbicho J2EE 0 June 27th, 2003 12:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.