Quantcast

jkstatus

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

jkstatus

Rogerio Baldini
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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: jkstatus

lionel.farbos
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" <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: jkstatus

Rogerio Baldini
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" <[hidden email]>
To: "Tomcat Users List" <[hidden email]>
Cc: <[hidden email]>
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" <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...