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 Tue, 18 Sep 2012 21:44:52 GMT
On Sep 18, 2012 7:26 PM, "Christopher Schultz" <chris@christopherschultz.net>
wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John,
>
> On 9/17/12 5:20 PM, John Rellis wrote:
> > 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
>
> /jkmanager/* != /jkmanager so it's no surprise that you got a 404. Try:
>
> JkMount /jkmanager jkstatus
>
> > 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
>
> Do you have all your JkMount directives inside VirtualHosts? If you
> have them outside, they won't take effect (sounds odd, but makes a
> little sense if you think about it).
>
> > *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
>
> That's not your problem, here, but you might want to fix that.
>
> > /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
>
> 127.0.1.1 is unlikely to be what you meant, here.
>
> - -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/
>
> iEYEARECAAYFAlBYvLEACgkQ9CaO5/Lv0PB6wQCfQEuPyKUo5VZQ8BZY96nngY0J
> m4MAoKIBFwL89Eiv/vOkEcf8gerCaF7+
> =t3JI
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

Thanks Chris!

Yeah it was the fact they weren't in virtual hosts that did it. Thanks for
your help! Learning lots!

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