[jboss-user] [Installation, Configuration & DEPLOYMENT] - Strange workers.properties problem (Apache / mod_jk)

Spuds do-not-reply at jboss.com
Tue Jan 8 12:10:49 EST 2008


We have a production cluster and a qa / dev cluster.

All are using Apache and mod_jk.

We have staging sites set up on the production cluster that point to the QA site and IP addresses in the QA cluster... we have several of these "staging" sites that work just fine and point to the same QA cluster with no problems.

I just recently added another, but when I uncomment the block in workers.properties, suddenly all of the sites on the whole box go down EXCEPT for the staging site, which works fine.

Comment the block out, restart apache-- now everything comes right back instantly, but of course the staging site doesn't work.

Here is the relevant block in workers.properties:

########################################################
#qa.bpp  worker configuration
#Q-bpp Node1
worker.qa-bpp1.port=8009
worker.qa-bpp1.host=10.2.2.185
worker.qa-bpp1.type=ajp13
worker.qa-bpp1.lbfactor=1
#
#Q-bpp Node2
worker.qa-bpp2.port=8009
worker.qa-bpp2.host=10.2.2.186
worker.qa-bpp2.type=ajp13
worker.qa-bpp2.lbfactor=1
#
# Load-balancing behaviour
worker.qa-bpp.type=lb
worker.qa-bpp.balance_workers=qa-bpp1,qa-bpp2
##########################################################


Here is what I have in mod_jk.conf:

<VirtualHost *:80>
    ServerAdmin ULadmin
    DocumentRoot /var/www/html
    ServerName stag.bpp
    ErrorLog /var/log/http/stag.bpp-error_log
    CustomLog /var/log/http/stag.bpp-access_log common
    JkMount /* qa-bpp




The blocks look right to me, I have looked at the file for extra whitespace / codes and have found none, I have looked at the block before and after this block to see if there are any errors in those and have found none.

The QA and DEV site are working fine in those clusters.

The block above *IS* in the workers.list list.

Any ideas?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117993#4117993

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117993



More information about the jboss-user mailing list