Author |
|
TPL
Joined: 25 Mar 2014 Posts: 24 Location: Germany, Hamburg
|
Posted: Tue 25 Aug '15 10:45 Post subject: Tomcat Connectors (mod_jk) 1.2.41 (issue) |
|
|
Hello Apache Lounge Team,
On apache.org is a new version of Tomcat Connector (mod_jk) online.
Apache Tomcat Connectors 1.2.41
Changelog: http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html
Can you please build a VC11 x86/x64 ?
Thank You!!!
TPL |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 25 Aug '15 12:35 Post subject: |
|
|
Done.
Please verify if all is ok, then I build it for VC14/10 |
|
Back to top |
|
TPL
Joined: 25 Mar 2014 Posts: 24 Location: Germany, Hamburg
|
Posted: Wed 26 Aug '15 8:17 Post subject: |
|
|
Thank You, Steffen!
Tested on Windows Server 2008 R2 SP1 with Apache 2.4.16 VC11 x86:
There's a bug in mod_jk version 1.2.41 on Windows with the status worker.
Example:
Code: | worker.list=jk-status
worker.jk-status.type=status
worker.jk-status.read_only=true |
Code: | <Location /jk-status>
JkMount jk-status
Require local
</Location> |
http://localhost/jk-status returns no result.
Rainer Jung confirmed the problem.
He sends me a Workaround to fix it and works on a permanent solution.
Workaround:
Edit mod_jk.so (i use notepad++)
Just replace the "%z" (two times) in the mod_jk.so with blank spaces.
Regards
Timo |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 26 Aug '15 9:26 Post subject: |
|
|
TPL wrote: |
Workaround:
Edit mod_jk.so (i use notepad++)
Just replace the "%z" (two times) in the mod_jk.so with blank spaces.
|
Hi Timo,
you edited the so file ( dll) with NP++ and it still works? |
|
Back to top |
|
TPL
Joined: 25 Mar 2014 Posts: 24 Location: Germany, Hamburg
|
Posted: Wed 26 Aug '15 9:43 Post subject: |
|
|
Yes. It's magic!
The problem is a Timezone parameter. Edit and safe the .so file and it works.
Code: | Y-%m-%d %H:%M:%S %z %Y%m%d%H%M%S %z |
But, not only delete %z. Overwrite with blank spaces. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 26 Aug '15 11:32 Post subject: |
|
|
Please keep me informed.
You can download the "old" 1.2.40 :
On request |
|
Back to top |
|
rjung
Joined: 26 Aug 2015 Posts: 13
|
Posted: Wed 26 Aug '15 21:30 Post subject: |
|
|
I added the issue information the the following bugzilla ticket including the workarounds:
https://bz.apache.org/bugzilla/show_bug.cgi?id=58286
I will update the ticket when we have a final fix.
Since jk-status is an important feature and a crash is not something to tolerate I suggest you consider applying one of the workarounds to your binary builds.
Thanks and sorry for the inconvenience. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 26 Aug '15 22:15 Post subject: |
|
|
Thanks rjung.
Applied temporarily fix jk-status timezone and did a rebuild. Available at the VC11 download page.
Please test again (TPL ?). |
|
Back to top |
|
TPL
Joined: 25 Mar 2014 Posts: 24 Location: Germany, Hamburg
|
Posted: Thu 27 Aug '15 8:27 Post subject: |
|
|
Tested on Windows Server 2008 R2 SP1 with Apache 2.4.16 VC11 x86
The status worker page is available now.
It seems to work!
Thanks!
Regards
Timo |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
TPL
Joined: 25 Mar 2014 Posts: 24 Location: Germany, Hamburg
|
Posted: Mon 31 Aug '15 9:04 Post subject: |
|
|
Tested on Windows Server 2008 R2 SP1 with Apache 2.4.16 VC11 x86:
everything works fine!
Info:
LogLevel = debug
On startup there are the following messages in apache error.log.
[Mon Aug 31 08:33:27.633842 2015] [jk:error] [pid 3024] [Mon 31 Aug 2015 08:33:27][3024:3064] [debug] jk_shm_close::jk_shm.c (403): Closed shared memory memory childs=1
[Mon Aug 31 08:33:27.727442 2015] [mpm_winnt:notice] [pid 3024:tid 432] AH00455: Apache/2.4.16 (Win32) mod_jk/1.2.41 configured -- resuming normal operations
[Mon Aug 31 08:33:27.727442 2015] [mpm_winnt:notice] [pid 3024:tid 432] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
and
[Mon Aug 31 08:33:27.727442 2015] [mpm_winnt:notice] [pid 3024:tid 432] AH00418: Parent: Created child process 6948
[Mon Aug 31 08:33:28.772644 2015] [jk:error] [pid 6948] [Mon 31 Aug 2015 08:33:28][6948:6496] [debug] jk_shm_close::jk_shm.c (403): Closed shared memory memory childs=1
[Mon Aug 31 08:33:28.866244 2015] [mpm_winnt:notice] [pid 6948:tid 372] AH00354: Child: Starting 200 worker threads. |
|
Back to top |
|