Bug 53762 - JK status manager: mass nodes handling doesn't works
Summary: JK status manager: mass nodes handling doesn't works
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Connectors
Classification: Unclassified
Component: mod_jk (show other bugs)
Version: 1.2.36
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 07:58 UTC by Jan Stefl
Modified: 2014-03-31 19:38 UTC (History)
1 user (show)



Attachments
Configurations and log files (8.95 KB, application/x-gzip)
2012-08-22 07:58 UTC, Jan Stefl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stefl 2012-08-22 07:58:47 UTC
Created attachment 29263 [details]
Configurations and log files

I have one HTTPD server balanced 2 Tomcats.

I try to disable all Tomcats nodes at once smth. like:

curl -G -d "cmd=update&mime=prop&w=router&att=vwa&val0=1&val1=1" localhost/jkmanager/


And expect returned HTTP code 503 for multiple requests.  
In web browsers (Chrome, Firefox) it is behave strange. During the refreshes I sometimes see served response from Tomcat.
This strange (random) behaviour is valid for running wget muliple times too.

wget --no-cache -O - 127.0.0.1/testapp


After that I want to start all nodes, but it is not working. Nothing happend and behaviour remains same as I described above.


curl -G -d "cmd=update&mime=prop&w=router&att=vwa&val0=0&val1=0" localhost/jkmanager/


Btw. shared memory file (JkShmFile) is on local disk (no NFS).

See my configurations and logs in the attached files.
Comment 1 Rainer Jung 2012-08-22 08:56:25 UTC
Can you please check version 1.2.37 plus the following patch:

http://svn.apache.org/viewvc?view=revision&revision=1354021

Please report back whether the problem is fixed with this.

Regards,

Rainer
Comment 2 sten 2012-08-30 12:34:34 UTC
This (In reply to comment #1)
> Can you please check version 1.2.37 plus the following patch:
> 
> http://svn.apache.org/viewvc?view=revision&revision=1354021
> 
> Please report back whether the problem is fixed with this.
> 
> Regards,
> 
> Rainer


This patch resolves jk-manager activation issues for me.
Please merge.
Comment 3 Brad 2014-02-04 22:51:39 UTC
The patch resolved this for me as well. Does no one else use mod_jk to balance between multiple tomcat backends?
Comment 4 Rainer Jung 2014-03-31 19:38:14 UTC
Fixed in version 1.2.39.