tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Brady <>
Subject Re: connect two tomcats (jvm) with one apache (two virtual hosts with own jvm (tomcat))
Date Mon, 14 Apr 2003 15:37:41 GMT
On Mon, 2003-04-14 at 15:22, codedummy wrote:
> Hello,
> If I want two virtual machines (tomcats) each of them connected to hist own virtual server.
> Is there a running configuration file (files) available?
> How do I name the second (should store the other ajp13 port)?
> Can't figure it out. Maybe someone has success?

You should be able to simply specify a different worker in and use it in your uri maps (or JkSet or whatever)

e.g., for the unix domain socket channels (which I prefer to use) you
would clone your usual one, say:
  info=AF_UNIX socket connecting to "host1"
  info=AF_UNIX socket connecting to "host2"

Don't forget to change the port numbers of your listening sockets.

Keith Brady
NewBay Software

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message