You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rogerio Baldini das Neves <ro...@powerlogic.com.br> on 2005/07/20 16:00:04 UTC

jkstatus

Hi,

I have installed a cluster using Apache2.0.54 + mod_jk 1.2.13 + Tomcat5.5.9.
And it´s working fine.

I want to configure jkstatus but I haven´t been success.

My worker.properties
worker.tomcat1.type=ajp13
worker.tomcat1.host=localhost
worker.tomcat1.port=8009
worker.tomcat1.lbfactor=1
worker.tomcat1.cachesize=1

worker.tomcat2.type=ajp13
worker.tomcat2.host=localhost
worker.tomcat2.port=8010
worker.tomcat2.lbfactor=1
worker.tomcat2.cachesize=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=tomcat1,tomcat2

worker.status.type=status

worker.list=loadbalancer, status

My tomcat.conf
<IfModule !mod_jk.c>
  LoadModule jk_module modules/mod_jk.so
</IfModule>

JkWorkersFile  conf/workers.properties

JkLogFile logs/mod_jk.log 
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " 
#JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T" 
JkMount /servlets-examples/* loadbalancer

JkMount /jkstatus/* status


When I try "/jkstatus/" I receive "Internal Server Error".

Can anybody help me ?

Thanks
Rogerio Baldini


Re: jkstatus

Posted by Rogerio Baldini das Neves <ro...@powerlogic.com.br>.
I ´ve solved my problem.

I think there is a bug in mod_jk 1.2.13 and jkstatus doesn´t work.

I just updated to mod_jk 1.2.14 and it´s working fine.


----- Original Message ----- 
From: "Lionel Farbos" <li...@free.fr>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Cc: <ro...@powerlogic.com.br>
Sent: Thursday, July 21, 2005 5:29 AM
Subject: Re: jkstatus


> Hi,
>
> I think your worker.properties is OK
> I suppose your tomcat.conf is included into httpd.conf
>
> So, in my own tests, it works with (in tomcat.conf) :
> <Location /jkstatus >
>         JkMount status
>         Order deny,allow
>         Deny from all
>         Allow from 127.0.0.1
> </Location>
>
> Regards
>
> On Wed, 20 Jul 2005 11:00:04 -0300
> "Rogerio Baldini das Neves" <ro...@powerlogic.com.br> wrote:
>
> > Hi,
> >
> > I have installed a cluster using Apache2.0.54 + mod_jk 1.2.13 +
Tomcat5.5.9.
> > And it_s working fine.
> >
> > I want to configure jkstatus but I haven_t been success.
> >
> > My worker.properties
> > worker.tomcat1.type=ajp13
> > worker.tomcat1.host=localhost
> > worker.tomcat1.port=8009
> > worker.tomcat1.lbfactor=1
> > worker.tomcat1.cachesize=1
> >
> > worker.tomcat2.type=ajp13
> > worker.tomcat2.host=localhost
> > worker.tomcat2.port=8010
> > worker.tomcat2.lbfactor=1
> > worker.tomcat2.cachesize=1
> >
> > worker.loadbalancer.type=lb
> > worker.loadbalancer.balance_workers=tomcat1,tomcat2
> >
> > worker.status.type=status
> >
> > worker.list=loadbalancer, status
> >
> > My tomcat.conf
> > <IfModule !mod_jk.c>
> >   LoadModule jk_module modules/mod_jk.so
> > </IfModule>
> >
> > JkWorkersFile  conf/workers.properties
> >
> > JkLogFile logs/mod_jk.log
> > JkLogLevel debug
> > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> > #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> > JkRequestLogFormat "%w %V %T"
> > JkMount /servlets-examples/* loadbalancer
> >
> > JkMount /jkstatus/* status
> >
> >
> > When I try "/jkstatus/" I receive "Internal Server Error".
> >
> > Can anybody help me ?
> >
> > Thanks
> > Rogerio Baldini
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: jkstatus

Posted by Lionel Farbos <li...@free.fr>.
Hi,

I think your worker.properties is OK
I suppose your tomcat.conf is included into httpd.conf

So, in my own tests, it works with (in tomcat.conf) :
<Location /jkstatus >
        JkMount status
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1
</Location>

Regards

On Wed, 20 Jul 2005 11:00:04 -0300
"Rogerio Baldini das Neves" <ro...@powerlogic.com.br> wrote:

> Hi,
> 
> I have installed a cluster using Apache2.0.54 + mod_jk 1.2.13 + Tomcat5.5.9.
> And it_s working fine.
> 
> I want to configure jkstatus but I haven_t been success.
> 
> My worker.properties
> worker.tomcat1.type=ajp13
> worker.tomcat1.host=localhost
> worker.tomcat1.port=8009
> worker.tomcat1.lbfactor=1
> worker.tomcat1.cachesize=1
> 
> worker.tomcat2.type=ajp13
> worker.tomcat2.host=localhost
> worker.tomcat2.port=8010
> worker.tomcat2.lbfactor=1
> worker.tomcat2.cachesize=1
> 
> worker.loadbalancer.type=lb
> worker.loadbalancer.balance_workers=tomcat1,tomcat2
> 
> worker.status.type=status
> 
> worker.list=loadbalancer, status
> 
> My tomcat.conf
> <IfModule !mod_jk.c>
>   LoadModule jk_module modules/mod_jk.so
> </IfModule>
> 
> JkWorkersFile  conf/workers.properties
> 
> JkLogFile logs/mod_jk.log 
> JkLogLevel debug
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " 
> #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> JkRequestLogFormat "%w %V %T" 
> JkMount /servlets-examples/* loadbalancer
> 
> JkMount /jkstatus/* status
> 
> 
> When I try "/jkstatus/" I receive "Internal Server Error".
> 
> Can anybody help me ?
> 
> Thanks
> Rogerio Baldini
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org