running multiple tomcat instances per system

Todd Troxell ttroxell at debian.org
Tue Aug 11 23:25:14 UTC 2009


Hey Ludovic,

That looks awesome-- thanks.  I will try to convince my devs to upgrade :)

-Todd

On Tue, Aug 11, 2009 at 11:41:51PM +0100, Ludovic Claude wrote:
> Hello Todd,
> 
> You will be more lucky working with Tomcat 6 which contains all the
> goodies that you need to administer multiple Tomcat instances.
> 
> >From the man page:
> 
> tomcat6-instance-create - creates a Tomcat6 instance
> 
> SYNOPSIS
>        tomcat6-instance-create [OPTIONS] DIRECTORYNAME
> 
> DESCRIPTION
> The   tomcat6-instance-create  script  creates  a  directory  with  all
> required Tomcat6 CATALINA_BASE elements so that  a  separate  Tomcat  6
> instance  with its own configuration, libraries or web applications can
> be run by a user. bin/startup.sh and bin/shutdown.sh scripts  are  also
> generated to allow the instance to be started and stopped.
> 
> You need to install tomcat6-user package to use this command.
> 
> Ludovic
> 
> Todd Troxell a écrit :
> > Hi Folks,
> > 
> > I've been poking around docs/readmes and couldn't find any reference to
> > running multiple tomcat instances per host.  Is this something the packages
> > support?  Is there a recommended workaround?
> > 
> > So far I've been copying the /usr/share/tomcat5.5 tree to
> > /usr/share/tomcat5.5_2 and duplicating init scripts, log dirs, symlinks,
> > etc.
> > 
> > I understand that setting up multiple tomcats per system is common in the
> > Java world, so I wondered if there was a more package friendly way of doing
> > this before I start my own custom solution here using the upstream tomcat
> > tarball.
> > 
> > Cheers,

-- 
Todd Troxell
http://rapidpacket.com/~xtat



More information about the pkg-java-maintainers mailing list