Thanks for the response Wolfgang...this helps a lot.
I did finally get this to work by running the
installer a second time and installing in a different
directory. I mentioned this in a post that I wrote
before I read your post. Basically the problem I was
having was using an improper name for the service.
However, this new service does point to the libraries
in the new install directory as opposed to one single
install.
I might try doing what you described and get
everything to run with one main "home" but for now,
I'm happy that I finally have it working.
--- Wolfgang Hackl <[EMAIL PROTECTED]> wrote:
> footh wrote:
>
> [running more than one Tomcat on a single machine]
>
> > First off, I want to run Tomcat as a service and
> that
> > seems to talk about running multiple instances
> with
> > the startup script.
>
> It is likely that you want to use one version of
> Tomcat to run your web
> sites. So, I assume you have downloaded a
> distribution and put it
> somewhere on your server. This location is called
> CATALINA_HOME. For a
> single instance CATALINA_HOME = CATALINA_BASE, i.e.
> no need to care about.
>
> > Second, item number 4 more or less says for
> multiple
> > instances "you can use CATALINA_BASE" as an
> argument
> > but doesn't really explain CATALINA_BASE. Is it
> the
> > install directory of Tomcat? Or is it a directory
> > where I have another set up "webapps" and context
> > configuration files. I can't quite visualize what
> it
> > means to use CATALINA_BASE and how to set up the
> > directories.
>
> If you want to have more than one operating system
> service, you must
> copy certain parts (mostly configuration files) from
> your CATALINA_HOME
> directory to a new location. This new directory is
> called CATALINA_BASE.
> A CATALINA_BASE is a directory containing
> configuration files etc.
> that are individual to an OS service. The executable
> files do not need
> to be copied since they will be re-used.
>
> You need to call service.bat with appropriate
> parameters (CATALINA_BASE
> is the most important one) in order to install an OS
> service. The
> init-scripts (Unix) or registry settings (for
> Windows look around at
>
HKEY_LOCAL_MACHINE\System\CurrentControlSet\SERVICES\Apache
> Tomcat) for
> the service always call the same tomcat executables.
> The service
> parameters determine wich config files to use.
>
> So for each Tomcat instance, you need to change the
> server.xml in the
> specific CATALINA_BASE to have your services
> listening to different IP
> addresses and/or TCP ports (same changes for
> shutdown port and AJP
> connectors necessary).
>
> I hope this helps. If it is not sufficient, I could
> provide you with a
> screenshot of my directory layout.
>
> Wolfgang
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Send holiday email and support a worthy cause. Do good.
http://celebrity.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]