You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bob Jaques <bj...@hedgeflex.com> on 2006/07/14 21:47:59 UTC
problems getting jkstatus to work in mod_jk
I am using apache to load balance apache/tomcat servers
I am trying to add jkstatus. It works fine until I enable the line in
workers.properties enabling jkstatus then I get
"The server encountered an internal error or misconfiguration and was
unable to complete your request."
When I access http://mywebsite.com/status/ but
http://mywebsite.com/trader-web/ works fine. I cannot
Find my errors also is there a way to eliminate the last / on trader-web
to not be required
Thanks
Bob
I am running the most current mod_jk
Here is what I have in httpd.conf
...
<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.so
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 /trader-web/* wrkr
JkMount /jkstatus jkstatus
</IfModule>
Here is workers.properties
#worker.list=node1, node2, wrkr
worker.list=wrkr,jkstatus
worker.wrkr.type=lb
worker.wrkr.balanced_workers=node1,node2
worker.wrkr.sticky_session=1
worker.node1.port=8010
worker.node1.host=172.20.117.80
worker.node1.type=ajp13
worker.node1.lbfactor=100
worker.node1.cachesize=10
worker.node1.cache_timeout=600
worker.node1.socket_keepalive=1
worker.node1.recycle_timeout=300
worker.node2.port=8010
worker.node2.host=172.20.117.84
worker.node2.type=ajp13
worker.node2.lbfactor=100
worker.node2.cachesize=10
worker.node2.cache_timeout=600
worker.node2.socket_keepalive=1
worker.node2.recycle_timeout=300
worker.jkstatus.type=status
Re: SVN for Project '/org/apache/woden'
Posted by Martin Gainty <mg...@hotmail.com>.
Answered my own question
Here is a link to the latest woden builds-
http://incubator.apache.org/woden/dev/1.0/builds.html
Martin-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Martin Gainty" <mg...@hotmail.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Friday, July 14, 2006 4:46 PM
Subject: SVN for Project '/org/apache/woden'
> Good Afternoon All-
>
> Looking for svn source for project woden
>
> Any ideas?
> Thanks,
> Martin
>
> *********************************************************************
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed. If you have received this email message in error, please notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
>
>
SVN for Project '/org/apache/woden'
Posted by Martin Gainty <mg...@hotmail.com>.
Good Afternoon All-
Looking for svn source for project woden
Any ideas?
Thanks,
Martin
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
Re: problems getting jkstatus to work in mod_jk
Posted by Rainer Jung <ra...@kippdata.de>.
Which platform are you using?
You can increase JkLogLevel to trace and then check the log during
startup of apache. Maybe something is wrong with the permissions on the
shared memory file which is being used by the status worker.
Could you post the log of startup+request for jkstatus?
About omittting trailing slashes:
What about adding another
JkMount /trader-web wrkr
Rainer
Bob Jaques schrieb:
> I am using apache to load balance apache/tomcat servers
>
>
>
> I am trying to add jkstatus. It works fine until I enable the line in
> workers.properties enabling jkstatus then I get
>
> "The server encountered an internal error or misconfiguration and was
> unable to complete your request."
>
> When I access http://mywebsite.com/status/ but
> http://mywebsite.com/trader-web/ works fine. I cannot
>
> Find my errors also is there a way to eliminate the last / on trader-web
> to not be required
>
>
>
> Thanks
>
> Bob
>
>
>
>
>
>
>
>
>
> I am running the most current mod_jk
>
>
>
>
>
>
>
> Here is what I have in httpd.conf
>
>
>
> ...
>
> <IfModule !mod_jk.c>
>
> LoadModule jk_module modules/mod_jk.so
>
> 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 /trader-web/* wrkr
>
> JkMount /jkstatus jkstatus
>
> </IfModule>
>
>
>
> Here is workers.properties
>
>
>
> #worker.list=node1, node2, wrkr
>
> worker.list=wrkr,jkstatus
>
>
>
> worker.wrkr.type=lb
>
> worker.wrkr.balanced_workers=node1,node2
>
> worker.wrkr.sticky_session=1
>
>
>
> worker.node1.port=8010
>
> worker.node1.host=172.20.117.80
>
> worker.node1.type=ajp13
>
> worker.node1.lbfactor=100
>
> worker.node1.cachesize=10
>
> worker.node1.cache_timeout=600
>
> worker.node1.socket_keepalive=1
>
> worker.node1.recycle_timeout=300
>
>
>
> worker.node2.port=8010
>
> worker.node2.host=172.20.117.84
>
> worker.node2.type=ajp13
>
> worker.node2.lbfactor=100
>
> worker.node2.cachesize=10
>
> worker.node2.cache_timeout=600
>
> worker.node2.socket_keepalive=1
>
> worker.node2.recycle_timeout=300
>
>
>
> worker.jkstatus.type=status
>
>
>
>
>
>
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org