DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42554>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42554

           Summary: mod_ssl + mod_jk with status_worker does not work on a
                    single node cluster.
           Product: Apache httpd-2
           Version: 2.0.59
          Platform: HP
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: worker
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Hi,

In our installation we have several apache+tomcat clusters, one apache and two 
or more tomcat's. Now we have to create a new cluster including just one node 
while we wait for the new hardware in order to add the second node. 

In our node we have installed mod_ssl(0.98d) and mod_jk(1.2.21).

our workers.properties:
worker.list=lb_worker,status_worker

worker.lb_worker.type=lb
worker.lb_worker.balance_workers=workerW02
worker.lb_worker.method=B
worker.lb_worker.lock=O
worker.lb_worker.sticky_session=1

# worker.status_worker.type=status

worker.workerW02.type=ajp13
worker.workerW02.port=8009
worker.workerW02.host=VPBRPRESIDW02
worker.workerW02.lbfactor=1

if we uncomment the status worker line our apache server does not start. If I 
add another node:

worker.list=lb_worker,status_worker

worker.lb_worker.type=lb
worker.lb_worker.balance_workers=workerW02,workerW03
worker.lb_worker.method=B
worker.lb_worker.lock=O
worker.lb_worker.sticky_session=1

worker.status_worker.type=status

worker.workerW02.type=ajp13
worker.workerW02.port=8009
worker.workerW02.host=VPBRPRESIDW02
worker.workerW02.lbfactor=1

worker.workerW03.type=ajp13
worker.workerW03.port=8009
worker.workerW03.host=VPBRPRESIDW03
worker.workerW03.lbfactor=1

It works perfectly.

In our httpd.conf:

# ------------------------------------------------------------------------------
--
#
# Creat per l'area de sistemes del departament de presidencia (22/08/2006)
# Afegit per per configurar el mod_jk (el LoadModule fet a la secció 
corresponent)

JkWorkersFile conf/workers.properties

JkLogFile     logs/mod_jk.log

# Set the jk log level [debug/error/info] -info per traballar normalment.
#JkLogLevel    info
JkLogLevel    error

JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

JkOptions     +ForwardKeySize +ForwardURICompat +ForwardDirectories

JkRequestLogFormat     "%w %V %T %v %B %U %s"

# Per prohibir que els usuaris accedeixin al WEB-INF de Tomcat
<Location "/Export/htdocs/*/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

JkMount /*/AppJava/* lb_worker
JkMount /*.jsp lb_worker
JkMount /*/GenData/* lb_worker
JkMount /*/UsrData/* lb_worker
JkMount /*/TmpData/* lb_worker

# Enable the JK manager access from localhost only
<Location /jkmanager/>
    JkMount status_worker
    Order deny,allow
    Deny from all
    Allow from all
</Location>

RewriteEngine on

JkEnvVar HTTPS on

RewriteRule ^/$ http://vpbrpresidw02/inet/ [R=permanent]
RewriteRule ^/index.jsp$ http://vpbrpresidw02/inet/ [R=permanent,L]

RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} ^/Hello/* [NC]
RewriteRule ^/(.*) https://vpbrpresidw02/$1 [R=permanent,L]

NameVirtualHost *:443

<VirtualHost *:443>
        SSLEngine On
        CustomLog logs/ssl_request_log.log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}
x \"%r\" %b"
</VirtualHost>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to