Re: mod_jk all endpoints are disconnected

2009-12-12 Thread Rainer Jung
It's only an info message, no problem per se. As long as there are no accompanying warn or error messages, you can ignore them. Regards, Rainer On 12.12.2009 07:27, peter.shen wrote: Hi brother I meet the same problem , I want to know the reason and how fix it? %-| ke...@newsgroupstats.hk

Re: Tomcat 6.0.16 + mod_jk 1.2.19 - request threads hanging up

2009-12-12 Thread Rainer Jung
On 12.12.2009 13:26, Alessandro Bahgat wrote: On Fri, Dec 11, 2009 at 4:27 PM, Rainer Jungrainer.j...@kippdata.de wrote: On 09.12.2009 12:18, Pid wrote: It could be, but while you're upgrading you might consider upgrading HTTPD to the best available version too, 2.0.52 release date: 1 Oct

Re: Tomcat 6.0.16 + mod_jk 1.2.19 - request threads hanging up

2009-12-11 Thread Rainer Jung
On 09.12.2009 12:18, Pid wrote: On 09/12/2009 11:00, Alessandro Bahgat wrote: Nishant, that didn't quite work, actually. After some struggle with our outsourcers, we added a new machine running Tomcat 6.0.20 *without tcnative* (they misplaced the .so files). That eventually resulted in a

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-04 Thread Rainer Jung
On 04.12.2009 09:31, groupalias v wrote: Also as I promised here is the mod_jk.log after running it in debug mode ( please note that I am not looking for an answer but would still be looking to figure out what's happening with mod_jk) -- Skipping init messages ... [Tue Dec 01 14:13:01 2009]

Re: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Rainer Jung
On 04.12.2009 10:29, Hadole, Nishant IN BOM SISL wrote: I am using Apache HTTP Server 2.0.61, Apache Tomcat Server 6.0.14.0 and mod_jk 2.0.46 (AJP V 1.3). mod_jk 2.0.46 does not exist. Scenario - Client call for heavy Post request from JSP. Tomcat receives the request and starts

Re: Tomcat Crashes out of continuous servicing of stuck request

2009-12-04 Thread Rainer Jung
On 04.12.2009 11:41, Looijmans, Mike wrote: ... Without trying to send something back to the client, there is no way telling the client closed the window (or pressed reload or switched to another URL). I would expect the socket to be closed, which can be detected at the server side. The

Re: Tomcat Https loadbalancing??

2009-12-03 Thread Rainer Jung
Some of this is also explained in http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html On 03.12.2009 15:40, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 12/3/2009 8:42 AM, David Cassidy wrote: It would be interesting if you are running on

Re: Debugging tomcat-apache(mod_jk) bridge

2009-12-02 Thread Rainer Jung
Check again (I think André's) hint about JkMountCopy. Regards, Rainer On 02.12.2009 17:33, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vas, On 12/2/2009 11:06 AM, groupalias v wrote: In response to Chris' question - I have only one tomcat instance running and

Re: mod_jk.log errors

2009-11-26 Thread Rainer Jung
Hi, On 25.11.2009 17:56, Steve Neidinger wrote: Greetings, I'm setting up a new apache system using mod_jk to talk to 8 JBoss instances on a separate server and I'm seeing a lot of entries in the mod_jk.log that I find troubling. Here is a snippet: [Wed Nov 25 10:32:31.727 2009]

Re: mod_jk 1.2.28 connection pooling is not working.

2009-11-23 Thread Rainer Jung
On 23.11.2009 01:37, Ahmed Medhat wrote: Hello, Setting connection_pool_size to a non-zero value (100 in my case) have no effect at all.. It's not necessary (but it works). mod_jk when used with Apache automatically sizes its pool in each processo to the number of request threads configured

Re: mod_jk: How to configure separate failover for different JkMounts?

2009-11-23 Thread Rainer Jung
On 23.11.2009 09:53, Tero Karttunen wrote: BACKGROUND INFORMATION: I have used mod_jk to configure Apache to work as a load balancer for two Tomcat server instances. To these Tomcat instances, I have deployed two Web Applications, ts_core_virtual_repository and pum. These Web Applications are

Re: A question about mod_jk 1.2.28 configuration

2009-11-20 Thread Rainer Jung
On 20.11.2009 09:03, thomas2004 wrote: Scroll back to Rainer's message dated 17/11/2009. There is a question there. The answer to that question is what Rainer is waiting for. Ok, here again Rainer's question: I know, that you have seen a problem, the errno=11 thing. I need to

Re: Client certificate chains with mod_jk

2009-11-20 Thread Rainer Jung
On 20.11.2009 18:08, Christopher Schultz wrote: Rainer, On 11/20/2009 11:51 AM, Rainer Jung wrote: On 20.11.2009 17:20, Christopher Schultz wrote: If you continue reading, you can see that mod_jk sends at least part of the first certificate. I seem to recall that mod_jk in debug mode only

Re: Client certificate chains with mod_jk

2009-11-20 Thread Rainer Jung
SSLEngine On SSLCertificateFile ... SSLCertificateKeyFile ... SSLOptions +ExportCertData JkOptions +ForwardSSLCertChain JkMount /cschultz-chadis/*.jsp worker21 JkLogLevel debug # chain.crt contains all 3 certificates

Re: Client certificate chains with mod_jk

2009-11-20 Thread Rainer Jung
The following line from you mod_jk log really shows what is being forwarded as an attribute to Tomcat. This is logged after retrieving the data from Apache but before sending it over the wire. At least we know we got the data from Apache and because it is three and not four certs it is likely,

Re: Client certificate chains with mod_jk

2009-11-20 Thread Rainer Jung
On 20.11.2009 17:20, Christopher Schultz wrote: I'm having trouble getting a client certificate chain sent to Tomcat via mod_jk. Apache httpd 2.2.9, mod_jk 1.2.28, Tomcat 5.5.27. Off by one? https://issues.apache.org/bugzilla/show_bug.cgi?id=39637 indicates you'll need 5.5.28 ... HTH!

Re: Client certificate chains with mod_jk

2009-11-20 Thread Rainer Jung
On 20.11.2009 18:44, Rainer Jung wrote: SSLEngine On SSLCertificateFile ... SSLCertificateKeyFile ... SSLOptions +ExportCertData JkOptions +ForwardSSLCertChain JkMount /cschultz-chadis/*.jsp worker21 JkLogLevel debug

Re: Client certificate chains with mod_jk

2009-11-20 Thread Rainer Jung
Since certs are public anyhow (not keys), here's the decoding done by openssl -x509 -in ... -text: On 20.11.2009 18:49, Rainer Jung wrote: The following line from you mod_jk log really shows what is being forwarded as an attribute to Tomcat. This is logged after retrieving the data from Apache

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-19 Thread Rainer Jung
On 19.11.2009 10:10, conrad-tomcat.users.2...@tivano.de wrote: Hi, On Thu, Nov 19, 2009 at 12:50:44AM +0100, Rainer Jung wrote: On 18.11.2009 17:01, conrad-tomcat.users.2...@tivano.de wrote: As you can see, 24552 (=3 * 8184) bytes are received almost immediately, 8184 looks like the body

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-18 Thread Rainer Jung
Hi, On 18.11.2009 17:01, conrad-tomcat.users.2...@tivano.de wrote: Hi, we're seeing a strange problem here that is only partially reproducible. Our customer is running a cluster of Tomcat 5.5.26 servers (several cluster domains) behind several load-balanced Apache-2.2.11 (for SSL

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-17 Thread Rainer Jung
On 17.11.2009 02:33, ndunn1979 wrote: Rainer Jung-3 wrote: BTW: Do you use the tomcat native connector? If so, try whether the problem comes from tcnative. So, I tried increasing the log level on the Tomcat side, but it was a stab in the dark because I'm not very familiar

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread Rainer Jung
Hello Thomas, On 17.11.2009 11:05, thomas2004 wrote: I think the reproduction with html is not working because of some other reasons likely not related with mod_jk. In the original message he has a jk error message referring to errno 11=EAGAIN. There is a change between 1.2.26 and 1.2.28

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread Rainer Jung
On 13.11.2009 02:39, Christopher Schultz wrote: Rainer, On 11/12/2009 6:10 PM, Rainer Jung wrote: The 8184 refers to the AJP default max packet size of 8KB minus some protocol overhead. So if a bug response is send, you will see lots of thosse 8184, which are simply fully sized AJP packets

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread Rainer Jung
On 13.11.2009 15:06, ndunn1979 wrote: Rainer Jung-3 wrote: As said: JkLogLevel trace will log the full packets. I reran it with trace log level and I can see the break now between the packets. Good. One example that works (notice inde at the end of the first packet and x

Re: A question about mod_jk 1.2.28 configuration

2009-11-13 Thread Rainer Jung
On 13.11.2009 15:49, Christopher Schultz wrote: Thomas, On 11/13/2009 2:55 AM, thomas2004 wrote: Sorry, the return page this time should just contains simply text, somewhat like Generated in 0 msec[query time: 22186 msec, processing time: 20 msec] for 36 contracts. , not a PDF-stream

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-13 Thread Rainer Jung
Nov 13 08:32:08.218 2009] [1916:2244] [debug] jk_ajp_common.c (1259): 03 1F F8 61 63 74 69 6F 6E 3D 31 26 6E 61 6D 65 - ...action=1name I see. Rainer Jung-3 wrote: Hmmm, that one I'm not sure, because after the inde there are only null bytes. Since the beginning of the packet

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-12 Thread Rainer Jung
On 12.11.2009 16:07, ndunn1979 wrote: I am experiencing an odd issue using AJP13 to connect Apache up to Tomcat. I've gotten it all setup and working for small pages, but I have a use case where Tomcat serves a very large page 300KB. In this particular case, the page does not load

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-12 Thread Rainer Jung
On 12.11.2009 23:35, ndunn1979 wrote: Rainer Jung-3 wrote: Does it happen every time for that page? Or is it at least easily reproducible for you? Does the load not completely always stop at the same position? If yes, which byte offset? Thos questions help us decide, how easily we

Re: A question about mod_jk 1.2.28 configuration

2009-11-11 Thread Rainer Jung
is a good idea. But the situation is we just host the application for our customer who will do not want to change their program. They said it works by mod_jk 1.2.26, why not by 1.2.28? I am not able to give them a satisfied answer. Well, Rainer Jung (one of the main authors of mod_jk) apparently

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 09.11.2009 11:27, thomas2004 wrote: I newly installed the mod_jk 1.2.28 and since then got problem (see below). ** We have a web application deployed on Jboss (RH Linux OS). The access to the web application is via a Apache Httpd Web Server. One of the function of

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 10.11.2009 14:26, thomas2004 wrote: Remove the socket_timeout. Please let us know, whether that helped. I've moved the socket_timeout and the reply_timeout two days ago but it doesn't help. My workersproperties looks now as follow: [code]

Re: A question about mod_jk 1.2.28 configuration

2009-11-10 Thread Rainer Jung
On 10.11.2009 17:12, André Warnier wrote: Rainer Jung wrote: On 10.11.2009 14:26, thomas2004 wrote: Remove the socket_timeout. Please let us know, whether that helped. I've moved the socket_timeout and the reply_timeout two days ago but it doesn't help. ... Hi. Just my Tomcat- and Java

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Rainer Jung
On 10.11.2009 21:32, Christopher Schultz wrote: Could you provide the translation? www.lmgttfy.com?

Re: [OT] Of the dissemination, or globalisation, of Tomcat knowledge

2009-11-10 Thread Rainer Jung
On 10.11.2009 22:30, André Warnier wrote: Rainer Jung wrote: On 10.11.2009 21:32, Christopher Schultz wrote: Could you provide the translation? www.lmgttfy.com? http://translate.google.com/translate_t?hl=enie=UTF-8text=Nach+der+Mittagspause+stellte+Mark+Thomas+im+Tomcat-Track+die+Neuerungen

Re: errno 110 in mod_jk

2009-11-09 Thread Rainer Jung
and Tomcat it might drop idle connections. Also you might want to free connections (and thus threads) which were only necessary due to peak load or failover. I usually suggest something between 1 and 10 minutes. Regards, Rainer On Sun, Nov 8, 2009 at 9:59 AM, Rainer Jung rainer.j...@kippdata.de wrote

Re: errno 110 in mod_jk

2009-11-08 Thread Rainer Jung
? thanks for your help. On Fri, Nov 6, 2009 at 4:05 PM, Rainer Jung rainer.j...@kippdata.de wrote: $ grep 110 /usr/include/*/errno.h #defineETIMEDOUT 110 /* Connection timed out */ On 07.11.2009 00:56, Mohit Anchlia wrote: I turned on mod_jk debug and see: [Fri Nov 06

Re: Tomcat Xalan classpath problem

2009-11-06 Thread Rainer Jung
, Nov 3, 2009 at 9:22 AM, Rainer Jung rainer.j...@kippdata.de wrote: Just to make sure w.r.t. it being working in Jetty: You use the same Java version? Sun changed an important bit between Java 5 and Java 6, where they are now caching something detected during runtime in a global static thus

Re: Tomcat Xalan classpath problem

2009-11-03 Thread Rainer Jung
Just to make sure w.r.t. it being working in Jetty: You use the same Java version? Sun changed an important bit between Java 5 and Java 6, where they are now caching something detected during runtime in a global static thus partially breaking the dynamics of XML parser detection when using mutiple

Re: [mod_jk] Could not find worker with name

2009-11-03 Thread Rainer Jung
On 03.11.2009 17:30, Christopher Schultz wrote: All, On 11/3/2009 11:17 AM, Christopher Schultz wrote: I've done many mod_jk setups, but I'm stumped by this one. Duh: worker.list=worker.worker21 s/worker\.worker/worker/g Done. Sorry for the noise. You are to fast for us :)

Re: Problem forward HTTP / Soap request using mod_jk

2009-11-03 Thread Rainer Jung
On 03.11.2009 19:35, breako wrote: Hi, I have two tomcat servers and I can make them talk to each other using soap / http no problem. However, when I put Apache infront of one my tomcat servers and set it up to forward http requests to the tomcat server it doesn't get any requests. I

Re: A question about log-rotation on catalina.out

2009-10-29 Thread Rainer Jung
On 30.10.2009 01:35, Caldarale, Charles R wrote: From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Subject: Re: A question about log-rotation on catalina.out ... you've not played with Smalltalk, have you? :-) Arithmetic isn't built into

Re: So many timeout values

2009-10-28 Thread Rainer Jung
On 28.10.2009 17:29, Mohit Anchlia wrote: Based on what I have seen is that we often get HTTP code 502 and by increasing socket timeout those errors disappear. I am not sure why that happens. Based on the feedback I got it looks like the below properties file is ok except the socket timeout

Re: Connection between ListenerStart and clustering

2009-10-28 Thread Rainer Jung
will try to reproduce the problem in another server, in order to try out the patch you supplied. Thanks again. 2009/10/3 Bocalinda bocali...@gmail.com Wow, that's what is called a quick turn around! :) Thanks. I'll try as soon as possible and let you know. 2009/10/3 Rainer Jung rainer.j

Re: So many timeout values

2009-10-28 Thread Rainer Jung
is ery likely broken. Wouldn't using Pre Post be the best thing to do? Both. Connect cping is done after the initial connection setup, prepost cping is done directly before each followup request (2nd, 3rd, ...). On Wed, Oct 28, 2009 at 10:55 AM, Rainer Jung rainer.j...@kippdata.de wrote

Re: So many timeout values

2009-10-27 Thread Rainer Jung
On 26.10.2009 23:40, Mohit Anchlia wrote: I read about timeouts but I still have following questions: 1. From 1.2.28 onwards, if I don't set the ping_mode then the request will still be sent to the BE node from workers.list even if that node is down? Forwarding http requests to a node or

Re: Updating Apache and mod_jk

2009-10-27 Thread Rainer Jung
On 27.10.2009 14:50, Andre Hübner wrote: Hello, have an older system apache 1.3, tomcat 4.1, mod_jk 1.2.2 updated to apache 2.2.10, mod_jk 1.2.28. tomcat should stay installed unchanged. restart fails with: [Tue Oct 27 08:50:19.526 2009] [14905:16384] [error]

Re: SessionID cookie not secure over SSL

2009-10-27 Thread Rainer Jung
On 27.10.2009 22:10, André Warnier wrote: Joe Wallace wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, October 27, 2009 4:48 PM To: Tomcat Users List Subject: Re: SessionID cookie not secure over SSL Joe Wallace wrote: I am using session

Re: So many timeout values

2009-10-26 Thread Rainer Jung
On 26.10.2009 16:19, Christopher Schultz wrote: On 10/25/2009 12:12 PM, Mohit Anchlia wrote: I also trying to understand cpong, prepost and all other timeouts. But it's confusing in terms of which one should be used and which ones can be left alone. We currently have following values, do you

Re: mod_jk don't work fine

2009-10-25 Thread Rainer Jung
On 25.10.2009 13:17, frpll wrote: Pid Ster wrote: On 24 Oct 2009, at 19:38, frpll jose_lopez_r...@telefonica.net wrote: Hi everyone! I have installed Apache2.2 and mod_jk 1.2.25. I have configured httpd.conf workers.properties, uriworkermap.properties, etc... Apache 2.2 work fine,

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Rainer Jung
What's you operating system and how exactly did you configure and make mod_jk? What JK directives do you use in your httpd configuration? If you set JkLogLevel to info, are there any log messages during startup? Regards, Rainer On 25.10.2009 15:18, Mohit Anchlia wrote: I posted this earlier

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Rainer Jung
from all /Location httpd conf --- IfModule jk_module Include conf/mod-jk.conf /IfModule LoadModule jk_module modules/mod_jk.so On Sun, Oct 25, 2009 at 7:34 AM, Rainer Jung rainer.j...@kippdata.de wrote: What's you operating system and how exactly did you configure and make

Re: Status worker not stopping or disabling worker through JkStatus

2009-10-25 Thread Rainer Jung
On 25.10.2009 17:12, Mohit Anchlia wrote: Thanks. Is the JkShmfile something new? It worked when we had mod_jk 1.25. What is JkshmFile used for? No it exists since a long time. The exact way of using it internally changed a bit from version to version. Its main puposes are: - providing

Re: mod_jk Client SSL Certificates

2009-10-23 Thread Rainer Jung
Thanks for the comprehensive instructions, very useful. Keep in mind the 8KB limit for the AJP header packet. Especially in case you sometime switch to a longer certificate chain, then you might run into it (and will be able to fix it with max_packet_size). Regards, Rainer On 23.10.2009 18:36,

Re: mod_jk Client SSL Certificates

2009-10-23 Thread Rainer Jung
On 23.10.2009 20:49, Christopher Schultz wrote: Rainer, On 10/23/2009 1:36 PM, Rainer Jung wrote: Keep in mind the 8KB limit for the AJP header packet. Especially in case you sometime switch to a longer certificate chain, then you might run into it (and will be able to fix

Re: jvmRoute usage

2009-10-22 Thread Rainer Jung
On 22.10.2009 17:49, Tsirkin Evgeny wrote: Hi list! I am configuring tomcat cluster in the following env. : 2 servers having apache/mod_jk in front and tomcat 6 in the back end. There _is_ a load balancer in front of all this, however the session stickiness does not always works _and_ there

Re: mod_jk Client SSL Certificates

2009-10-22 Thread Rainer Jung
On 22.10.2009 20:57, Christopher Schultz wrote: All, On 10/22/2009 11:50 AM, Christopher Schultz wrote: SSLVerifyClient optional SSLVerifyDepth 1 SSLCACertificateFile conf/my-client-cert-ca.crt Okay, I took the above steps and I can see that Apache httpd will properly reject clients

Re: apache/tomcat/modjk URL path question

2009-10-22 Thread Rainer Jung
a reasonable amount of information about proxy processing. Regards, Rainer Rainer Jung-3 wrote: On 20.10.2009 16:59, 1world1love wrote: I know that there is probably an easy solution to this, but all the posts I have found relating to this don't seem to match my scenario, and most of them I

Re: apache/tomcat/modjk URL path question

2009-10-22 Thread Rainer Jung
On 22.10.2009 22:53, 1world1love wrote: Rainer Jung-3 wrote: Sorry I didn't read all of it very carefully, but is it possible you left out the PT flag (pass-through)? Without it, Apache doesn't run a request which was changed by mod_rewrite through mod_jk. I just added it in right

Re: jvmRoute usage

2009-10-22 Thread Rainer Jung
On 23.10.2009 00:04, Tsirkin Evgeny wrote: Hi Rainer! Thanks a lot for taking a time to answer . However i failed to explained my configuration :). I have 2 physical server each running httpd which connects (via mod_jk) to one tomcat that is running on the same host (2 tomcats). The 6 in

Re: JkMount for status working not getting triggered

2009-10-16 Thread Rainer Jung
On 15.10.2009 17:39, Christopher Schultz wrote: Neil, On 10/14/2009 10:43 PM, Neil Aggarwal wrote: I then added this to my httpd.conf file in the global directives: # Mount the jk status application Location /jkstatus JkMount jkstatus Order allow,deny Allow from all /Location

Re: IIS ISAPI_redirector

2009-10-14 Thread Rainer Jung
On 14.10.2009 13:47, Bret Unbehagen wrote: I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to stop it from passing the client IP to Tomcat. I have found http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html, where is states that I can set JK_REMOTE_USER. I

Re: IIS ISAPI_redirector

2009-10-14 Thread Rainer Jung
On 14.10.2009 15:31, Peter Crowther wrote: 2009/10/14 Rainer Jung rainer.j...@kippdata.de On 14.10.2009 13:47, Bret Unbehagen wrote: I have a Windows 2003 Server with the ISAPI_Redirector installed. I want to stop it from passing the client IP to Tomcat. I have found http

Re: [OT] mod_jk inserting Transfer-Encoding Chunked header

2009-10-11 Thread Rainer Jung
On 11.10.2009 14:35, André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Sam Crawford wrote: Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys. We're operating in a two-tier DMZ environment and SunONE will be

Re: [OT] mod_jk inserting Transfer-Encoding Chunked header

2009-10-11 Thread Rainer Jung
On 11.10.2009 18:08, André Warnier wrote: Rainer Jung wrote: On 11.10.2009 14:35, André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Sam Crawford wrote: Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys

Re: Force access to one application in one tomcat in Clustered scenary

2009-10-10 Thread Rainer Jung
On 05.10.2009 12:45, Carlos García Gómez wrote: Hello, I have this hardware solution + One HTTP/HTTPS balancer. + four serves - Two Apaches (A1 and A2). - Mod_JK loadbalancer. (software) - Two Tomcats (T1 and T2). (CLUSTERED) We want to use, for example, manager application.

Re: httpd/JK/Tomcat hung connections (2009 edition)

2009-10-10 Thread Rainer Jung
On 10.10.2009 16:45, darinpope wrote: I'm having the same issue as documented in: http://www.nabble.com/httpd-JK-Tomcat-hung-connections-td10403182.html For our situation, we haven't hit the server reached MaxClients setting issue yet, but we easily could. Use thread dumps to see, what

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Rainer Jung
On 10.10.2009 12:32, Sam Crawford wrote: Hello, I've got a simple web application deployed, and am accessing it via a basic mod_jk load balancer setup. The web application on the J2EE app server is returning a fixed Content-Length: 84 header (it's just a HelloWorld page for testing

Re: mod_jk problem related to multiple hosts on Apache and Tomcat

2009-10-07 Thread Rainer Jung
On 07.10.2009 19:40, Maciej Zabielski wrote: Hello, I have a mod_jk problem related to multiple hosts on Apache and Tomcat My setup is Centos 5.3 + Apache HTTPD 2.2.3 + Tomcat 5 httpd.conf contains (Just before section 3) Basic mod_jk directives. At the end it contains two virtual

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
On 05.10.2009 22:04, André Warnier wrote: André Warnier wrote: ... and still wants to add something : - a new KeepAlive connection is made from the browser to Apache (httpd). - then a request comes in on that connection, and it happens to be one that gets forwarded to Tomcat. So a mod_jk

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
of the catalina.out file to you. Is there an easy way to find out what code is causing the requests to get stuck? Thank you! Joe On Sun, Oct 4, 2009 at 2:36 PM, Rainer Jung rainer.j...@kippdata.de wrote: Hi Joe, On 04.10.2009 21:45, Joe Hansen wrote: Rainer, Thank you so much for your kind

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-06 Thread Rainer Jung
I know I'm late in this discussion. Besides the very good mentioning of mod_remoteip, RemoteIpValve and XForwardedFilter I guess there's a way of doing it in case you are using mod_jk. mod_jk (and mod_proxy_ajp) use the AJP protocol between the web server and the backend, e.g. Tomcat. This

Re: How to Map domain to a context using Mod_jk

2009-10-06 Thread Rainer Jung
On 06.10.2009 06:56, gpike wrote: I have Virtual Hosts defined in Apache for each domain. I want to map the domain to a context in Tomcat. For instance I would like mysite.com to map to /mysite_com in Tomcat. Would it be something like: VirtualHost *:80 ServerName mysite.com

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
On 05.10.2009 18:58, Joe Hansen wrote: Thank you so much for your tips, Rainer! The websites went down yet again. Increasing the java heap size took care of the OutOfMemoryError, but the number of httpd processes keep increasing until the websites crash. I haven't added any new code in the

Re: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-06 Thread Rainer Jung
On 06.10.2009 17:41, Christopher Schultz wrote: Christopher, On 10/6/2009 10:50 AM, Law, Christopher wrote: Hello, I'm running Tomcat 6.0.18 using Java 1.6.0_12 on Windows XP professional. I have a problem that occurs during startup deploying a WAR file. Tomcat deploys the WAR file but

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-06 Thread Rainer Jung
, Rainer. I am grateful to you and Andre for your efforts. Thank you! Regards, Joe On Tue, Oct 6, 2009 at 7:25 AM, Rainer Jung rainer.j...@kippdata.de wrote: On 05.10.2009 18:58, Joe Hansen wrote: Thank you so much for your tips, Rainer! The websites went down yet again. Increasing

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread Rainer Jung
output in the catalina.out file. I am unable to decipher it. I do not want to post it to the mailing list because its very long. Would you be able to please tell me what should I be looking for within this long thread dump? Thanks again, Rainer :) Joe On Sat, Oct 3, 2009 at 12:24 PM, Rainer Jung

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-04 Thread Rainer Jung
private in there? You could use pastebin or something similar in case you do not have a public web server yourself. If you don't want to post in public, you can also mail it to me, I will post the result, in case I find something relevant. Regards, Rainer On Sat, Oct 3, 2009 at 12:24 PM, Rainer Jung

Re: Connection between ListenerStart and clustering

2009-10-03 Thread Rainer Jung
On 03.10.2009 12:12, Bocalinda wrote: I was able to check whether the class (ContextLoaderListener) is copied in different places. I can confirm that the class is only located in my webapp under WEB-INF/lib. (Inside spring.jar and spring-web.jar). The mystery gets bigger and bigger for me

Re: java.lang.OutOfMemoryError: Java heap space

2009-10-03 Thread Rainer Jung
On 03.10.2009 20:07, Joe Hansen wrote: Hey All, I get this error (java.lang.OutOfMemoryError: Java heap space) after my Apache 2.0/Tomcat 5.5/mod_jk installation has been up and running for a few hours. This problem started just since two days. Never had this issue before! I have also

Re: Connection between ListenerStart and clustering

2009-10-03 Thread Rainer Jung
On 03.10.2009 18:11, Bocalinda wrote: Hi Rainer. wild guess I remember problems with clustering which were of the following kind: session replication data was received on a node although the context wasn't yet fully initialized. Maybe we run into classloader troubles in that case? This

Re: Explanation mod_jk error messages

2009-09-30 Thread Rainer Jung
On 30.09.2009 17:19, Bocalinda wrote: Hi André. I actually stopped one server on purpose, to test the mod_jk's behavior. So the errors are not generated due to an overload or something. I would love to send you the whole workers.properties file and server.xml, but unfurtunately at this

Re: Apache Webserver and static conent

2009-09-29 Thread Rainer Jung
On 29.09.2009 09:53, Angelo Chen wrote: Hi, I use the mod_proxy to allow a tomcat's app running behind Apache server, now I'd like to let Apache server handle some static contents: www.example.com/information the content of information is not part of tomcat app, but a directory in the

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-29 Thread Rainer Jung
The same line is also contained in config.log. You could try making a backup copy of that libtool, then applying the same changes, that we did to the mod_jk libtool and run make clean make Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent

Re: Tomcat JK connection problem ?

2009-09-28 Thread Rainer Jung
On 28.09.2009 11:08, Ashika Umanga Umagiliya wrote: Greetings all, I have configured JK connector to bridge Apache to my Tomcat server. I am getting weird behaviour for a one particular servlet. For a random client , it seems that Apache serves some cached page.Seems it shows some kind of

Re: Tomcat JK connection problem ?

2009-09-28 Thread Rainer Jung
:51, Ashika Umanga Umagiliya wrote: I managed to save the JK log file when the error occurred.Last request information in in log file contains the details for the issue. I have attached the logfile with this. Thanks in advance, umanga Rainer Jung wrote: On 28.09.2009 11:08, Ashika Umanga

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-26 Thread Rainer Jung
On 25.09.2009 21:29, Strickland, Lawrence P wrote: bash-3.00# file libmod_jk.a libmod_jk.a: archive (big format) What is this file? What am I looking for? Unfortunately I was hoping for a more self-explanatory output. I don't have an AIX system at hand right now, so I can't tell, whether

Re: Apache Tomcat, IIS, ISAPI

2009-09-25 Thread Rainer Jung
On 25.09.2009 08:06, Buchner, Joerg [T0I] (VW Sachsen) wrote: Hi, i've got an Problem. We have an Microsoft IIS 6.0 with an Apache Tomcat 5.5.27 with IIS ISAPI 1.2.28. (AMD64). The Website use Integrated Windows Authentication. The SourceCode Files on the server are protected by

Re: Clustering Question...

2009-09-25 Thread Rainer Jung
On 25.09.2009 09:01, Darren Kukulka wrote: Thanks for the suggestions Chris. Unfortunately, the memory that was exhausted was the OldGen heap area, not PermGen, which doesn't show up in the Catalina log. The heap allocation is quite hefty as this is a 64-bit environment...we need to get

Re: Clustering Question...

2009-09-25 Thread Rainer Jung
is exhausted and that's the reason for the slowness, although if it were exhausted, you would either get an OutOfMemoryError or GC has to kick in. The picture is not complete here. Regards, Rainer -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: 25 September

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-25 Thread Rainer Jung
297 Sep 25 08:40 ./native/apache-2.0/mod_jk.lo 1770741 -rw-r--r-- 1 root system 756 Sep 25 08:40 ./native/apache-2.0/mod_jk.la bash-3.00# ./buildconf.sh bash-3.00# pwd bash-3.00# -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent

Re: Time taken in millis in ExtendedAccessLogValve

2009-09-24 Thread Rainer Jung
On 24.09.2009 10:32, Xavier wrote: Hello, First of all, sorry if this question was alerady asked... We'd like to log the taken in milliseconds by tomcat (5.5 for now, 6.0 later) and our app to serve requests. The ExtendedAccessLogValve provides a nice date/time output format, but the

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Rainer Jung
Hi Lawrence, On 24.09.2009 22:48, Strickland, Lawrence P wrote: This is the output of my build run. So apparently I am building version 1.2.28 with XLC 10.1 and Apache 2.2.13 #./httpd -v Server version: Apache/2.2.13 (Unix) Server built: Sep 22 2009 13:27:47 # gmake -v GNU Make 3.80

Re: Has anyone been successful building mod_jk on AIX 6.1 ?

2009-09-24 Thread Rainer Jung
, you can put it into the modules folder of httpd. Actually you can put it anywhere you like, but if you use the relative path modules/... in the LoadModule directive, then it has to be in the modules directory of httpd. Regards, Rainer From: Rainer Jung

Re: Building a mod_jk that is webdav-enabled

2009-09-23 Thread Rainer Jung
On 23.09.2009 12:16, Mark Thomas wrote: Arne v.Irmer wrote: Hi, I try to connect a webdav enabled servlet via ajp and mod_jk. But every webdav-method is rejected (Status 405) via ajp and accepted via http. What are the tricks in compiling mod_jk with enabled webdav methods? None. AJP

Re: Building a mod_jk that is webdav-enabled

2009-09-23 Thread Rainer Jung
On 23.09.2009 12:27, Arne v.Irmer wrote: Hi Mark, your right. The mod_jk coming with SuSE has turned of webdav methods. But building mod_jk from source solves the problem. Very interesting. How did you find out? Whar are they doing exactly (config or changing source code)? Regards, Rainer

Re: Tomcat hangs on startup

2009-09-22 Thread Rainer Jung
On 22.09.2009 10:29, Mark Thomas wrote: RogerV wrote: I'm running Tomcat 6.0.18 on Debian Linux (Lenny). Tomcat is configured to start automatically through the init process, but it hangs using 95+% of the CPU and won't respond to /etc/init.d/tomcat stop. I have to kill the process. I've

Re: Multiple JSESSIONIDs different subdomain

2009-09-21 Thread Rainer Jung
On 21.09.2009 00:45, Christopher Schultz wrote: Theparanoidone, On 9/18/2009 11:45 PM, Theparanoidone Theparanoidone wrote: Thank you; that's pretty close to what I am looking for (as it relates to mod-jk): As a follow up question, it seems safe to assume that tomcat will receive the

Re: tomcat6 + apache 2.2 mod_jk - Help

2009-09-18 Thread Rainer Jung
On 18.09.2009 19:29, Paul S wrote: I have installed mod_jk 1.2.28 and have tomcat 6 installed on linux. i created worker.prop file under apache2. workers.properties - worker.list=wkr01 worker.wkr01.type=ajp13 worker.wkr01.host=localhost worker.wkr01.port=8009

Re: Multiple JSESSIONIDs different subdomain

2009-09-18 Thread Rainer Jung
On 19.09.2009 01:29, Theparanoidone Theparanoidone wrote: Greetings~ We have cookies in use on our site for the following domains: ..rootdomain.com and ..subdomain.rootdomain.com When visiting a portion of our site .subdomain.rootdomain.com ... ... two cookies are returned from the

Re: environment variables for hostname and context name

2009-09-18 Thread Rainer Jung
On 19.09.2009 02:18, Chris Cheshire wrote: I'm reconfiguring the logging for my tomcat installation (6.0.20) to use logback (instead of log4j) for the server logging so I can split out error messages on a per host basis. I see that catalina.home is exposed as an environment var and usable in

<    2   3   4   5   6   7   8   9   10   11   >