tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Rellis <john.d.rel...@gmail.com>
Subject Re: Clustering Question
Date Mon, 17 Sep 2012 21:20:20 GMT
Thanks Chris.

My replies will be a little sporadic as I am cooking a 10 pm dinner :)

>From what I was reading I thought I could hit some sort of manager there
but it was never able to, when I hit

http://balancer/jkmanager

I get nothing just a 404.

This is in my apache2.conf: (i removed them from jk.conf as i thought my
security was messed up)

JkMount /jkmanager/* jkstatus
JkMount /ClusterApp* LoadBalancer


This is in my workers,properties :


worker.list=jkstatus, LoadBalancer

# Create virtual workers

worker.jkstatus.type=status

----------------------------------------------------

Is there something I'm missing??  Thanks!!!!!!!

from log

uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
'/jkmanager/*=jkstatus' source 'JkMount' was added
NEXT (1) map #0: uri=/jkmanager/* worker=jkstatus context=/jkmanager/*
source=JkMount type=Wildchar len=12


*I should also mention, there's an error while starting :*

ubuntu@balancer:/etc/apache2/mods-enabled$ sudo service apache2 restart
 * Restarting web server apache2

                           apache2: Could not reliably determine the
server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting .apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1 for ServerName


/etc/hostname just contains balancer

/etc/hosts (ip's changed for tomcatone and tomcatone):

127.0.0.1 localhost
123.123.123.123 tomcattwo
123.123.123.123  tomcatone
127.0.1.1   balancer

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts











On Mon, Sep 17, 2012 at 9:44 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John,
>
> On 9/17/12 3:50 PM, John Rellis wrote:
> > <Location /jk-status> # Inside Location we can omit the URL in
> > JkMount JkMount jk-status Order deny,allow Deny from all Allow from
> > all </Location> <Location /jk-manager> # Inside Location we can
> > omit the URL in JkMount JkMount jk-manager Order deny,allow Deny
> > from all Allow from all </Location>
>
> Since you have configured these status and manager URLs, what happens
> when you hit them? mod_jk should produce a lot of good status
> information there for you.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iEYEARECAAYFAlBXi5oACgkQ9CaO5/Lv0PAKLgCgnYE1W8cmLzUhiBvg5NrOuX/P
> aQoAoJeEWPedGvgwFsvXsk75QE58+Fzg
> =LrsD
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
John Rellis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message