From usersdmcfarland@example.org Wed Oct 01 00:14:09 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 87366 invoked from network); 1 Oct 2008 00:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 00:14:08 -0000 Received: (qmail 26145 invoked by uid 500); 1 Oct 2008 00:13:54 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 26113 invoked by uid 500); 1 Oct 2008 00:13:54 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 26102 invoked by uid 99); 1 Oct 2008 00:13:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 17:13:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 00:12:50 +0000 Received: by nf-out-0910.google.com with SMTP id c10so137014nfd.44 for <dmcfarland@example.org>; Tue, 30 Sep 2008 17:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fOvzjCU74zXBB6f5TkMZe/+83YW3f3uYaT+SrWn0s4w=; b=Clt1c2ws5jKdUtoYsx+tOMdnZdsdhPTANFA+2zPx8UkAiQQtJAhKqvw6pbDfyZrZZK HKTt7Xq6frpTpn6apeXuHBTIemmxFPu7Sw7Sicuuh8sM9NR57nL44FnYrk9m0AtiZbZQ As0PM+ms1XTjUfrP4JoQViNONn7JGXEhLRvj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=nQM+XaMoX7O9aq+Nsk2nHysR1/RlWjAIPVrsb8UAXymKHYdbZy3h18/FwTQKqcZ9Qk woOWrGH+4sG4fcCVHNZ6uoAQUGZTzceuaF1ABF7xktWiFBFAbE04dIpv5TYWRcaQvzfc 47O0oOI3bgyR0Mjup7e3olNkqZFZNquMaur9E= Received: by 83.161.120.155 with SMTP id v2mr8744856ebc.147.1222819985633; Tue, 30 Sep 2008 17:13:05 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 30 Sep 2008 17:13:05 -0700 (PDT) Message-ID: <dmcfarland@example.org> Date: Wed, 1 Oct 2008 04:13:05 +0400 From: "Konstantin Kolinko" <dmcfarland@example.org> To: "Tomcat Users List" <dmcfarland@example.org> Subject: Re: Tomcat outputs php to stderr In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <dmcfarland@example.org> <019c01c9227f$5799ad90$0300000a@animal> <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org How did you install your PHP 5.2.6? Following the instructions from that "blog.taragana.com" page that you mentioned, I should have found php5servlet.dll and phpsrvlt.jar in pecl-5.2.6-Win32.zip. Those files were there in 5.0.2, but they are absent in 5.2.6. Also, I cannot find the sources for the servlet in the official 5.0.2 sources .tar.gz file, but some are available here: http://cvsweb.php.net/viewvc.cgi/pecl/servlet/ Thus far: 1. How you installed them? Maybe there is some version mismatch. 2. Maybe there is some reason why those files are no more bundled with 5.2.6. 3. If those are the sources - The servlet calls into native servlet.c, and the rest is php-specific. >From the sources (servlet.java, rev.1.21): 1. The code is experimental / alpha, so you should be prepared. 2. The servlet seems to be not thread-safe. It stores request, response in its local fields. IIRC, "implements javax.servlet.SingleThreadModel" must be added to such a servlet to avoid concurrent calls (as mentioned in SRV.2.2 chapter of the Java Servlets spec 2.5) . Another way would be to mark the service() method of the servlet as "synchronized" one. It is hard to believe, that no one noticed these issues, but maybe those are wrong sources, or I am missing something, or nobody is using them and thus no one cares. All that is OK for experimental code. 3. The writing of result is done in method servlet.write(String), try { response.getWriter().print(data); } catch (IOException e) { e.printStackTrace(System.err); } If you are seeing the output text (as you mentioned), and not exceptions and their stack traces, then maybe php just does not call this method and writes all output to the stderr handle? If so, then may be there were some changes in the bridge / sapi of PHP, and the code / binaries are not compatible... All the above was just out of my curiosity, trying to find the sources... Best regards, Konstantin Kolinko 2008/9/30 Serge Fonville <dmcfarland@example.org>: > Thank you so far, I will definitely look into Quercus. > > Still, I would like to understand why output is sent to stderr and if it can > be solved (I recall running PHP and tomcat in the past) without problems > > > On Tue, Sep 30, 2008 at 12:04 AM, Johnny Kewl <dmcfarland@example.org> wrote: > >> >> ----- Original Message ----- From: "Serge Fonville" < >> dmcfarland@example.org> >> To: <dmcfarland@example.org> >> Sent: Monday, September 29, 2008 6:00 PM >> Subject: Tomcat outputs php to stderr >> >> >> >> Hi, >>> I am developing a ticket system which should use servlets to connect to >>> the >>> various resources. >>> Currently I am a php developer and busy to learn JSP/TLD/Servlets >>> I installed Tomcat 6.0.18 with PHP 5.2.6 on Windows Vista Business (the >>> production server will be running either Gentoo or CentOS). >>> >>> Installation went fine, no errors. just one thing I couldn't resolve. >>> All output generated by php goes directly to the stderr log file instead >>> of >>> the browser (JSP and servlets work fine) >>> >>> I used >>> >>> http://blog.taragana.com/index.php/archive/running-php-5x-on-windows-using-tomcat-4x-or-5x/ >>> and http://wiki.apache.org/tomcat/UsingPhp to configure the two. >>> >>> I started reading about listeners, log4j and servlet mappings. >>> This seemed over the top to me, so I decided to just ask the question >>> here. >>> >>> Any help is greatly appreciated >>> >> >> Dont do it this way... run PHP on Apache httpd... its the PHP container... >> and do your servlet stuff in TC... its a good servlet container. >> Then put Apache httpd in front of TC... read up on the JK connector... and >> then to the browser its *one system*.... >> Thats how they do it ;) >> >> If you insist on wanting the Java PHP layer... Resin is probably the >> best... they not calling into a PHP engine, they rewrote it in Java... >> whether they up to date with all modules is the question? >> >> Anyway... just trying to show you that you dont have to change a thing... >> join em ;) >> > --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 00:57:52 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 33061 invoked from network); 1 Oct 2008 00:57:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 00:57:52 -0000 Received: (qmail 59912 invoked by uid 500); 1 Oct 2008 00:57:34 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 59876 invoked by uid 500); 1 Oct 2008 00:57:34 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 59863 invoked by uid 99); 1 Oct 2008 00:57:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 17:57:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nf-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 00:56:33 +0000 Received: by nf-out-0910.google.com with SMTP id c10so140930nfd.44 for <dmcfarland@example.org>; Tue, 30 Sep 2008 17:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YuaK59MbkmjCccHjj2mKIRBrFoy2MZs90Pgvz7jNJYY=; b=USj7arxnOPZE5Zwlwt8CIaOQGXeJGhQdObzK2XGCRnEn9wK2V00/YcF5qjNzPGcyQI t/aVwRYD20xIcrPZz+zT0NM3q5z9jm3qryNGxXxC3WO/DptZUggG0F2HfRKnRORN57kK msXgvIcyR5ioir103BQ1m6gmznHX7tmRoFGbA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=IY9433qRdNOBuSVCCoeHc5UsFsqIBXuLYbUefS4Fpa21KCjLV3mO9nhKwYVa5k1fXu vdIXeX236uCRrO0QZThU1ojlVDoSQ+1GQSAsj4jRwWkWeO+uYx6dhJwG7Y0trHIkD3ef sfFbxpFFMhQV68PPV4QGEAktqsOPuwYP+XleA= Received: by 83.161.120.155 with SMTP id s17mr8837552ebc.27.1222822609257; Tue, 30 Sep 2008 17:56:49 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 30 Sep 2008 17:56:49 -0700 (PDT) Message-ID: <dmcfarland@example.org> Date: Wed, 1 Oct 2008 04:56:49 +0400 From: "Konstantin Kolinko" <dmcfarland@example.org> To: "Tomcat Users List" <dmcfarland@example.org> Subject: Re: Tomcat stops with error after calling setclasspath.bat In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org 2008/9/30 Bai Shen <dmcfarland@example.org>: > Okay, if I keep this up I'll be able to fit both feet in my mouth. > > Apparently setclasspath.bat does see the variables set in setenv.bat It was > my troubleshooting method that was faulty. > > Basically, the problem boils down to the fact that right after > setclasspath.bat is call, there's the following line in catalina.bat > > if errorlevel 1 goto end > > That's the last line I see before everthing stops. I had assumed there was a > problem with the setclasspath.bat file, but the last line from that is goto > end, which AFAIK, skips over the exit /b 1 > > So for some reason, on Windows 2000 and 2003 Server only, Tomcat won't > start. I get no dmcfarland@example.org. I had to remove the echo off statements to > see that it was stopping after setclasspath.bat > > Hopefully this will be the last of me sticking my foot in my mouth. :) > > On Tue, Sep 30, 2008 at 1:37 PM, Bai Shen <dmcfarland@example.org> wrote: > >> Okay, I feel silly now. I jus realized that XP returns Windows_NT from the >> OS variable. And my Tomcat install works fine in XP. So it's apparently >> something besides the setlocal. Which leaves me back at square one. :( >> >> Any suggestions? >> >> >> On Tue, Sep 30, 2008 at 1:10 PM, Bai Shen <dmcfarland@example.org> wrote: >> >>> I use setenv.bat to point tomcat to my JRE and set some other options. >>> However, when running on an OS that returns Windows_NT from the OS >>> environment variable, Tomcat sets all of the batch files to setlocal. >>> Therefore, when setclasspath.bat is run, it doesn't see any of the variables >>> that were set by setenv.bat Now I know I could set them globally for the >>> machine or user, but I'd rather not do that. I also don't want to edit the >>> tomcat bat files to turn off the setlocal commands. >>> >>> Speaking of which, does anyone know what the reasoning behind the setlocal >>> is in the first place? >>> >>> Any advice would be appreciated. TIA. >>> >> > You should mention what tomcat version you are trying to use. If it is not the latest one, try *.bat files from the latest version. I reckon that I once stumbled into misbehaving bat files, that were also complaining about some wrong goto. I fixed them in couple of minutes by adding some blank lines or removing trailing spaces -- I do not remember how exactly, and what were those files, and I do not see any remnants lying around. I suggest you to set "echo on" in all those bat files and capture their output in a file. Maybe there are some oddities there, like too many quotes, backslashes, expanded variables. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 02:42:20 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 26374 invoked from network); 1 Oct 2008 02:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 02:42:20 -0000 Received: (qmail 17989 invoked by uid 500); 1 Oct 2008 02:42:06 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 17953 invoked by uid 500); 1 Oct 2008 02:42:06 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 17942 invoked by uid 99); 1 Oct 2008 02:42:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 19:42:06 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp-out3.blueyonder.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 02:41:04 +0000 Received: from [83.161.120.155] (helo=anti-virus03-08) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1Kkrbe-0003kU-Hs for dmcfarland@example.org; Wed, 01 Oct 2008 03:38:26 +0100 Received: from 651-258-2216.cable.ubr05.gate.blueyonder.co.uk ([83.161.120.155] helo=[83.161.120.155]) by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52) id 1Kkrbe-0003RV-24 for dmcfarland@example.org; Wed, 01 Oct 2008 03:38:26 +0100 Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 03:38:26 +0100 From: John Gardner <dmcfarland@example.org> Organization: Tagish Ltd. User-Agent: Thunderbird 83.161.120.155 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: Multiple Time Zones on one Tomcat instance? References: <dmcfarland@example.org> <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Caldarale, Charles R wrote: >> From: John Gardner [mailto:dmcfarland@example.org] >> Subject: Multiple Time Zones on one Tomcat instance? >> >> Is there any way we can serve mutliple webapps from a single Tomcat >> instance, with mutliple timezones? > > Tomcat itself doesn't care about time zones, and a single JVM instance will only use one time zone at a time (no pun intended). You could run two instances of Tomcat, one for the French, and one for the less picky rest of the world. Other than that, you'd have to make the adjustments in the webapp itself to be cognizant of each client's time preference. > Thanks Charles So, using two instances of Tomcat on a single host OS would also involve installing two JVMs and each Tomcat instance using a different JVM? Would this be easy to do? I was always under the impression that you could only ever have one Tomcat running per machine at any one time due to the CATALINA_HOME env variable getting confused as to which instance of Tomcat it is actually using? Thanks John --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 02:43:28 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 27309 invoked from network); 1 Oct 2008 02:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 02:43:28 -0000 Received: (qmail 20780 invoked by uid 500); 1 Oct 2008 02:43:15 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 20748 invoked by uid 500); 1 Oct 2008 02:43:15 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 20737 invoked by uid 99); 1 Oct 2008 02:43:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 19:43:15 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp-out3.blueyonder.co.uk) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 02:42:13 +0000 Received: from [83.161.120.155] (helo=anti-virus03-07) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1Kkrco-0003xe-HX for dmcfarland@example.org; Wed, 01 Oct 2008 03:39:38 +0100 Received: from 651-258-2216.cable.ubr05.gate.blueyonder.co.uk ([83.161.120.155] helo=[83.161.120.155]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1Kkrco-0000Jf-3Q for dmcfarland@example.org; Wed, 01 Oct 2008 03:39:38 +0100 Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 03:39:38 +0100 From: John Gardner <dmcfarland@example.org> Organization: Tagish Ltd. User-Agent: Thunderbird 83.161.120.155 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: Multiple Time Zones on one Tomcat instance? References: <dmcfarland@example.org> <dmcfarland@example.org> <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org John5342 wrote: > I am pretty sure there are jsp features to do this but if not it would be > quite simple to create a new tag that checks the locale of the request and > adjust the time returned to reflect the locale. Then just use that tag > anywhere the time is needed. > Thanks John It's what I suspected... the app developers should be coping with it, so I'll pass it back to them. Cheers John --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 03:41:10 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 66516 invoked from network); 1 Oct 2008 03:41:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 03:41:10 -0000 Received: (qmail 43890 invoked by uid 500); 1 Oct 2008 03:40:56 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 43854 invoked by uid 500); 1 Oct 2008 03:40:56 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 43843 invoked by uid 99); 1 Oct 2008 03:40:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 20:40:56 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO ctb-mesg-1-2.saix.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 03:39:53 +0000 Received: from animal (dsl-243-127-29.telkomadsl.co.za [83.161.120.155]) by ctb-mesg-1-2.saix.net (Postfix) with SMTP id 895EF1DE8 for <dmcfarland@example.org>; Wed, 1 Oct 2008 05:39:47 +0200 (SAST) Message-ID: <002301c92377$7d969230$0300000a@animal> From: "Johnny Kewl" <dmcfarland@example.org> To: "Tomcat Users List" <dmcfarland@example.org> References: <dmcfarland@example.org> Subject: Re: Dynamically adding a resource to a context Date: Wed, 1 Oct 2008 05:40:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 080805-0, 2008/08/05), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- From: "Scott Dunbar" <dmcfarland@example.org> To: <dmcfarland@example.org> Sent: Tuesday, September 30, 2008 10:22 PM Subject: Dynamically adding a resource to a context > Hi all, > I'm honestly not positive that what I want to do is a good idea but the > basic concept is that I want to dynamically add a Resource (a JNDI JDBC > DataSource) to a Context. The idea is that I will be dynamically creating > databases for new users and want to have a database connection pool for > each user. > > I've been able to simply hand modify > ${catalina.home}/conf/Catalina/localhost/contextname.xml and seen that I > can now access the new DataSource. What I'm looking for is a programmatic > way to do the same thing, short of parsing and rewriting the XML myself. > I've dug though the MBean classes and am honestly a bit confused. > > Is there something that I'm missing? This is Tomcat 6.0.18 under Linux > and/or Windows. > > Thanks for any help. Scott, dont think so, I think the pools are created either as Tomcat starts or as the servlets starts... I suppose you could write your own JNDI dB pool class as decribed here... http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html By definition, if you giving each user their own dB... a single connection, its going to be some kind of user pool, not a connection pool... Unusual I must say... possibly a user table in a dB is a better way to go... but its your app. ... this is what you need to know... The INIT function in a servlet runs once when it starts... and its quite easy and possible to use a dB pool without using JNDI... ie many people use their own, or a third party dB pool and usually then dont use JNDI because it becomes a self contained war... especially in cases where there is an embedded dB... In your case you would set up your user pool in INIT... use normal JDBC... and use it in the servlet. Then run it against the logged in user.... or alternatively store connections as session cookies.... will then also need a listener... It really depends on how hot your JDBC is ;) these pools are pretty smart things... and make suer you understand that a servlet is multi threaded... Good Luck... --------------------------------------------------------------------------- HARBOR : http://www.kewlstuff.co.za/index.htm The most powerful application server on earth. The only real POJO Application Server. See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm --------------------------------------------------------------------------- --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 07:40:40 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 86268 invoked from network); 1 Oct 2008 07:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 07:40:39 -0000 Received: (qmail 75247 invoked by uid 500); 1 Oct 2008 07:40:26 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 75217 invoked by uid 500); 1 Oct 2008 07:40:26 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 75206 invoked by uid 99); 1 Oct 2008 07:40:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 00:40:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO popeye.combios.es) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 07:39:24 +0000 Received: from [83.161.120.155] (p549EA4D1.dip0.t-ipconnect.de [83.161.120.155]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id m917dra6030632 for <dmcfarland@example.org>; Wed, 1 Oct 2008 09:39:53 +0200 Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 09:37:52 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= <dmcfarland@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: Multiple Time Zones on one Tomcat instance? References: <dmcfarland@example.org> <dmcfarland@example.org> <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on popeye.combios.es X-Virus-Scanned: ClamAV 0.92.1/8363/Wed Oct 1 05:24:25 2008 on popeye.combios.es X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-97.9 required=2.5 tests=RCVD_IN_PBL, RCVD_IN_SORBS_DUL,USER_IN_WHITELIST autolearn=no version=3.2.3 John Gardner wrote: > Caldarale, Charles R wrote: >>> From: John Gardner [mailto:dmcfarland@example.org] >>> Subject: Multiple Time Zones on one Tomcat instance? >>> >>> Is there any way we can serve mutliple webapps from a single Tomcat >>> instance, with mutliple timezones? >> Tomcat itself doesn't care about time zones, and a single JVM instance will only use one time zone at a time (no pun intended). You could run two instances of Tomcat, one for the French, and one for the less picky rest of the world. Other than that, you'd have to make the adjustments in the webapp itself to be cognizant of each client's time preference. >> > > > Thanks Charles > > So, using two instances of Tomcat on a single host OS would also involve > installing two JVMs and each Tomcat instance using a different JVM? > > Would this be easy to do? I was always under the impression that you > could only ever have one Tomcat running per machine at any one time due > to the CATALINA_HOME env variable getting confused as to which instance > of Tomcat it is actually using? > I think there is a bit of confusion between "installation/installed" and "instance". To express it in lay words : Terms like "installation directory", CATALINA_HOME, JAVA_HOME relate to the disk directory where that piece of software's *files* are installed. For example, for Tomcat, CATALINA_HOME might be /usr/share/tomcat5.5 or C:/Tomcat5.5. Under that directory, you would find subdirectories like "bin" or "common" (where the actual Tomcat program files are located). On the other hand, nothing stops you from running several "instances" of these programs simultaneously, in parallel, each instance having its own separate "run directory" and parameters. This "run directory" for Tomcat is known as CATALINA_BASE. You could for instance start two separate instances of Tomcat, which would both use the program files located in CATALINA_HOME/bin, but listen on different ports and use a different set of webapps. In that case, the CATALINA_HOME of each instance would still be the same (allowing them to find the programs to run), but their *CATALINA_BASE* would be set differently; each of these Tomcat instances would look for its own configuration files in CATALINA_BASE/conf and, by default, each one would look in its own CATALINA_BASE/webapps directory for its webapps. By default, there is only one instance of Tomcat running, and CATALINA_BASE is, by default, the same as CATALINA_HOME. But that ain't necessarily so. The same happens with the JVM : you only need to install it once, no matter how many separate instances you want to run. You should just make sure that you start each instance with its own appropriate set of parameters. In the case of the JVM, this is not done via environment values such as CATALINA_HOME and CATALINA_BASE, but usually via "-D" options on the java command-line. Hope this helps. --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 08:30:15 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 11382 invoked from network); 1 Oct 2008 08:30:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 08:30:14 -0000 Received: (qmail 23540 invoked by uid 500); 1 Oct 2008 08:30:02 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 23433 invoked by uid 500); 1 Oct 2008 08:30:01 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 23422 invoked by uid 99); 1 Oct 2008 08:30:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 01:30:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.semantico.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 08:29:00 +0000 Received: from mail.semantico.net (localhost.localdomain [83.161.120.155]) by mail.semantico.net (Postfix) with ESMTP id 5C79AB765F for <dmcfarland@example.org>; Wed, 1 Oct 2008 09:29:33 +0100 (BST) Received: from melange.semantico.net (fw2-dmz.semantico.net [83.161.120.155]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.semantico.net (Postfix) with ESMTP id 4D90EB7646 for <dmcfarland@example.org>; Wed, 1 Oct 2008 09:29:33 +0100 (BST) Message-Id: <dmcfarland@example.org> From: Dominic Mitchell <dmcfarland@example.org> To: "Tomcat Users List" <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Dynamically change log4j.xml Date: Wed, 1 Oct 2008 09:29:33 +0100 References: <dmcfarland@example.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org On 30 Sep 2008, at 17:20, Mohit Anchlia wrote: > Is there a way to dynamically change the logging level of log4j.xml > in tomcat? Not builtin. But you can write some code in a servlet to change the logging level. e.g. Logger l = Logger.getLogger("com.mycompany"); l.setLevel(Level.DEBUG); -Dom --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 09:50:57 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 52869 invoked from network); 1 Oct 2008 09:50:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 09:50:57 -0000 Received: (qmail 88743 invoked by uid 500); 1 Oct 2008 09:50:42 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 88719 invoked by uid 500); 1 Oct 2008 09:50:42 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 88705 invoked by uid 99); 1 Oct 2008 09:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 02:50:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO s15243851.onlinehome-server.info) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 09:49:37 +0000 Received: (qmail 5081 invoked from network); 1 Oct 2008 10:50:08 +0100 Received: from 78-86-122-68.zone2.bethere.co.uk (HELO Phoenix.config) (83.161.120.155) by s15243851.onlinehome-server.info with SMTP; 1 Oct 2008 10:50:08 +0100 Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 10:50:08 +0100 From: Pid <dmcfarland@example.org> Reply-To: dmcfarland@example.org Organization: Pid Inc User-Agent: Thunderbird 83.161.120.155 (Macintosh/20080914) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: Dynamically adding a resource to a context References: <dmcfarland@example.org> <002301c92377$7d969230$0300000a@animal> In-Reply-To: <002301c92377$7d969230$0300000a@animal> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Johnny Kewl wrote: > > ----- Original Message ----- From: "Scott Dunbar" <dmcfarland@example.org> > To: <dmcfarland@example.org> > Sent: Tuesday, September 30, 2008 10:22 PM > Subject: Dynamically adding a resource to a context > > >> Hi all, >> I'm honestly not positive that what I want to do is a good idea but >> the basic concept is that I want to dynamically add a Resource (a JNDI >> JDBC DataSource) to a Context. The idea is that I will be dynamically >> creating databases for new users and want to have a database >> connection pool for each user. >> >> I've been able to simply hand modify >> ${catalina.home}/conf/Catalina/localhost/contextname.xml and seen that >> I can now access the new DataSource. What I'm looking for is a >> programmatic way to do the same thing, short of parsing and rewriting >> the XML myself. I've dug though the MBean classes and am honestly a >> bit confused. >> >> Is there something that I'm missing? This is Tomcat 6.0.18 under >> Linux and/or Windows. >> >> Thanks for any help. The code for the JNDI Context in Tomcat is available in various classes here, or thereabouts: org.apache.naming.* org.apache.naming.factory.* org.apache.naming.java.* org.apache.naming.resources.* JNDI resources are only available AFAIK (via the configured name) from objects inside a web application Context (not the same as a JNDI context). Resources configured in server.xml, context.xml are available via a different route in a Valve, though I don't think this is relevant here. It seems complicated to try and hook your pools into this though and I don't know if TC will let you store an object in java:/comp/env/jdbc, so you may prefer to try the following... (I assume here, that you're able to configure the pool per client from a properties file or data persisted elsewhere, so that it recreates itself after restarts etc.) Tomcat's connection pool is a repackaged version of the Commons Database Connection Pool (DBCP): http://commons.apache.org/dbcp/ The following seems like a reasonably complete tutorial on using Commons Pool/DBCP to create and store a JNDI Datasource. Look out for any differences in more recent versions of Pool/DBCP. http://today.java.net/pub/a/today/2005/11/17/app-managed-datasources-with-commons-dbcp.html Now you only need to decide how and when to insert the pool, but a servlet context listener would probably do. It's a simple minimum requirement for any user/developer to include in their app and would allow you to code the setup/tear-down on a per user basis without exposing that code to the user. Downside is that it would create a pool per web-app. Do your users have a per host or per application pool? p > Scott, dont think so, I think the pools are created either as Tomcat > starts or as the servlets starts... > I suppose you could write your own JNDI dB pool class as decribed here... > http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html > > By definition, if you giving each user their own dB... a single > connection, its going to be some kind of user pool, not a connection > pool... A single database != a single connection A user pool != a connection pool The OP could have a server farm, and the per user database(s) be distributed over lots of different physical servers. > Unusual I must say... possibly a user table in a dB is a better way to > go... but its your app. > > ... this is what you need to know... > > The INIT function in a servlet runs once when it starts... and its quite > easy and possible to use a dB pool without using JNDI... > ie many people use their own, or a third party dB pool and usually then > dont use JNDI because it becomes a self contained war... especially in > cases where there is an embedded dB... > > In your case you would set up your user pool in INIT... use normal > JDBC... and use it in the servlet. This isn't the appropriate solution - as it would require the OP as system admin to insert code into all of his users servlets. I suspect the choice of JNDI as a repository was aimed at avoiding this. > Then run it against the logged in user.... or alternatively store > connections as session cookies.... will then also need a listener... You can't store a connection as a session cookie. > It really depends on how hot your JDBC is ;) these pools are pretty > smart things... and make suer you understand that a servlet is multi > threaded... > --------------------------------------------------------------------------- > HARBOR : http://www.kewlstuff.co.za/index.htm > The most powerful application server on earth. > The only real POJO Application Server. > See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm > --------------------------------------------------------------------------- > > --------------------------------------------------------------------- > To start a new topic, e-mail: dmcfarland@example.org > To unsubscribe, e-mail: dmcfarland@example.org > For additional commands, e-mail: dmcfarland@example.org > > --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 11:53:54 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 12811 invoked from network); 1 Oct 2008 11:53:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 11:53:54 -0000 Received: (qmail 7291 invoked by uid 500); 1 Oct 2008 11:53:40 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 7250 invoked by uid 500); 1 Oct 2008 11:53:39 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 7237 invoked by uid 99); 1 Oct 2008 11:53:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 04:53:39 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mailserver.kippdata.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 11:52:38 +0000 Received: from [83.161.120.155] (larix [83.161.120.155]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id m91Br8vr005980 for <dmcfarland@example.org>; Wed, 1 Oct 2008 13:53:09 +0200 (CEST) Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 13:53:08 +0200 From: Rainer Jung <dmcfarland@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20070802) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: Tomcat getting insufficient POST data References: <dmcfarland@example.org> <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Stephen Nelson-Smith wrote: > On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith > <dmcfarland@example.org> wrote: > >> Testing: >> >> * Submitting straight to one of the new tomcat 6.0.16 machines, over >> http, works without fail - the XML is parsed. > > Ok.... so now it transpires that actually direct http to Tomcat never > worked more than once, after a tomcat restart either. So the only > thing that works is the mod_jk setup. > > This makes me very suspicious - why would it work only once? This reminds me of some problem we found when fixing BZ 44494. Could you please try with 6.0.18? Your symptoms don't really fit 44494 exactly, but there's a chance 6.0.18 fixed it. Regards, Rainer --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 12:08:57 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 24393 invoked from network); 1 Oct 2008 12:08:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 12:08:57 -0000 Received: (qmail 34543 invoked by uid 500); 1 Oct 2008 12:08:43 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 34519 invoked by uid 500); 1 Oct 2008 12:08:43 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 34508 invoked by uid 99); 1 Oct 2008 12:08:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 05:08:43 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mailserver.kippdata.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:07:41 +0000 Received: from [83.161.120.155] (larix [83.161.120.155]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id m91C0i3H006235 for <dmcfarland@example.org>; Wed, 1 Oct 2008 14:00:44 +0200 (CEST) Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 14:00:44 +0200 From: Rainer Jung <dmcfarland@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20070802) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: JK and IIS - troubles? References: <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org br1 wrote: > Dear all, > > I am experiencing a weird problem happening between IIS and Tomcat: it seems > that the JK connector is hanging IIS. > > A badly behaving Tomcat app is filling up AJP connections due to some DB > connection problems. Nothing strange so far, we had these kinds of problems > already, but this time this is causing IIS to hang. > Simply restarting the failing app's Tomcat instance causes IIS to start > again like it was simply frozen. > Instead, restarting IIS makes obviously the whole site restart, except for > the failing application. > > I struggled with this problem for the past months on two servers, and just > configured an additional IIS on our dedicated Tomcat machine with the same > results. Configuration is as follows: > IIS 5 > JK 1.2.26 (/maybe some other 1.2.2x version but cannot be sure) You and we need to be sure. Set you JK log level to at least info. All relatively new JK versions will log their version in the log file during startup. > Tomcat 5.5.9 / 5.5.27 > JDK 1.5.0_12 / 1.5.0_16 / 1.6.0_07 > About 40 workers and Tomcats > > Since we use Tomcat since version 3 and Jk since before year 2k - sorry > Linux guys - on Windows platforms without a single serious problem, I am a > bit sorry not to be able to solve this one by myself now. > Clearly the application needs patching, and the affected Tomcat is > restarting hourly now, but to me the JK connector should be fixed if it is > causing this problem. > > Kindly let me know what should I provide in order to investigate about > this. 1) Finding the real reason: Assuming some requests send to your Tomcat simply get stuck and do not return fast enough, you'll need to take thread dumps of Tomcat and dmcfarland@example.org. Take the dumps when the problem is there and take more than one, e.g. 3 dumps each 3 seconds apart from the previous one. 2) Making IIS/mod_jk more robust against the problem: Use timeouts as described on page http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html Those will not make your app work, when in fact requests in Tomcat get stuck and block all available connector threads, but it will at least keep iis/mod_jk running. Regards, Rainer --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 12:10:58 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 25399 invoked from network); 1 Oct 2008 12:10:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 12:10:58 -0000 Received: (qmail 41166 invoked by uid 500); 1 Oct 2008 12:10:45 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 41137 invoked by uid 500); 1 Oct 2008 12:10:45 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 41126 invoked by uid 99); 1 Oct 2008 12:10:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 05:10:45 -0700 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:09:42 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <dmcfarland@example.org>) id 1Kl0X2-0007dV-Ku for dmcfarland@example.org; Wed, 01 Oct 2008 05:10:16 -0700 Message-ID: <dmcfarland@example.org> Date: Wed, 1 Oct 2008 05:10:16 -0700 (PDT) From: sthirumalai <dmcfarland@example.org> To: dmcfarland@example.org Subject: Tomcat servlet instantiation error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dmcfarland@example.org X-Virus-Checked: Checked by ClamAV on apache.org We build an exe which will have tomcat, jdk and our code in it. When we install that in some system it installs perfectly but while accessing the service it throws servlet instantiation error. This also happens for the first time. If we restart that system everything works well. What may be the issue? 2008-09-24 14:42:52 StandardContext[]Marking servlet CMLogin as unavailable 2008-09-24 14:42:53 StandardWrapperValve[CMLogin]: Allocate exception for servlet CMLogin javax.servlet.ServletException: Error instantiating servlet class dmcfarland@example.org(StandardWrapper.java:1011) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534) ----- Root Cause ----- dmcfarland@example.org.<clinit>(CMLoginServlet.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1002) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534) Caused by: dmcfarland@example.org.<init>(FileInputStream.java:103) at java.io.FileInputStream.<init>(FileInputStream.java:66) at java.io.FileReader.<init>(FileReader.java:41) at data.UserFile.ReadFile(UserFile.java:76) at model.UserCollection.<clinit>(UserCollection.java:17) ... 31 more -- View this message in context: http://www.nabble.com/Tomcat-servlet-instantiation-error-tp19759091p19759091.html Sent from the Tomcat - User mailing list dmcfarland@example.org. --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 12:49:21 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 55342 invoked from network); 1 Oct 2008 12:49:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 12:49:21 -0000 Received: (qmail 93916 invoked by uid 500); 1 Oct 2008 12:49:07 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 93879 invoked by uid 500); 1 Oct 2008 12:49:07 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 93868 invoked by uid 99); 1 Oct 2008 12:49:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 05:49:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.resfeber.se) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:48:06 +0000 Received: from localhost (unknown [83.161.120.155]) by mail.resfeber.se (Postfix) with ESMTP id C44DCF80F1 for <dmcfarland@example.org>; Wed, 1 Oct 2008 12:48:08 +0000 (UTC) X-Virus-Scanned: dmcfarland@example.org Received: from mail.resfeber.se ([83.161.120.155]) by localhost (mail2.resfeber.se [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id YJSh2JcYdEtj for <dmcfarland@example.org>; Wed, 1 Oct 2008 14:48:02 +0200 (CEST) Received: from [83.161.120.155] (unknown [83.161.120.155]) by mail.resfeber.se (Postfix) with ESMTP id E9657F8105 for <dmcfarland@example.org>; Wed, 1 Oct 2008 14:48:01 +0200 (CEST) Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 14:48:01 +0200 From: =?ISO-8859-1?Q?M=E5rten_Svantesson?= <dmcfarland@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20080925) MIME-Version: 1.0 To: dmcfarland@example.org Subject: Error 503 on shutting down instance of failover cluster Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, This is actually a question regarding the combination of JBoss 4.0.2RC1 with Tomcat 5.0.28 as a component, and Apache 2.2.3 with mod_proxy_ajp. I hope this is the correct forum. To get failover we have two machines, both running Apache and JBoss. mod_proxy_ajp is configured on both machines to do load balancing between the two JBoss instances. We also use sticky sessions. The problem is that if you shut down JBoss on one machine (typically to upgrade our application) and the JBoss currently is "busy" Apache may give you errors: Status 503 Service temporarily unavailable. I can see the following lines in the log: 2008-09-10 18:40:33,664 DEBUG [tomcat.localhost.ROOT.Context] Stopping 2008-09-10 18:40:33,665 DEBUG [tomcat.localhost.ROOT.Context] Stopping filters ... A bunch of filters are shut down. ... 2008-09-10 18:40:33,679 DEBUG [tomcat.localhost.ROOT.Context] Processing standard container shutdown 2008-09-10 18:40:33,685 INFO [org.apache.catalina.core.StandardWrapper] Waiting for 14 instance(s) to be deallocated It seems like new requests that happen to be given to this Tomcat (by proxy_ajp) are not getting any responses until somewhere around when this turns up in the log: 2008-07-08 14:27:39,622 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Destroyed jboss.web:service=WebServer It seems like the Tomcat threads don't disconnect (from proxy_ajp) until they are destroyed, even though no incoming requests are handled. The gap in time between stopping and destroying Tomcat seems to be due to dependencies on components (MBeans) that are busy. I can't see any reason for the idle connections to be open, so maybe it is possible to close those on stopping one of the MBeans of our application. What do you think? We used mod_jk with Apache 1.3 before and the problem got a slightly different symptom there, instead of getting an error message the response from Apache was empty. -- Mårten Svantesson Senior Developer Travelocity Nordic 651-258-2216 --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 12:53:00 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 57366 invoked from network); 1 Oct 2008 12:53:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 12:53:00 -0000 Received: (qmail 120 invoked by uid 500); 1 Oct 2008 12:52:48 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 99992 invoked by uid 500); 1 Oct 2008 12:52:48 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 99981 invoked by uid 99); 1 Oct 2008 12:52:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 05:52:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtp6.freeserve.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:51:46 +0000 Received: from me-wanadoo.net (localhost [83.161.120.155]) by mwinf3526.me.freeserve.com (SMTP Server) with ESMTP id D98CB1C00086 for <dmcfarland@example.org>; Wed, 1 Oct 2008 14:52:08 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [83.161.120.155]) by mwinf3526.me.freeserve.com (SMTP Server) with ESMTP id C15451C00082 for <dmcfarland@example.org>; Wed, 1 Oct 2008 14:52:08 +0200 (CEST) X-ME-UUID: dmcfarland@example.org Received: from localhost (localhost [83.161.120.155]) by smtp.homeinbox.net (Postfix) with ESMTP id 75C5C1A44C4 for <dmcfarland@example.org>; Wed, 1 Oct 2008 13:52:13 +0100 (BST) X-Virus-Scanned: Debian dmcfarland@example.org Received: from smtp.homeinbox.net ([83.161.120.155]) by localhost (server01.dev.local [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id MeM3rhcy-vVd for <dmcfarland@example.org>; Wed, 1 Oct 2008 13:52:10 +0100 (BST) Received: from [83.161.120.155] (study01.dev.local [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id 3952C1A4380 for <dmcfarland@example.org>; Wed, 1 Oct 2008 13:52:10 +0100 (BST) Message-ID: <dmcfarland@example.org> Date: Wed, 01 Oct 2008 13:52:03 +0100 From: Mark Thomas <dmcfarland@example.org> User-Agent: Thunderbird 83.161.120.155 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List <dmcfarland@example.org> Subject: Re: Tomcat servlet instantiation error References: <dmcfarland@example.org> In-Reply-To: <dmcfarland@example.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org sthirumalai wrote: > We build an exe which will have tomcat, jdk and our code in it. When we > install that in some system it installs perfectly but while accessing the > service it throws servlet instantiation error. This also happens for the > first time. If we restart that system everything works well. What may be the > issue? The answer appears to be in your stack strace. > > 2008-09-24 14:42:53 StandardWrapperValve[CMLogin]: Allocate exception for > servlet CMLogin > javax.servlet.ServletException: Error instantiating servlet class > cmservelt.CMLoginServlet <snip/> > ----- Root Cause ----- > java.lang.ExceptionInInitializerError > at cmservelt.CMLoginServlet.<clinit>(CMLoginServlet.java:42) <snip/> > Caused by: java.lang.NullPointerException > at java.io.FileInputStream.<init>(FileInputStream.java:103) > at java.io.FileInputStream.<init>(FileInputStream.java:66) > at java.io.FileReader.<init>(FileReader.java:41) > at data.UserFile.ReadFile(UserFile.java:76) > at model.UserCollection.<clinit>(UserCollection.java:17) > ... 31 more The root cause is a NPE on line 17 of model.UserCollection. You'll have to look at your source code to figure out exactly which object is null and why. Mark --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 13:39:29 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 88623 invoked from network); 1 Oct 2008 13:39:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 13:39:29 -0000 Received: (qmail 85802 invoked by uid 500); 1 Oct 2008 13:39:15 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 85764 invoked by uid 500); 1 Oct 2008 13:39:15 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:dmcfarland@example.org> List-Unsubscribe: <mailto:dmcfarland@example.org> List-Post: <mailto:dmcfarland@example.org> List-Id: <users.tomcat.apache.org> Reply-To: "Tomcat Users List" <dmcfarland@example.org> Delivered-To: mailing list dmcfarland@example.org Received: (qmail 85753 invoked by uid 99); 1 Oct 2008 13:39:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 06:39:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dmcfarland@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 13:38:14 +0000 Received: by fg-out-1718.google.com with SMTP id 16so438706fgg.40 for <dmcfarland@example.org>; Wed, 01 Oct 2008 06:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/O2fJLRgrJWfPXdNdeSoVEN/z4sJPBZUnntt4D8w8Do=; b=o0hZ4K8EjfCNZacqqpE7Z1T5Po81Out0QfHt7gvg0KaR87hVmuDz2J6LFsuanJgPv8 2v/CTQJ5HbkPnnx+rSZ7drO/2OEo4KyIGLoeXoV4NnjVO3irB6NVe1s5wtz3On2DKQzK fQ6ReRAuYlc+FVe8+hR5gzRX1O+GR5YuFs+JA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=EzfQgZ8bSdCgB3jnkif0ZT9clD0kgqu+SY+77eQx/X6dEkUec4PIzDCyiMzb5o9O4f vDBBLjtMY4NrZs3MK2VYby4491jAVOQ8FPwS1QP3RNWrgLyN2GL4tyJ0ZLL+MhANGNvR Sb8L7f3SEoF7dGcKtS6F0hzj8zF5xPLfJJ6v4= Received: by 83.161.120.155 with SMTP id h4mr1243787far.12.1222868310510; Wed, 01 Oct 2008 06:38:30 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 1 Oct 2008 06:38:30 -0700 (PDT) Message-ID: <dmcfarland@example.org> Date: Wed, 1 Oct 2008 14:38:30 +0100 From: "Stephen Nelson-Smith" <dmcfarland@example.org> To: "Tomcat Users List" <dmcfarland@example.org> Subject: Re: Tomcat getting insufficient POST data In-Reply-To: <dmcfarland@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <dmcfarland@example.org> <dmcfarland@example.org> <dmcfarland@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi Rainer, > This reminds me of some problem we found when fixing BZ 44494. Could you > please try with 6.0.18? Your symptoms don't really fit 44494 exactly, but > there's a chance 6.0.18 fixed it. Yes - I'll package 6.0.18 this afternoon and test it this evening. S. --------------------------------------------------------------------- To start a new topic, e-mail: dmcfarland@example.org To unsubscribe, e-mail: dmcfarland@example.org For additional commands, e-mail: dmcfarland@example.org From usersdmcfarland@example.org Wed Oct 01 13:48:11 2008 Return-Path: <usersdmcfarland@example.org> Delivered-To: dmcfarland@example.org Received: (qmail 95869 invoked from network); 1 Oct 2008 13:48:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Oct 2008 13:48:11 -0000 Received: (qmail 2759 invoked by uid 500); 1 Oct 2008 13:47:57 -0000 Delivered-To: dmcfarland@example.org Received: (qmail 2407 invoked by uid 500); 1 Oct 2008 13:47:56 -0000 Mailing-List: contact dmcfarland@example.org; run by ezmlm
{'source': 'Apache Software Foundation Public Mail Archives'}