Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Can't get mod_jk JKSTATUS app to load on my Apache server.

0

266 views

I am running mod_jk on Apache 2.2.17 , load balancing to a cluster of 2 JBoss instances. Everything is working ok but I am completely unable to get the JKSTATUS app to load and respond. I have no idea what I am doing wrong, as my config seems perfect to me. I need a second eye looking at this.

"GET /jkmanager HTTP/1.1" 404 207

The error I get in my mod_jk log is:

[debug] jk_translate::mod_jk.c (3434): missing uri map for test.local.host:/jkmanager
[debug] jk_map_to_storage::mod_jk.c (3593): missing uri map for test.local.host:/jkmanager

My uriworkermap.properties file looks like this:

/jconsole|/*=loadbalancer
/jkmanager|/*=jkstatus

My mod-jk.conf has this:

JkMount /jkmanager/* jkstatus
<Location /jkmanager/>
  JkMount jkstatus
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1
  Allow from 192.168
  Allow from 10
</Location>

My workers.properties looks like this:

worker.list=loadbalancer,jkstatus
# Status worker for managing load balancer
worker.jkstatus.type=status
#worker.jkstatus.read_only=True

# Define Ports-01 Worker
worker.ports1.port=8109
worker.ports1.host=test.local.host
worker.ports1.type=ajp13
worker.ports1.lbfactor=1
worker.ports1.prepost_timeout=10000
worker.ports1.connect_timeout=10000
worker.ports1.ping_mode=A
worker.ports1.connection_pool_size=10
# Define preferred failover node for worker ports1
#worker.ports1.redirect=ports2

# Define Ports-02 Worker
worker.ports2.port=8209
worker.ports2.host=test.local.host
worker.ports2.type=ajp13
worker.ports2.lbfactor=1
worker.ports2.prepost_timeout=10000
worker.ports2.connect_timeout=10000
worker.ports2.ping_mode=A
worker.ports1.connection_pool_size=10
# Disable ports2 for all requests except failover
#worker.ports2.activation=disabled

# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=ports1,ports2

And my httpd.conf has this:

LoadModule jk_module modules/mod_jk.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
<Proxy balancer://ajpcluster>     
  BalancerMember ajp://test.local.host:8109     
  BalancerMember ajp://test.local.host:8209   
</Proxy>
<Location /jconsole>  
  ProxyPass balancer://ajpcluster/jconsole stickysession=JSESSIONID|jsessionid nofailover=On
  ProxyPassReverse balancer://ajpcluster/jconsole
</Location>

asked May 5, 2011 10:39 pm CDT
posted via ServerFault

1 Answers

0
 

Maybe try to call these address:

http://localhost/jkmanager/

Look at the ending / character.

answered May 7, 2011 4:45 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions