-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jon,

On 4/9/20 18:45, jonmcalexan...@wellsfargo.com.INVALID wrote:
> Potentially off-topic, sorta, questions.> Asking here as it has to
> do with connecting to Tomcat. :)

Nope, this is the right place. mod_jk is a Tomcat project, not a part of
e.g. httpd.

> 1.     How do we get the latest versions of mod-jk.so tomcat
> connector 1.2.46 or 1.2.48? I see the binaries and such for IIS,
> but not .so versions.

As Mark states, you would usually build from source. Apache Lounge has
them for download for Windows platforms.

> 2.     How, on windows, do we tell what version of mod-jk.so is
> currently in use on Apache HTTP?

If you didn't get a .dll file with a version number in it (or you
don't trust it), you can find out using one of several techniques:

1. The admin approach: start IIS (or httpd, I guess) with mod_jk
enabled and look at the log files. You should get a version number
logged at startup. Here is one from my httpd instance:

[Fri Apr 10 06:25:01.522 2020] [9727:140316748111936] [info]
init_jk::mod_jk.c (3591): mod_jk/1.2.46 initialized

(This was logged to the place where JKLogFile points)

2. The dev-ops approach: if you have a "jk-status" worker enabled,
visit the jk-status worker page and you'll get the version number at
the top of the page:

JK Version:     mod_jk/1.2.41

3. The direct approach: examine the binary. This is somewhat easier on
a *NIX system or one where you have the UNIX utility "strings"
available. I'll demonstrate using my Linux system:

$ strings /usr/lib/apache2/modules/mod_jk-1.2.46.so  | grep mod_jk/
[output]
mod_jk/1.2.46

(Note that these are different servers, which is why they have
different version numbers.)

For my x86-64 ELF 1.2.46 version, I found the mod_jk/ string at byte
offset 4b766 (hex) in the file which has length 168AF8 (hex), so ...
somewhere in the middle and not at the end like I'd expect.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6QilAACgkQHPApP6U8
pFjZfBAArsfID9DM9shHNg1Izi3hR62f8RtcEzRXegmsZIm9RKWs16vUk2jW/kRS
3y2qbg4IolUkGAUfBFA7h6yAy3AhbN/QciA8Zx320r0c0J1SQUBaPwUgbYeN1s6E
2kFIJRdKaGd/lmTXaPT4NHBGIO6KnqYeQWLLwrPocEIZ75Fl8GM6dVKn8b4H8y7v
NYm9QJv8p46yxVGLfbRGYybxL3RmeoYt+xerjylCIYndb949bhRmLDB/5VCQtZXC
keBnxcsfE3M3H0yIh/d0oJHll2RC9PdKRjCSGxOarLwz4VECPZH9UTLnWKRk03yT
eHLQTa3OGOrHSUO0QNuo2QchHtKs/OibA8FOhbALnu8LWUKcKu+TA18PXYN/aDT2
oUlT9JhdJuR+IbRpWe4R1E2Mow/rBD9hz2uTDAuGBx4vle2/iKbNzsdu8p7RIrMW
zVYBRw+zq0t4vJxDXn75pPhM/Gx3O/p/nNowau62Y49n3eNIeKIrIs5LMwpzgVZj
Lw9K6ASRfd7/k3SK992CUs/qa4tsQDeXV0Y/st3vKHUohiUuhMVqa1ec1CRAgXgi
HC+/8bHGCJTbRYeaGDn2EoHNZsi6gbBpdxATH1jY29Phsr6+gDsQ1MxjA9u3AbOb
ak3UU+C7EAQ03IpOT5u+d7+UBtVYJkVkjsuJmL3F8/QPoVFToNc=
=kfiW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to