Hi,I am trying to setup jk2 connector on a
single apache instance to connect to multiple jboss instances running on the same
machine usingjboss-port-bindings.xml. Based onjboss-port-bindings.xml I have three instances
having the following ports for jk2 connector: 8009, 8109, 8209. In the
Hi Jerome,
hi misak,
do you use any load balancing mechnaism (round robin) to balance around
your different ports ?
to setup such thing in JK2 you should define your 3 tomcat instances (in
fact jboss bundle with different port numbers) then adding one other which
is the load balancer...
Hi Jeromy,
I am sorry. I thought my attachments made to the list. Here I am including
them directly here. Please look at it and let me know if I have done
anything wrong. When I point my browser to the link:
http://[web-server-ip]/test1 it works. When I point my browser to the link:
in fact what is your aim ?
do you want to be able to switch from T1 to T2 or T3 for one request to
the next one ?
because this is what i suggested while deploying a load balancer
Do you your 3 instances behave exctly from the same manner or do you
want to deploy different web-apps on
Hi all,
I need to configure multiple tomcat instances in workers2.properties file
running completely separate web apps. No matter what I do it doesn't work.
Can I even do this? I specify multiple channel sockets but all requests go
to the first one only.
I appreciate the response. Here is my
Hi all,
It seems like mod_jk2 is a buggy connector. There is no way to set up more
than one instance of tomcat. It can connect on any port other than 8009 but
it is a first-come first-served basis (whichever port comes first). I need a
response from mod_jk2 developers themselves. Should I go back
take it easy man :)
small question : what about using different virtual hosts in
your apache
config, then from these contexts , using different config files for
mod_jk which will be very simple (you have already validated
one of your
tomcat instances)
my 2 cents
Jerome
Hi Jerome,