If you have two completely separate installations, you should specify a catalina home in the batch file that starts the instance, if just the config an apps are separate, specify a catalina base in the startup fileAlso you could use http://www.linuxjournal.com/article/8561 for a more step by step approach to configuring multiple instances You should be able to create a service for each instance (specify the service name with the service.bat) I found all the links so far by googling for 'tomcat multiple instances windows' (without the quotes)
Regards, Serge Fonville On Thu, Oct 30, 2008 at 12:37 PM, dOE <[EMAIL PROTECTED]> wrote: > Thanks for the reply Serge, > > On Win32 I have the CATALINA_HOME set to pont to where Tomcat is installed, > and were server1 resides. To configure CATALINA_BASE the same way, but > pont > to another directory that ONLY contains *conf*, *webapps*, *logs*, *temp*, > and *work*? What would need to be in the conf - *server.xml*, *web.xml*, > and possibly *tomcat-users.xml*? > > On Thu, Oct 30, 2008 at 3:45 AM, Serge Fonville <[EMAIL PROTECTED] > >wrote: > > > You can define a CATALINA_HOME/BASE in the startup file(catalina.bat/sh). > > (all it does now is use the global environment variable because it isn't > > specified inside the file)You could define a HOME1 and HOME2 variable, > but > > that would require a lot more changes inside the startup file. > > > > To be sure, specify it near the top (before used) > > That way the alternate value only applies inside that instance > > > > Does this help? > > > > Regards, > > > > Serge Fonville > > > > > > On Wed, Oct 29, 2008 at 8:16 PM, dOE <[EMAIL PROTECTED]> wrote: > > > >> Guys, please don't give up on me yet, I am going to go read up on the > >> documentation tonight to see what else I need to do to get this site > >> working. > >> > >> I think my focus will be more for the Win32 rather 'nix because it more > of > >> a > >> priority. > >> > >> On Wed, Oct 29, 2008 at 2:17 PM, dOE <[EMAIL PROTECTED]> wrote: > >> > >> > Now this needs to be replicated on a Win32 system as well following > this > >> > how can this be done? The service can not be started by a > command-line > >> > script (ideally). > >> > > >> > > >> > On Wed, Oct 29, 2008 at 2:02 PM, Hassan Schroeder < > >> > [EMAIL PROTECTED]> wrote: > >> > > >> >> On Wed, Oct 29, 2008 at 10:23 AM, dOE <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > perhaps this is where my problem is at this stage. I would need a > >> >> > "Catalina_Home2" and have that pointing to *server2 *...? I am > >> guessing, > >> >> but > >> >> > would this mean I need to edit every mention of Catalina_Home to > >> >> > Catalina_Home2 in the *.properties files? > >> >> > >> >> No, just start the second instance from a shell with the appropriate > >> >> value for CATALINA_HOME defined. > >> >> > >> >> -- > >> >> Hassan Schroeder ------------------------ [EMAIL PROTECTED] > >> >> > >> > > >> > > >> > > > > >