Re: mod_proxy_ajp equivalent for JK_LB_ACTIVATION?

2020-03-06 Thread Rainer Jung
Hi Chris, no, the status unfortunately is not available as an Apache env var. mod_proxy_ajp has a builtin provision for automatic env var forwarding: alle env vars named AJP_SOMETHING will be forwarded as request attribute SOMETHING. But I see no easy way of detecting drain mode and setting

Re: secureRandom... using [SHA1PRNG] ..took (up to) 20 minutes

2019-12-30 Thread Rainer Jung
It depends a bit on the major Java version you are using, but have a look at this page: https://cwiki.apache.org/confluence/display/TOMCAT/HowTo+FasterStartUp#HowToFasterStartUp-EntropySource Regards, Rainer Am 30.12.2019 um 05:01 schrieb Vince Stewart: I started recently using my my java

Re: Apache SSI breaks with tomcat-connectors-1.2.43 or newer

2019-09-30 Thread Rainer Jung
race] do_shm_open::jk_shm.c (723): exit [Mon Sep 30 15:04:04 2019][3926:140148297873536] [debug] jk_child_init::mod_jk.c (3463): Initialized mod_jk/1.2.44 [Mon Sep 30 15:04:04 2019][3926:140148297873536] [trace] jk_child_init::mod_jk.c (3464): exit On Wed, Sep 18, 2019 at 7:24 AM Rainer

Re: [OT] TLSv1.3 in TC8.5 + Azul Java 8

2019-09-23 Thread Rainer Jung
Am 06.08.2019 um 18:37 schrieb George Stanchev: So it seems to work. For whoever is interested to try, the openjsse comes prebundled with Azul's distro, all you need to do is run with -XX:+UseOpenJSSE command line option. On TC side, I added "TLSv1.3" to "sslEnabledProtocols":

Re: Apache SSI breaks with tomcat-connectors-1.2.43 or newer

2019-09-18 Thread Rainer Jung
Am 17.09.2019 um 17:44 schrieb Ezsra McDonald: Hello, Environment: OS: CentOS 7 Apache: Apache/2.4.6 (CentOS) Working Connector: tomcat-connectors-1.2.42 When we installed the latest version of the connector, 1.2.46 at this time, some of our customer Server Side Includes stopped working. SSIs

Re: Massive Startup Time after Server Reboot

2019-05-18 Thread Rainer Jung
Most likely it hangs waiting for enough entropy for random number generator seeding. Try whether the problem goes away if you add -Djava.security.egd=file:/dev/urandom to you process flags. If you are using older Java than Java 8 (not possible for Tomcat 9 but just in case you also have

Re: Apache httpd / tomcat AJP connector(s?)

2019-05-09 Thread Rainer Jung
Am 08.05.2019 um 10:14 schrieb Mark Thomas: On 07/05/2019 13:37, André Warnier (tomcat) wrote: Hi. On 26.04.2019 18:16, Mark Thomas wrote: On 24/04/2019 10:58, André Warnier (tomcat) wrote: Hi. This is somewhat of an arcane question and somewhat straddling httpd and tomcat, so if I'm on the

Re: Is there a limit to mod_jk?

2019-04-25 Thread Rainer Jung
Am 25.04.2019 um 06:22 schrieb John Larsen: Hello, Is there a limit to the number of workers instances mod_jk can handle? There will be limits due to general file descriptor limits, each TCP connection counts as a file descriptor. But I am not aware of a limit on the number of workers per

Re: Crash in http connector random once a day

2019-03-14 Thread Rainer Jung
In each of the four thread dumps, there are (the same) 4 threads connected to and waiting for an answer from a PHP FCGI backend behind Tomcat. You need to investigate, why that backend isn't sending a response (or takes so long for it). Regards, Rainer Am 14.03.2019 um 14:11 schrieb Daniel

Re: Followup2: Changed behaviour of Tomcat Deployment/Context/Lifecycle Manager concerning symbolic links

2019-03-11 Thread Rainer Jung
Am 11.03.2019 um 08:09 schrieb Michael Osipov: Am 2019-03-10 um 22:29 schrieb Mark Thomas: On 10/03/2019 20:54, Michael Osipov wrote: Am 2019-03-10 um 12:16 schrieb Mark Thomas: On 10/03/2019 09:08, Guido Jäkel wrote: Dear John, Hi Rainer, Thank you for your hints. I leaned to used this

Re: Followup2: Changed behaviour of Tomcat Deployment/Context/Lifecycle Manager concerning symbolic links

2019-03-09 Thread Rainer Jung
Hi Guido, Am 09.03.2019 um 10:09 schrieb Guido Jäkel: Dear Mark, thank you for comments and hints. I would say I have a wide knowledge about hard and software. But as I'm not working as a software developer, I'm not familiar with a lot of things in deep. I also don't have key-ready

Re: loss of connection with mod_jk(tomcat connector)

2019-02-06 Thread Rainer Jung
Hi Rajendra, Am 06.02.2019 um 12:36 schrieb Rathore, Rajendra: Hi Mark, I am stuck and due to below issue unable to update to latest tomcat connector, can you please share your finding, let me know if you need anything from my side, I also raise issue

Re: latest situation with escaped path delimiters in URI

2019-02-04 Thread Rainer Jung
Am 03.02.2019 um 22:20 schrieb Garret Wilson: Hi, all. I've stumbled on a situation I need some clarity on. As is typical, there's all sorts of information floating around, most of it more than a decade old, with no indication of what the current status is. Our team is creating a RESTful API

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Rainer Jung
> Nov 21 18:32:37 server2 httpd[24339]: Invalid command 'JkWorkersFile', > perhaps misspelled or defined by a module not included in the server > configuration That means that there was no LoadModule line for mod_jk before that config line. You originally posted the first config line

Re: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Rainer Jung
le JSPs failure issue - Tomcat community -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 11/2/18 06:20, Rainer Jung wrote: You can control the number of threads using -threadCount. By default the number is equals to the number of cores the operating system show to the JVM. x 2 You migh

Re: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Rainer Jung
- From: Rainer Jung Sent: 02 November 2018 03:50 PM To: Tomcat Users List ; Rathore, Rajendra Subject: Re: precompile JSPs failure issue - Tomcat community Am 02.11.2018 um 10:57 schrieb Rathore, Rajendra: Hi Mark, I tried with tomcat 8.5.33 and face the same issue, I logged a bug also https

Re: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Rainer Jung
Am 02.11.2018 um 10:57 schrieb Rathore, Rajendra: Hi Mark, I tried with tomcat 8.5.33 and face the same issue, I logged a bug also https://bz.apache.org/bugzilla/show_bug.cgi?id=62879 Please let me know how should I proceed here? Thanks and Regards, Rajendra Rathore 9922701491 -Original

Re: mod_jk endpoints

2018-10-21 Thread Rainer Jung
Am 22.10.2018 um 00:53 schrieb Jerry Malcolm: On 10/21/2018 3:17 AM, Mark Thomas wrote: We provide the Windows binaries because the build process is more involved, most users don't have the necessary toolchain  easily available and we only need to provide one binary for all Windows

Re: mod_jk endpoints

2018-10-21 Thread Rainer Jung
Am 22.10.2018 um 00:43 schrieb Jerry Malcolm: On 10/21/2018 7:27 AM, Rainer Jung wrote: Plus: mod_http2 uses additional threads per Apache httpd process. Look for H2Workers, H2MinWorkers and H2MaxWorkers in the mod_http2 docs. By default it seems you get ThreadsPerChild normal http worker

Re: mod_jk endpoints

2018-10-21 Thread Rainer Jung
Am 21.10.2018 um 10:17 schrieb Mark Thomas: On October 21, 2018 7:38:25 AM UTC, Greg Huber wrote: So I'm using the 2016 1.2.40 version. Think you have to build mod_jk to use the latest and greatest, Correct. We stopped providing binary builds for anything other than Windows because there

Re: OCSP stapling in tomcat 7 with APR

2018-10-17 Thread Rainer Jung
Redirect when accessing http://ocsp.comodoca.com could simply be a trailing slash redirect (Location: http://ocsp.comodoca.com/). You better use http://ocsp.comodoca.com/ (note the slash at the end of the URL). Regards, Rainer Am 17.10.2018 um 15:09 schrieb Усманов Азат Анварович: SSLLabs

Re: Load Balancing to Tomcat Workers

2018-10-04 Thread Rainer Jung
Just adding a bit below ... Am 03.10.2018 um 22:40 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Loai, On 10/3/18 16:07, Loai Abdallatif wrote: Hello, I have configures web server with jk load balancer to tomcat server (192.168.237.11) with two containers

Re: jk_handler::mod_jk.c (2917): Could not get endpoint for worker ...

2018-09-21 Thread Rainer Jung
Am 15.09.2018 um 12:50 schrieb Clemens Wyss DEV: Hi all, we are seeing quite a few: "[Mon Sep 10 15:19:46 2018] [27562:140532026529536] [error] jk_handler::mod_jk.c (2917): Could not get endpoint for worker=testAPJ" errors in our md_jk.log. Worker properties are as follwos: ...

Re: [mod_jk] No data for "LE" (last error timestamp) column in lb status

2018-07-23 Thread Rainer Jung
Hi Chris, Am 20.07.2018 um 16:29 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I've got a lb worker with two balanced nodes. One of the nodes has a non-zero value for the "Err" (errors) field, but there is a blank entry for the "LE" (last error timestamp)

Re: tomcat jmx questions / help

2018-03-29 Thread Rainer Jung
Hi Chris, Am 28.03.2018 um 21:06 schrieb Christopher Schultz: Also, for some background: https://tomcat.apache.org/presentations.html Search the page for "jmx". Good stuff, thanks for the pointer! Regards, Rainer - To

Re: tomcat jmx questions / help

2018-03-28 Thread Rainer Jung
I hope my below answers are all correct, but most should be. Am 28.03.2018 um 20:25 schrieb Greg Kaszycki: Tomcat version 7.0.82 I have some questions about tomcat monitoring and jmx. The short version is that I am trying to get session information about users logged into my app. I see

Re: Thread state differences according to Tomcat 7, 8 version.

2018-03-27 Thread Rainer Jung
See below Am 27.03.2018 um 07:50 schrieb 이의준: Hi ! English is not my native language; please excuse typing errors. Why is Tomcat not handling requests with 8 versions, but in the RUNNABLE state, not the TIME_WAITING state of the Tomcat 7 version? Please confirm that this operation works

Re: mod_jk: sessions connecting although worker is oset to DIS

2018-03-23 Thread Rainer Jung
Am 23.03.2018 um 11:19 schrieb Martin Knoblauch: Hi Rainer, so basically I took the Apache path and ended up with the following brute force method: RewriteCond "%{REQUEST_METHOD}" "GET" RewriteRule ^/xxx/facelets/logon.xhtml$ - [E=login_jsid:%{HTTP_COOKIE}] CustomLog

Re: mod_jk: sessions connecting although worker is oset to DIS

2018-03-22 Thread Rainer Jung
Am 22.03.2018 um 15:07 schrieb Rainer Jung: Am 22.03.2018 um 11:58 schrieb Martin Knoblauch: Hi,   we have this annoying problem that although Tomcat workers are set to DIS state in mod_jk, there are new connections being opened. This prevents us from "idle down" Tomcats in a time

Re: mod_jk: sessions connecting although worker is oset to DIS

2018-03-22 Thread Rainer Jung
Am 22.03.2018 um 11:58 schrieb Martin Knoblauch: Hi, we have this annoying problem that although Tomcat workers are set to DIS state in mod_jk, there are new connections being opened. This prevents us from "idle down" Tomcats in a timely fashion. This hurts when a restart is needed. While our

Re: Tomcat on Power I

2018-03-19 Thread Rainer Jung
Am 19.03.2018 um 14:24 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Danny, On 3/19/18 5:42 AM, Danny Rodius wrote: has anyone tried tomcat on Power i systems? Which OS? Probably the OP means System i, aka iSeries, aka AS/400. There is at least one guy

Re: Tomcat7 with jre 1.7 error during starting

2018-01-26 Thread Rainer Jung
Am 26.01.2018 um 12:08 schrieb Rajesh Cherukuri: HI we have a existing running tomcat version 5 running on solaris with out any issues , recently we have installed tomcat 7 on the same solaris 10 server with no application deployed , and configured java version as jre1.6 in setenv.sh i

Re: Technology Information Request - Apache Tomcat 7.0

2018-01-23 Thread Rainer Jung
Hi Pradipto, the question was answered by Mark Thomas just a few days ago in the following mail thread: https://marc.info/?t=15163382301=1=2 Regards, Rainer Am 23.01.2018 um 11:39 schrieb Mukherjee,Pradipto: Hi, Greetings of the day! My name is Pradipto Mukherjee from Gartner Inc.

Re: StoreConfig default registry misspelling

2018-01-22 Thread Rainer Jung
Am 22.01.2018 um 08:53 schrieb Rémy Maucherat: On Mon, Jan 22, 2018 at 8:35 AM, d3coder wrote: I can't enable StoreConfigLifecycleListener with default settings because of misspelling in class name in default server-registry.xml XML line 138 -

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-18 Thread Rainer Jung
Just an addition to one of Mark's questions: Am 17.01.2018 um 22:20 schrieb Mark Thomas: Is it always the same threads generating the load or does it move between threads? Just in case Andreas is not aware: one can check with "top -H -p ". Using -H lets top show one line per thread instead

Re: GC allocation failure

2018-01-04 Thread Rainer Jung
Am 04.01.2018 um 18:20 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ambica, On 1/4/18 11:17 AM, Sanka, Ambica wrote: I am seeing below highlighted errors in native_err logs in all my tomcat applications. I also increased memory for the VM from 4GB to 8GB. Still

Re: GC allocation failure

2018-01-04 Thread Rainer Jung
Hi Ambica, Am 04.01.2018 um 17:17 schrieb Sanka, Ambica: I am seeing below highlighted errors in native_err logs in all my tomcat applications. I also increased memory for the VM from 4GB to 8GB. Still seeing those. When do we get that errors? I am reading online that when program asks for

Re: Is there any way to make a little delay or sequencing of the requests coming to tomcat.

2017-11-01 Thread Rainer Jung
Am 01.11.2017 um 10:53 schrieb Olaf Kock: On 01.11.2017 06:00, Chaitanya Sabbineni wrote: I had a application where multiple requests are coming at same time because of which 1 request is overridden by other.Is so can Any one let me know if there is a way to achieve this. Tomcat easily

Re: Is there any way to make a little delay or sequencing of the requests coming to tomcat.

2017-11-01 Thread Rainer Jung
Am 01.11.2017 um 06:00 schrieb Chaitanya Sabbineni: I had a application where multiple requests are coming at same time because of which 1 request is overridden by other.Is so can Any one let me know if there is a way to achieve this. Maybe this:

TLS client auth accepted CA [Was: 2 Way SSL integration with Webservices - Inbound connection not trusted]

2017-08-16 Thread Rainer Jung
Am 16.08.2017 um 09:09 schrieb Jose María Zaragoza: Hi: 2017-08-16 6:59 GMT+02:00 Vinoth Raja : Hi Chris, In the above conversation, the server presents the list of acceptable client certificates to the client. Does that happen for you? [ Yes . It prints the list of

Re: Small question on mod_jk load balancing methon "Next"

2017-08-09 Thread Rainer Jung
Am 09.08.2017 um 11:50 schrieb Martin Knoblauch: On Fri, Aug 4, 2017 at 11:47 PM, Rainer Jung <rainer.j...@kippdata.de> wrote: Hi Martin, Am 04.08.2017 um 10:53 schrieb Martin Knoblauch: Hi, just need some clarification on the mod_jk load blanacing method "Next". The docu

Re: Small question on mod_jk load balancing methon "Next"

2017-08-04 Thread Rainer Jung
Hi Martin, Am 04.08.2017 um 10:53 schrieb Martin Knoblauch: Hi, just need some clarification on the mod_jk load blanacing method "Next". The documentation states: "If method is set to N[ext] the balancer will again use the number of sessions to find the best worker. All remarks concerning

Re: Tomcat 9 M22 doesn't stop

2017-07-22 Thread Rainer Jung
Am 22.07.2017 um 22:48 schrieb Mark Eggers: On 7/22/2017 12:50 AM, Aurélien Terrestris wrote: Hello, I'm trying the latest Tomcat (9.0.0.M22) with all the default settings and applications. When shutting down, it doesn't stop and I'm staying with a java process which cannot handle any request.

Re: TLS handshake performance

2017-05-18 Thread Rainer Jung
Am 18.05.2017 um 16:03 schrieb john.e.gr...@wellsfargo.com.INVALID: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, May 18, 2017 8:47 AM To: users@tomcat.apache.org Subject: Re: TLS handshake performance This time to the right list... On 18/05/2017 06:04,

Re: [ANN] New committer: Michael Osipov

2017-05-08 Thread Rainer Jung
Am 08.05.2017 um 10:08 schrieb Mark Thomas: On behalf of the Tomcat committers I am pleased to announce that Michael Osipov (michaelo) has been voted in as a new Tomcat committer. Please join me in welcoming him. Congrats and welcome! Rainer

Re: tuning to accommodate Apache 2.4 event mpm

2017-04-28 Thread Rainer Jung
Am 27.04.2017 um 22:21 schrieb Mark Thomas: On 27/04/17 20:08, John Cartwright - NOAA Federal wrote: Thanks for your reply Mark! My sysadmin tells me just that we're using "the defaults" for event_mpm. However we are still using the BIO AJP connector: Is there a way I can tell from the

Re: rotate catalina.out

2017-04-13 Thread Rainer Jung
on details there is sometimes a risk of using log information due to external rotation. Regards, Rainer On Wed, Apr 12, 2017 at 4:32 PM, Rainer Jung <rainer.j...@kippdata.de> wrote: Am 12.04.2017 um 16:15 schrieb Mark Thomas: On 12/04/17 14:13, shivashankar manukondu wrote: Hi, Do w

Re: rotate catalina.out

2017-04-12 Thread Rainer Jung
Am 12.04.2017 um 16:15 schrieb Mark Thomas: On 12/04/17 14:13, shivashankar manukondu wrote: Hi, Do we have any default catalina.out rotation in the tomcat8 without using any external tool like Log4J or logrotate. No. But since catalina.out is

Re: [ANN] New committer: Emmanuel Bourg

2017-01-20 Thread Rainer Jung
Am 20.01.2017 um 18:12 schrieb Mark Thomas: On behalf of the Tomcat committers I am pleased to announce that Emmanuel Bourg (ebourg) has been voted in as a new Tomcat committer. Please join me in welcoming him. Congratulations and welcome! Rainer

Re: Maintaining Session with Apache RewriteRule

2016-12-24 Thread Rainer Jung
Am 24.12.2016 um 19:58 schrieb Jerry Malcolm: Mark, Thanks, but what can I do to correct it? On 12/24/2016 11:09 AM, Mark Thomas wrote: On 24/12/2016 16:08, Jerry Malcolm wrote: I have an app that runs in a single WAR file deployment (single webapp context). I added some Apache

Re: Reset a single mod_jk worker counter

2016-12-05 Thread Rainer Jung
Hi Chris, Am 05.12.2016 um 22:25 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Ping. I'd really like to be able to do this. Is it currently possible? When locating this message to reply to it, I found essentially the same message posted by me back in May.

Re: log4j2 configuration in Tomcat 8.5.8

2016-12-05 Thread Rainer Jung
Am 05.12.2016 um 08:32 schrieb frank.pien...@materna.de: It's a little bit frustrating to configure Tomcat 8.5.8 with log4j2. I put the following jars in $CATALINA_HOME/lib log4j 2 core (log4j-core-2.6.2.jar) log4j 2 api (log4j-api-2.6.2.jar) Delete the file

Re: Load balancing problem with activation=disabled

2016-10-18 Thread Rainer Jung
Am 18.10.2016 um 10:10 schrieb Kozak, Milos: Hi, I am debugging a mod_jk load-balancing configuration which has been used a lot, but for two nodes only. Currently, we made a change for more nodes, and we are facing problem. Original idea was to have one PROD and DR servers such that all

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Rainer Jung
Am 17.10.2016 um 22:38 schrieb Mark Juszczec: On Mon, Oct 17, 2016 at 8:20 AM, Rainer Jung <rainer.j...@kippdata.de> wrote: Am 17.10.2016 um 12:35 schrieb Mark Juszczec: On Mon, Oct 17, 2016 at 4:29 AM, Mark Thomas <ma...@apache.org> wrote: A small hint. I'd expect those to

Re: Apache mod_jk connector question about alias

2016-10-17 Thread Rainer Jung
Am 17.10.2016 um 19:16 schrieb Marc Chamberlin: Hello - My apologies if this has already been asked or the wrong mail list, but Google is not coming up with an answer for me, so here goes... I am trying to set up the mod_jk connector between an Apache HTTPD server and Tomcat with the intent of

Re: Tomcat 8, AJP 1.3 UTF-8/ISO-8859-1 conversion problem

2016-10-17 Thread Rainer Jung
Am 17.10.2016 um 12:35 schrieb Mark Juszczec: On Mon, Oct 17, 2016 at 4:29 AM, Mark Thomas wrote: On 17/10/2016 08:30, Mark Thomas wrote: On 16/10/2016 19:09, Mark Juszczec wrote: Hello I have Tomcat 8.0.28 running on CentOS Linux 7.2.1511 behind Apache 2.4.6 I'm using

Re: [OT] ECDHE cipher suites missing on Amazon Linux / OpenJDK 7 and 8 ??

2016-10-06 Thread Rainer Jung
Am 06.10.2016 um 00:18 schrieb Christopher Schultz: On 10/5/16 6:13 PM, Christopher Schultz wrote: On 10/5/16 4:52 PM, Rainer Jung wrote: Am 05.10.2016 um 21:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Apologies for off-topic post, but lots of folks

Re: [OT] ECDHE cipher suites missing on Amazon Linux / OpenJDK 7 and 8 ??

2016-10-05 Thread Rainer Jung
Am 05.10.2016 um 21:11 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Apologies for off-topic post, but lots of folks here have lots of different experiences and maybe someone has come across this. I've got a few servers in Amazon EC2 running Amazon Linux.

Re: Increased memory consumption due to url encoding

2016-08-12 Thread Rainer Jung
Am 11.08.2016 um 21:16 schrieb Jose María Zaragoza: 2016-08-10 14:29 GMT+02:00 Lazar Kirchev : Hello Christopher, I tried with 32 MB and even 24 MB heap and the CPU usage and response time remained the almost the same (the difference is negligible) as with 1 GB heap.

Re: mod_jk errors

2016-07-15 Thread Rainer Jung
Am 12.07.2016 um 19:44 schrieb Wayne Li: Hi, I have a servlet/jsp application running on tomcat 7.0.47. There are no static html files. Now I am try to use apache 2.4.7 (Ubuntu) as the front and forward eveything to tomcat. I installed mod_jk using Ubuntu's software center.. Things are working.

Re: [somewhat OT] mod-jk + ssl: requests are not forward to tomcat correctly

2016-07-12 Thread Rainer Jung
Am 12.07.2016 um 12:06 schrieb André Warnier (tomcat): On 12.07.2016 01:39, Wayne Li wrote: Probably the quickest : download these files, install them on your server, and change the above links. Like : create a sub-directory "/js" of your webapp, and install them there. Then change the above

Re: mod-jk (1.2.37) crashes Apache 2 (2.4.7) occasionally with a buffer overflow on Ubuntu 14.04 x64

2016-06-29 Thread Rainer Jung
Am 29.06.2016 um 11:58 schrieb Michael Diener: I get occasional Apache 2 crashes being caused by mod_jk and I'm running out of ideas about the cause of the problem. I hope somebody here can point me in the right direction. Can you reproduce? Does it also happen on a test system? tomcat6

Re: mod JK ho to rout all content to tomcat except for a few static folders

2016-06-20 Thread Rainer Jung
Am 20.06.2016 um 18:32 schrieb Campbell, Lance: Neither of these options will work for me: 1) no-jk is only supported for: "Starting with mod_jk 1.2.6 for Apache 2.x and 1.2.19 for Apache 1.3" So? You wrote your versions are Apache 2.2.15 mod_jk 1.2.41 and isn't 1.2.41 >= 1.2.6? So the

Re: Small problems compiling tomcat native

2016-04-25 Thread Rainer Jung
-04-25 14:04 GMT+02:00 Rainer Jung <rainer.j...@kippdata.de>: Can you provide the full configure command you use and the configure and make output as well as config.log? Do you have environment variables set, that influence the build (CC, CFLAGS, LDFLAGS or similar)? The "-Wl,-z,re

Re: Small problems compiling tomcat native

2016-04-25 Thread Rainer Jung
Can you provide the full configure command you use and the configure and make output as well as config.log? Do you have environment variables set, that influence the build (CC, CFLAGS, LDFLAGS or similar)? The "-Wl,-z,relro" should not directly come from our own tcnative scripts but using the

Re: SSL_CTX_set_alpn_select_cb undefined

2016-04-15 Thread Rainer Jung
r APR version your Linux and your Apache web server coming from this Linux distro uses. If RedHat doesn't provide you OpenSSL 1.0.2 and you'd like to use up-to-date Tomcat (recommended) and you have a need for tcnative, then yes, you'd need to do your own OpenSSL compilation. Regards, Rainer

Re: SSL_CTX_set_alpn_select_cb undefined

2016-04-15 Thread Rainer Jung
Am 15.04.2016 um 19:37 schrieb Michael Fox: I am running Red Hat Linux version 7.2, Apache version 2.4.6, Java JDK 1.8.0_65, Tomcat version 9.0.0.M1, Tomcat connector version 1.2.5, and have uncommented the HTTP/2 Connector lines in the Tomcat server.xml file. When I run the configure

Re: Modjk surfacing errno 115

2016-03-04 Thread Rainer Jung
Am 05.03.2016 um 00:09 schrieb Max Lynch: Hi Rainer, I will do my best to provide those things. Here is what looks like the full sequence from the our log: [46055:3512666992] [info] jk_open_socket::jk_connect.c (627): connect to _ip_:12409 failed (errno=115) [46055:3512666992] [info]

Re: Modjk surfacing errno 115

2016-03-04 Thread Rainer Jung
Am 04.03.2016 um 20:35 schrieb Max Lynch: Hi there, We have a very heavily used implementation of modjk 1.2.35 running in Apache 2.2.15 i686 on CentOS 6.7 x86_64. After Apache startup, our system will perform optimally with no errors for about 24 hours, after which we begin to see this message:

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Rainer Jung
Am 07.01.2016 um 19:21 schrieb Caldarale, Charles R: From: Lee Bassom [mailto:lbas...@interactions.com] Subject: Re: How do I block 'Unloading class sun.reflect' messages? -XX:+PrintGCDetails I'm going to guess that the above enables the class unloading messages. I used the above

Re: How do I block 'Unloading class sun.reflect....' messages?

2016-01-07 Thread Rainer Jung
Am 07.01.2016 um 19:55 schrieb Rainer Jung: Am 07.01.2016 um 19:21 schrieb Caldarale, Charles R: From: Lee Bassom [mailto:lbas...@interactions.com] Subject: Re: How do I block 'Unloading class sun.reflect' messages? -XX:+PrintGCDetails I'm going to guess that the above enables

Re: How to build tc-natvie for solaris sparc 64 bit using 64 bit java JDK

2015-12-12 Thread Rainer Jung
Am 11.12.2015 um 20:27 schrieb Nithesh Kb: *HI, I'm using Solaris sparc 64 bit machine. i wanted to build tc native using 64 bit version of java.* *i installed java in my Solaris box by referring* http://docs.oracle.com/javase/7/docs/webnotes/install/solaris/solaris-jdk.html *when i check the*

Re: How to build tc-natvie for solaris sparc 64 bit using 64 bit java JDK

2015-12-12 Thread Rainer Jung
Am 12.12.2015 um 18:29 schrieb Nithesh Kb: HI Rainer, Interestingly i tried this as well. *APR,* *CC="cc" CFLAGS="-m64" LDFLAGS="-m64" ./configure* *TC-native,* *CC="cc" CFLAGS="-m64 -fPIC" LDFLAGS="-m64" ./configure --with-apr=/usr/local/apr/bin/apr-1-config

Re: REMOTE_USER mod_jk

2015-11-20 Thread Rainer Jung
Am 19.11.2015 um 14:32 schrieb Teresa Fasano: With Apache/2.2.15 the REMOTE_USER is passed to the application (Jboss), while with Apache/2.4.6 is lost. In the log of the application we see this error: "REMOTE_USER variable not assigned." If you have a test system, you can set JkLogLevel to

Re: mod_jk make error with OSX 10.11.1

2015-10-29 Thread Rainer Jung
Am 29.10.2015 um 03:59 schrieb Christopher Schultz: Youngho, On 10/28/15 10:35 PM, Youngho Cho wrote: Just before I upgrade to OSX 10.11.1 And try to compile Apache mod_jk 1.2.41. But the make is fail. YounghoiMac:native youngho$ sudo make Making all in common

Re: [ANN] New committer: Martin Grigorov

2015-10-26 Thread Rainer Jung
Hi Martin, Am 26.10.2015 um 15:35 schrieb Mark Thomas: On behalf of the Tomcat committers I am pleased to announce that Martin Grigorov (mgrigorov) has been voted in as a new Tomcat committer. Please join me in welcoming him. Long time no hear. Nice having you around here! Regards, Rainer

Re: [ANN] New committer: Ognjen Blagojevic

2015-10-25 Thread Rainer Jung
Am 24.10.2015 um 15:58 schrieb Mark Thomas: On behalf of the Tomcat committers I am pleased to announce that Ognjen Blagojevic (ognjen) has been voted in as a new Tomcat committer. Please join me in welcoming him. Congratulations and welcome to the team! Rainer

Re: TCP connection vs Tomcat threads vs File Descriptors - please help

2015-10-17 Thread Rainer Jung
Am 17.10.2015 um 08:27 schrieb vicky: Hi All, can someone please help in understand that how TCP connections are interlinked with the no. ofFile Descriptors & no of threads configured over a machine . Setup details :OD - Centos 6Tomcat7Java 7 Recently i have faced an problem in while my

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-26 Thread Rainer Jung
Am 26.08.2015 um 08:00 schrieb Falco Schwarz: On Tue, Aug 25, 2015 at 5:13 PM, Rainer Jung rainer.j...@kippdata.de wrote: Am 25.08.2015 um 14:58 schrieb Falco Schwarz: If I try to startup httpd though the following error occurs: httpd: Syntax error on line 88 of /opt/apache/conf/alles

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Rainer Jung
Am 24.08.2015 um 21:23 schrieb Mark Thomas: On 24/08/2015 16:40, Alten, Jessica-Aileen wrote: We'd love to provide Windows binaries for mod_jk, but they are a real pain in the neck to actually build: they require very specific build environment, and the library must be built in such a way

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 14:58 schrieb Falco Schwarz: Hi there, I tried to update the connectors to the most recent update but I am stuck with error messages. Just a few background information on the infrastructure used: httpd: 2.2.31 OpenSSL: 1.0.2.d mod_jk: 1.2.41 Kernel: 3.0.101-0.47.52-pae OS:

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 20:41 schrieb Christopher Schultz: On 8/25/15 11:49 AM, Rainer Jung wrote: I just tried the isapi_redirector build using VC 2010 and the Makefile.amd64. No additional flags, just setting up the compiler with setenv /Release /x64 (as usual for MSVC) before running

Re: [ANN] Apache Tomcat Connectors 1.2.41 released

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 23:59 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 8/25/15 5:53 PM, Rainer Jung wrote: Am 25.08.2015 um 20:41 schrieb Christopher Schultz: On 8/25/15 11:49 AM, Rainer Jung wrote: I just tried the isapi_redirector build using VC

Re: tcnative CVE-2015-4000 (Logjam)

2015-06-12 Thread Rainer Jung
Am 12.06.2015 um 04:01 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arthur, On 6/11/15 4:34 PM, Arthur Ramsey wrote: On 06/11/2015 02:35 PM, Christopher Schultz wrote: Arthur, On 6/11/15 2:14 PM, Arthur Ramsey wrote: Is anyone aware of a way to mitigate the

Re: Http 2 support in Tomcat

2015-05-15 Thread Rainer Jung
Am 15.05.2015 um 20:43 schrieb PerfGuru: Thanks Mark Chris this is a very informative. I am using a httpd that supports http/2 and wow is it impressive. Sorry, I had to stop using Apache/Tomcat to use it but the performance and bandwidth gains are so nice it is addicting and my users have

Re: Tomcat Connectors release

2015-05-14 Thread Rainer Jung
Am 14.05.2015 um 15:58 schrieb George Stanchev: Hello, What is the schedule for Connectors release? Is a release scheduled when a critical mass of issues fixed or a major problem is resolved or a regular time-based release? It is overdue. I'm heading for it during the next 7 days. Regards,

Re: AJP config questions

2015-05-14 Thread Rainer Jung
Am 14.05.2015 um 23:58 schrieb Jeffrey Janner: Guys, it's been a long time since I did any work with AJP, but it looks like something I'll be implementing soon. I have a couple of basic questions, mostly related to ProxyPassReverse, but also one related to SSL. I know to turn on mod_proxy and

Re: AJP config questions

2015-05-14 Thread Rainer Jung
Am 15.05.2015 um 02:11 schrieb Rainer Jung: Am 14.05.2015 um 23:58 schrieb Jeffrey Janner: Guys, it's been a long time since I did any work with AJP, but it looks like something I'll be implementing soon. I have a couple of basic questions, mostly related to ProxyPassReverse, but also one

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 00:08 schrieb André Warnier: ... The OP has a complex setup, where we are not even sure that the various connections in various states are even related directly to Tomcat or not. Graphically, we have this : client -- TCP -- nginx -- TCP -- Tomcat -- webapp -- TCP -- external

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 11:38 schrieb André Warnier: Rainer Jung wrote: See my response from 1.5 days ago which contains the individual statistics for each of the above three TCP parts. Yes, sorry Rainer, I did not read that as carefully as I should have. No worries at all. Lots of stuff going

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 11:58 schrieb Thomas Boniface: What concerns me the most is the CLOSE_WAIT on tomcat side because when an fd peak appears the web application appears to be stuck. It feels like all its connections are consumed and none can be established from nginx anymore. Shouldn't the

Re: Getting Apache 2.2.29 to work with tomcat 8.0.21 using mod_jk 1.2.40 on a mac

2015-04-22 Thread Rainer Jung
Am 22.04.2015 um 11:33 schrieb Mayuresh: Hi Gurus, i am trying to make this combination and am stumbled at a place. After a lot of searching and experimenting I finally decided to post this question here. I am trying to load a page which loads just fine directly on tomcat. However if I try to

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-20 Thread Rainer Jung
Am 20.04.2015 um 14:11 schrieb Thomas Boniface: Hi, I have tried to find help regarding an issue we experience with our platform leading to random file descriptor peaks. This happens more often on heavy load but can also happen on low traffic periods. Our application is using servlet 3.0 async

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-20 Thread Rainer Jung
Am 20.04.2015 um 15:41 schrieb Rainer Jung: Am 20.04.2015 um 14:11 schrieb Thomas Boniface: Hi, I have tried to find help regarding an issue we experience with our platform leading to random file descriptor peaks. This happens more often on heavy load but can also happen on low traffic periods

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-20 Thread Rainer Jung
Am 20.04.2015 um 17:40 schrieb Thomas Boniface: Hi, Both nginx and tomcat are hosted on the same server when listing the connections I see both the connections from nginx to tomcat (the first one create) and the one from tomcat to nginx used to reply. I may have presented things the bad way

Re: SEVERE: All threads (200) are currently busy

2015-04-12 Thread Rainer Jung
Am 12.04.2015 um 02:20 schrieb HG: Every once in a while we get the following (Tomcat 6) Mar 31, 2015 7:24:32 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status in the Catalina logs

Re: AJP Connector : question on mod_proxy_ajp

2015-04-01 Thread Rainer Jung
Am 01.04.2015 um 09:43 schrieb André Warnier: Rainer Jung wrote: Am 31.03.2015 um 22:47 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/31/15 3:41 PM, André Warnier wrote: I have a question of my own. ??! +1 Tomcat 6.x/7.x/8.x. Until now, we

Re: Post Session Id

2015-04-01 Thread Rainer Jung
Am 31.03.2015 um 15:19 schrieb Wesley Acheson: Currently I'm trying to use tracking-modeSSL/tracking-mode in web.xml but just running some local tests it appears that there are a number of problems when using the JK connector and using this mechanism. First issue: Even though the requests are

Re: AJP Connector : question on mod_proxy_ajp

2015-04-01 Thread Rainer Jung
Am 01.04.2015 um 12:22 schrieb André Warnier: Rainer Jung wrote: Am 01.04.2015 um 09:43 schrieb André Warnier: Rainer Jung wrote: Am 31.03.2015 um 22:47 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/31/15 3:41 PM, André Warnier wrote: I have

Re: AJP Connector : question on mod_proxy_ajp

2015-03-31 Thread Rainer Jung
Am 31.03.2015 um 22:47 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/31/15 3:41 PM, André Warnier wrote: I have a question of my own. ??! +1 Tomcat 6.x/7.x/8.x. Until now, we have been using mostly the Apache httpd mod_jk connector to Tomcat.

  1   2   3   4   5   6   7   8   9   10   >