Re: jk connector + http2

2017-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, On 5/25/17 1:35 PM, George Stanchev wrote: > Is a HTTP/2 call to Tomcat proxied via IIS / JK Connector (Tomcat > Connector) expected to succeed? No, it won't work. You will need to use mod_proxy_http2[1] with httpd or have IIS do somethin

Re: JK Connector failure after IIS recycle - version 1.2.30

2011-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/26/2011 4:19 AM, André Warnier wrote: > 1) it happened only once > 2) the same configuration has been working without showing such a > problem for at least one year > 3) neither IIS nor Tomcat nor isapi_redirector were recently updated > 4

Re: JK Connector failure after IIS recycle - version 1.2.30

2011-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 5/25/2011 6:31 PM, Nick Williams wrote: > Thanks for the insight. I'll give it a little more time, but I'm being > pushed by my superiors here for an answer that I can't give, so I'll have > to file a bug before long. Certainly when logging

Re: JK Connector failure after IIS recycle - version 1.2.30

2011-05-26 Thread André Warnier
Nick Williams wrote: Thanks for the insight. I'll give it a little more time, but I'm being pushed by my superiors here for an answer that I can't give, so I'll have to file a bug before long. Does anyone know if there are any other (open source OR commercial/paid) alternatives to integrating To

RE: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread Nick Williams
mcat with IIS and/or Apache? N -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, May 25, 2011 3:49 PM To: Tomcat Users List Subject: Re: JK Connector failure after IIS recycle - version 1.2.30 Nick Williams wrote: > Does anyone have any feeback? Do I need

Re: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread André Warnier
Nick Williams wrote: Does anyone have any feeback? Do I need to report a bug? My own experience with this list, is that when someone reports an issue or asks a question which fits with the knowledge or experience of the people on the list, usually the reaction time is short. So the fact tha

RE: JK Connector failure after IIS recycle - version 1.2.30

2011-05-25 Thread Nick Williams
Does anyone have any feeback? Do I need to report a bug? Nick *From:* Nick Williams [mailto:nicholas.willi...@puresafety.com] *Sent:* Friday, May 20, 2011 6:19 PM *To:* 'Tomcat Users List' *Subject:* JK Connector failure after IIS recycle - version 1.2.30 Environment: Windows Server 2008

Re: JK connector and extra characters showing up

2010-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 6/30/2010 11:18 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: JK connector and extra characters showing up >> >> Those 4 extra characters are lik

RE: JK connector and extra characters showing up

2010-07-01 Thread Caldarale, Charles R
> From: David Brown [mailto:captki...@gmail.com] > Subject: Re: JK connector and extra characters showing up > > Now here's what I'm seeing. In dump A (tomcat jk) in > packet 2 at line 00c0 look at the end of the line's > hex. It's 03 1f f8 40. Pay attent

Re: JK connector and extra characters showing up

2010-07-01 Thread David Brown
First let me thank everyone for looking at this. Now I'll try to answer some of the questions and clear up the confusion (if I can). All these dumps are from responses and not request. I'll post more complete dumps at he end of this message. The first one is the communications between tomcat an

Re: JK connector and extra characters showing up

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: Problem: Extra characters showing up in some content delivered from tomcat. I believe they are from the JK connector when it breaks up the content into

Re: JK connector and extra characters showing up

2010-07-01 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: JK connector and extra characters showing up Those 4 extra characters are likely to be the chunk size. 31 66 66 38 is, well, "1ff8", which is 792 in decimal. Not on my calcula

RE: JK connector and extra characters showing up

2010-06-30 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: JK connector and extra characters showing up > > Those 4 extra characters are likely to be the chunk size. 31 66 66 38 > is, well, "1ff8", which is 792 in decimal. Not on my calculator;

Re: JK connector and extra characters showing up

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: > Problem: > > Extra characters showing up in some content delivered from tomcat. I believe > they are from the JK connector when it breaks up the content into 8k > packets. > > Setup: > > Tomcat 5.5

Re: JK connector fails with long URLs

2009-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Br1, br1 wrote: > Ok, I am starting to understand better what is happening, there seem to be > two problems here. > > 1 - The max URL length for IIS 5 is about 2k or so. This cannot be changed > probably. That's what my knee-jerk reaction was to s

Re: JK connector fails with long URLs

2009-01-19 Thread Mladen Turk
br1 wrote: My suggestion to the developers here, could you please intercept the error and maybe return a "413 Request Entity Too Large" message? This is what happens for instance with Ionics rewrite (see 31 october 2008 release, http://www.codeplex.com/IIRF/SourceControl/ListDownloadableCommits

Re: JK connector fails with long URLs

2009-01-19 Thread br1
br1 wrote: > > > Christopher Schultz-2 wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Br1, >> >> br1 wrote: >>> Do you think this limit will be increased in the next versions? >>> >>> In theory, no limit is imposed by the protocol itself. I would tend to >>> think >>> J

Re: JK connector fails with long URLs

2009-01-16 Thread br1
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Br1, > > br1 wrote: >> Do you think this limit will be increased in the next versions? >> >> In theory, no limit is imposed by the protocol itself. I would tend to >> think >> JK should at least support what

Re: JK connector fails with long URLs

2009-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Br1, br1 wrote: > Do you think this limit will be increased in the next versions? > > In theory, no limit is imposed by the protocol itself. I would tend to think > JK should at least support what the JK supported platforms support. The source code

Re: JK connector fails with long URLs

2009-01-16 Thread br1
Hi, Thank you.. if this was this easy.. :-) Unfortunately, one of their requirements is to send the URLs by email. I already told them to use a different method, but I still hope to see an higher limit in the next JK version. Thanks again, Br1. awarnier wrote: > > br1 wrote: >> >> Rainer J

Re: JK connector fails with long URLs

2009-01-15 Thread André Warnier
br1 wrote: Rainer Jung-3 wrote: It looks like we only support URLs up to 2047 Bytes (+/- 1). Regards, Rainer Hey Rainer, Do you think this limit will be increased in the next versions? In theory, no limit is imposed by the protocol itself. I would tend to think JK should at least support

Re: JK connector fails with long URLs

2009-01-15 Thread br1
Rainer Jung-3 wrote: > > It looks like we only support URLs up to 2047 Bytes (+/- 1). > > Regards, > > Rainer > Hey Rainer, Do you think this limit will be increased in the next versions? In theory, no limit is imposed by the protocol itself. I would tend to think JK should at least suppor

Re: JK connector fails with long URLs

2009-01-15 Thread Rainer Jung
On 15.01.2009 14:53, br1 wrote: Additional info: - Machines are IIS 5 on Windows 2000 Server - Though the same happens on my XP laptop - The JK log shows this error message, with the line number varying between JK versions, here is the 1.2.27 one: [error] jk_isapi_plugin.c (1852): error while get

Re: JK connector fails with long URLs

2009-01-15 Thread br1
Additional info: - Machines are IIS 5 on Windows 2000 Server - Though the same happens on my XP laptop - The JK log shows this error message, with the line number varying between JK versions, here is the 1.2.27 one: [error] jk_isapi_plugin.c (1852): error while getting the url Is this a known bug

Re: JK Connector problem

2008-12-03 Thread nitingupta183
Hi, I solved the problem. Actually it was a silly mistake in the configuration. I was using a folder name with spaces and without putting it inside a double quote. Now it is working fine. Regards, Nitin Rainer Jung-3 wrote: > > nitingupta183 schrieb: >> Hi all, >> >> I am trying to integrate

Re: JK Connector problem

2008-12-03 Thread Rainer Jung
nitingupta183 schrieb: > Hi all, > > I am trying to integrate Apache server with Tomcat using mod_jk. I am > folllowing the basic tutorials on this but still cant start the Apache > server when I configure httpd.conf to load the mod_jk module. It says "The > requested operation has faiked!". I am

Re: JK connector issues ?

2008-12-02 Thread Rainer Jung
André Warnier schrieb: >> This can happen a lot, if Tomcat has a configured connectionTimeout on >> the connector, but mod_jk has no timeout for idle connections. Again we >> would need the configuration, this time also the server.xml. > > The Connector tag of server.xml is this : > >

Re: JK connector issues ?

2008-12-02 Thread André Warnier
Rainer Jung wrote: [...] It does since version 1.2.23 (info message during startup). From the log line numbers I guess you are using 1.2.21 released in March 2007. That sounds about right. That system (RHEL5) was installed around that time and still runs the original versions. [...] Thi

Re: JK connector issues ?

2008-12-02 Thread Rainer Jung
André Warnier schrieb: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> André, >> >> André Warnier wrote: >>> mod_jk 1.2.x (sorry, don't know the exact version) >> >> This is actually quite important when mod_jk is acting funny. Try this: >> >> $ strings /path/

Re: JK connector issues ?

2008-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: > mod_jk 1.2.x (sorry, don't know the exact version) This is actually quite important when mod_jk is acting funny. Try this: $ strings /path/to/mod_jk.so | grep mod_jk/ mod_jk/1.2.26 Mine appears to be 1.2.26. > 26.11.2

Re: Jk connector stops working

2008-06-09 Thread Rainer Jung
Andrea Di Muro schrieb: Is your OOME coming from heap? What's the exact message, JVM version and TC version? Tomcat version is 5.5.20 running on JVM 1.5.0_10-b03 This is the error I get in the log file: Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOf

Re: Jk connector stops working

2008-06-06 Thread Andrea Di Muro
Rainer Jung wrote: > Andrea Di Muro wrote: >> Hi, I have a problem with the Jk Connector between Apache and Tomcat: >> when a jsp page uses a lot of memory and I get java.lang.OutOfMemory >> error the jk connector stops working. Even after the thread that was >> consuming all the allocated memor

Re: Jk connector stops working

2008-06-06 Thread Mark Thomas
Andrea Di Muro wrote: Hi, I have a problem with the Jk Connector between Apache and Tomcat: when a jsp page uses a lot of memory and I get java.lang.OutOfMemory error the jk connector stops working. Even after the thread that was consuming all the allocated memory stops, I can't access the jsp p

Re: Jk connector stops working

2008-06-06 Thread Rainer Jung
Andrea Di Muro wrote: Hi, I have a problem with the Jk Connector between Apache and Tomcat: when a jsp page uses a lot of memory and I get java.lang.OutOfMemory error the jk connector stops working. Even after the thread that was consuming all the allocated memory stops, I can't access the jsp pa

Re: JK connector causes Tomcat to utilize 50% CPU

2008-01-03 Thread Rainer Jung
Are you using the tcnative.dll? If so, do you know, which version? There was a bug in tcnative that resulted in the same symptom. You might want to remove tcnative.dll temporarily to check, if this fixes the problem, and then might want to check with a recent tcnative. Regards, Rainer Smith, Mic

Re: JK Connector "errors" under heavy load

2007-05-14 Thread Johnny Kewl
Hi Brantley, I've never really had a reason to examine this kind of data... so I'm no expert on this... just guessing... as usual ;) I think that error count is an indication of socket errors... which one expects to have a few of. There isnt really much we can do about socket errors other

Re: JK Connector "errors" under heavy load

2007-05-14 Thread ewsinc
I have had the same question without any answer from this forum. You can turn on mod_jk logging to see what the httpd side of the ajp protocol has to say. I got those errors to go away, but I don't know how to turn on detailed logging for the tomcat side of ajp I am unable to find any error in

Re: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-14 Thread Rainer Jung
OK, that solves the quiz: The isapi plugin has a speciality. It first checks for a forwarding rule, which is specific for the virtual server. If it doesn't find one, then it checks for global rules. Unfortunately there is a little gotcha, if you use /* as a rule. It will always map as a virtua

RE: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-14 Thread Jean-Francois Beaulac
May 12, 2007 7:02 AM To: Tomcat Users List Subject: Re: JK connector issue - Can't get JKStatus working with IIS 6.0 Since your original config looked OK, could you set your log level for the isapi redirector to trace and log startup and a single test against your configured status URL? Plea

Re: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-12 Thread Rainer Jung
Since your original config looked OK, could you set your log level for the isapi redirector to trace and log startup and a single test against your configured status URL? Please post the results, so we can see, if the URL got mapped, and why the request didn't get forwarded. Regards, Rainer

Re: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-11 Thread Mladen Turk
Jean-Francois Beaulac wrote: The Connector itselfs works perfectly, I just want to enable the JKStatus page that shows information about the workers and also allow to make changes at runtime to work. In the documentation I've seen specific configuration for Apache HTTPD to mount the JKStatus, bu

RE: JK connector issue - Can't get JKStatus working with IIS 6.0

2007-05-11 Thread Jean-Francois Beaulac
The Connector itselfs works perfectly, I just want to enable the JKStatus page that shows information about the workers and also allow to make changes at runtime to work. In the documentation I've seen specific configuration for Apache HTTPD to mount the JKStatus, but I could not find similar info

Re: JK Connector

2007-01-02 Thread wolverineny ny
I cannot conifgure my application as ROOT app (unnamed context). Is there a JK solution for it? thanks! Raj On 12/25/06, Edoardo Causarano <[EMAIL PROTECTED]> wrote: Rename your app archive ROOT.war and deploy it. Tomcat will use it as unnamed context Ciao, e 2006/12/22, wolverineny ny <[E

Re: JK Connector

2006-12-25 Thread Edoardo Causarano
Rename your app archive ROOT.war and deploy it. Tomcat will use it as unnamed context Ciao, e 2006/12/22, wolverineny ny <[EMAIL PROTECTED]>: Hello, How can I configure JK connector to redirect all requests to a particular webapp. http://localhost/index.html > http://localhost:8080

Re: jk connector problems

2006-11-15 Thread brian bay
at you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: "Rainer Jung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, November 15, 2006 2

Re: jk connector problems

2006-11-15 Thread Martin Gainty
Sent: Wednesday, November 15, 2006 2:44 AM Subject: Re: jk connector problems > Hi Martin, > > these lines only mean, that mod_jk is checking whether it should forward > the request or not, but it doesn't find a match (=JkMount), so it > decides to let other apache modu

Re: jk connector problems

2006-11-15 Thread Mladen Turk
Martin Hochreiter wrote: I'll see, I "solved" it with another way: I simply kicked out mod_jk and use mod_proxy. The performance is a significant better. Great. You can at least say that you are the first one! Please give us some benchmark results. Cheers, Mladen. -

Re: jk connector problems

2006-11-15 Thread Martin Hochreiter
Rainer Jung schrieb: Hi Martin, these lines only mean, that mod_jk is checking whether it should forward the request or not, but it doesn't find a match (=JkMount), so it decides to let other apache modules handle the request. This part of request processing is normal, even if there is no JkMoun

Re: jk connector problems

2006-11-14 Thread Rainer Jung
Hi Martin, these lines only mean, that mod_jk is checking whether it should forward the request or not, but it doesn't find a match (=JkMount), so it decides to let other apache modules handle the request. This part of request processing is normal, even if there is no JkMount. Regards, Rainer

Re: jk connector problems

2006-11-14 Thread Martin Hochreiter
Rainer Jung schrieb: Hi, Martin Hochreiter schrieb: Hi! I have some problems with Tomcat & JK Connector and Apache Virtual hosts. Apache should only give requests of one virtual host to the jk connector, but it handles all requests over to the jk connector, no matter what host. I di

Re: jk connector problems

2006-11-14 Thread Rainer Jung
Hi, Martin Hochreiter schrieb: > Hi! > > I have some problems with Tomcat & JK Connector and Apache Virtual hosts. > > Apache should only give requests of one virtual host to the jk > connector, but > it handles all requests over to the jk connector, no matter what host. I didn't try your confi

Re: jk connector stripping Content-Type?

2006-06-23 Thread myrealbruno
All, Apologies, for the records: the content type mapping was missing under Tomcat. The pages I tested were served by Apache, not by Tomcat. Apache seem to insert the content type if Tomcat does not send it, while IIS does not. Sorry again, br1. - Original Message - From: "myrealbruno"

Re: JK Connector not distinguishing between Virtual hosts

2006-05-16 Thread Bill Barker
"Naren Koka" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am using mod_jk with Tomcat 5 and Apache 2.2. JK is directing to the >default Host in Tomcat Server. It is not able to distinguish the sites. >When we go to abc2.com, it shows half the content from abc1.com, which has

RE: JK Connector not distinguishing between Virtual hosts

2006-05-16 Thread Fenlason, Josh
I'm not sure if this will fix your problem or not, but I believe it's recommended to use mod_proxy_ajp instead of mod_jk with Apache 2.2.x. http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html , Josh. > -Original Message- > From: Naren Koka [mailto:[EMAIL PROTECTED] > Sent: Tuesday, M

Re: jk connector and apache

2005-12-05 Thread Mladen Turk
Isaac Wieder wrote: Hello, I wrote in earlier (october 20), but no one responsed. I have apache 2.0.54 and tomcat 5.0.28 running on a server and they are connected through JK. For some reason, my system has a large number of CLOSE_WAITs on the port that tomcat and apache use to communicate (