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 January 25th, 2007, 02:19 AM
Registered User
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Several Tomcat Installations on the same machine

Hello,
I need to have Tomcat 4, 5 and 5.5 installed on my computer but I don't need to be able to run them at the same time. Is there anyone who knows what needs to be done to install three versions of Tomcat?

/Jimmy

 
Old January 25th, 2007, 05:56 AM
Registered User
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I made an ugly solution but it's perfect for me because I don't switch between the Tomcat Version that often.
I have a .reg file for every version that I run before starting a specific Tomcat Version.

It's named tomcat50_env_variables.reg and contains the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Environment]
"ANT_HOME"="C:\\ant\\ant-1.7.0"
"JAVA_HOME"="C:\\Program Files\\Java\\jdk1.5.0_10"
"JAVA_OUT"="c:\\Temp"
"TOMCAT_HOME"="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0"
"CATALINA_HOME"="C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0"

So it just sets the environment variables for a specific version. Not that nice but it works and time is of the essence so I'm satisfied with that.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Retore Db from a remote machine to a local machine srkvellanki BOOK: Beginning SQL 0 October 3rd, 2008 05:17 PM
Copy from one machine to another machine somnath.kartic SQL Server 2000 2 January 12th, 2006 03:13 PM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
machine.config sillygiu@hotmail.com BOOK: ASP.NET Website Programming Problem-Design-Solution 7 August 24th, 2004 07:21 AM
Tomcat 3.3.2 to Tomcat 5.0.24 amith_pj Apache Tomcat 1 July 4th, 2004 10:52 PM





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