Re: Clustering / High Availability edge cases?

2011-09-15 Thread Mark Thomas
On 13/09/2011 10:51, John Bass wrote: Hi all, I'm relatively new to clustering with Tomcat and I'm trying to understand the edge cases. If I'd like to guarantee continuous availability, what are the caveats? As I understand it, Tomcat clustering will ensure that session information is

Re: Clustering / High Availability edge cases?

2011-09-15 Thread Mark Thomas
On 14/09/2011 23:03, Christopher Schultz wrote: John, On 9/13/2011 5:51 AM, John Bass wrote: In the event of a node failure, I'm assuming that there's no way to recover from that and the failure will be visible to a client application. Correct: no other node in the cluster can serve the

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Wed, Sep 14, 2011 at 20:49, Mark Eggers its_toas...@yahoo.com wrote: [...] I've not tried this in Tomcat, but here's a thought. According to: http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Remote_Address_Filter Tomcat uses java.util.regex for pattern matching. This means

Availability of Apache Tomcat 6.0.34?

2011-09-15 Thread Yajnik, Shanti
Hi, Does anyone know when the fix for the specific vulnerability: CVE-2011-3190 will be available for the 6.0.33 version of Apache Tomcat? Best Regards, Shanti

Re: SSLSession invalidate

2011-09-15 Thread Henry Story
You can break TLS sessions once you have the session_id. I tried this in Clerezza (an apache incubator project) to see if I could get something like a logout functionality to work. I even tried to see if breaking a connection and throwing one of the exceptions that TLS defines would force the

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Thu, Sep 15, 2011 at 10:06, Francis GALIEGUE f...@one2team.com wrote: On Wed, Sep 14, 2011 at 20:49, Mark Eggers its_toas...@yahoo.com wrote: [...] I've not tried this in Tomcat, but here's a thought. According to:

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Thu, Sep 15, 2011 at 10:26, Francis GALIEGUE f...@one2team.com wrote: [...] I have added 0:0:0:0:0:0:0:1 as an alternative instead of ::1 and it does work... Which makes me think: the documentation SHOULD specify that regexes in the allow and deny parameters of the valve are ANCHORED.

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Pid
On 15/09/2011 02:08, Dean Hoover wrote: We're using Lightning (add-on from Thunderbird email client). The error we get is MODIFICATION_FAILED, which from some review points to permissions to the .ics file. On Wed, Sep 14, 2011 at 4:34 PM, Pid p...@pidster.com wrote: On 14/09/2011 18:14,

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread André Warnier
Francis GALIEGUE wrote: On Thu, Sep 15, 2011 at 10:06, Francis GALIEGUE f...@one2team.com wrote: On Wed, Sep 14, 2011 at 20:49, Mark Eggers its_toas...@yahoo.com wrote: [...] I've not tried this in Tomcat, but here's a thought. According to:

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread André Warnier
Pid wrote: On 15/09/2011 02:08, Dean Hoover wrote: We're using Lightning (add-on from Thunderbird email client). The error we get is MODIFICATION_FAILED, which from some review points to permissions to the .ics file. On Wed, Sep 14, 2011 at 4:34 PM, Pid p...@pidster.com wrote: On 14/09/2011

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Thu, Sep 15, 2011 at 14:25, André Warnier a...@ice-sa.com wrote: [...] OK, I've found the bug... I have added an access log valve and here is what I see in it: [15/Sep/2011:11:59:14 +0200] 0:0:0:0:0:0:0:1 (132 msec/964 bytes) 403 GET //manager/text/list HTTP/1.0 That explains it. So, I

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Konstantin Kolinko
2011/9/15 André Warnier a...@ice-sa.com: On the other hand, using a regexp provides for quite a bit of flexibility regarding ranges of addresses. You could use something like : (127\\.0\\.0\\.1)|((0?:0?:0?:0?:0?:0?)?:0?:1) Just 127\.0\.0\.1 It is XML - no need to double the slashes. Best

Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Steve Cohen
There is a bad error on the Tomcat 6.0 documentation website: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring_Manager_Application_Access They give the 7.0 syntax for manager role names. 6.0 requires manager, not manager-gui or manager-script and it led astray for

Re: Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Konstantin Kolinko
2011/9/15 Steve Cohen sco...@javactivity.org: There is a bad error on the Tomcat 6.0 documentation website: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring_Manager_Application_Access They give the 7.0 syntax for manager role names.  6.0 requires manager, not manager-gui

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread André Warnier
Konstantin Kolinko wrote: 2011/9/15 André Warnier a...@ice-sa.com: On the other hand, using a regexp provides for quite a bit of flexibility regarding ranges of addresses. You could use something like : (127\\.0\\.0\\.1)|((0?:0?:0?:0?:0?:0?)?:0?:1) Just 127\.0\.0\.1 It is XML - no need to

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread André Warnier
Francis GALIEGUE wrote: On Thu, Sep 15, 2011 at 14:25, André Warnier a...@ice-sa.com wrote: [...] OK, I've found the bug... I have added an access log valve and here is what I see in it: [15/Sep/2011:11:59:14 +0200] 0:0:0:0:0:0:0:1 (132 msec/964 bytes) 403 GET //manager/text/list HTTP/1.0

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Konstantin Kolinko
2011/9/15 André Warnier a...@ice-sa.com: Konstantin Kolinko wrote: 2011/9/15 André Warnier a...@ice-sa.com: On the other hand, using a regexp provides for quite a bit of flexibility regarding ranges of addresses. You could use something like : (127\\.0\\.0\\.1)|((0?:0?:0?:0?:0?:0?)?:0?:1)

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Francis GALIEGUE
On Thu, Sep 15, 2011 at 14:54, André Warnier a...@ice-sa.com wrote: [...] One difficulty with implementing an Apache httpd-like scheme is that, in httpd, the order of the allow/deny plays a big role, and preserving the order is generally more difficult in XML. Which is why there is Order ;)

Re: Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Steve Cohen
On 09/15/2011 07:39 AM, Konstantin Kolinko wrote: 2011/9/15 Steve Cohensco...@javactivity.org: There is a bad error on the Tomcat 6.0 documentation website: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring_Manager_Application_Access They give the 7.0 syntax for manager

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Pid
On 15/09/2011 13:28, André Warnier wrote: Pid wrote: On 15/09/2011 02:08, Dean Hoover wrote: We're using Lightning (add-on from Thunderbird email client). The error we get is MODIFICATION_FAILED, which from some review points to permissions to the .ics file. On Wed, Sep 14, 2011 at 4:34

Re: Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Konstantin Kolinko
2011/9/15 Steve Cohen sco...@javactivity.org: 6.0.20. Yes, it is old...  Someone told me that the manager-gui, manager-script stuff was 7.0, I switched it to manager and it worked.  So evidently, this was changed in a later 6.0.x version.  To me, that seems like sort of a major change to

Re: HTTP errors Logging

2011-09-15 Thread Pid
On 14/09/2011 16:26, Michael Gesundheit wrote: Hi, I could not find anything in the archive so here is my question:Is there any way to get DEBUG or any log regarding HTTP error messages? I currently get a 403 but, so far, can't find the root cause. Thanks,-Michael Please start an entirely

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
On 14/09/2011 16:38, Darius D. wrote: p Well the problem is that we already looked for that mode of failure, our servlet class has 0 instance variables... Basically it is a method like i pasted before, doing HttpSession session = request.getSession(); and if session is valid (it is!)

Re: Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Steve Cohen
On 09/15/2011 08:09 AM, Konstantin Kolinko wrote: 2011/9/15 Steve Cohensco...@javactivity.org: 6.0.20. Yes, it is old... Someone told me that the manager-gui, manager-script stuff was 7.0, I switched it to manager and it worked. So evidently, this was changed in a later 6.0.x version.

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Darius D.
Pid * wrote: What is your server.xml config? (please remove comments, passwords etc post it inline, in the response) Here it is, nothing special ( except usage of RemoteIpValve ). Thanks for looking into this problem. ?xml version='1.0' encoding='utf-8'? Server port=8005

JK Status: Load Balancer Value has offset , negative number of backend connections

2011-09-15 Thread SPH
Hi we have pretty often an offset on our Load Balancer Values and negative number of backend connections (see jk-status screenshot). We just updated mod_jk but the problems just come more frequent IMHO. Might this (little bit older) statistics for worker catalog5 be helpful for solving /

Re: HTTP errors Logging

2011-09-15 Thread Michael Gesundheit
What?? --- On Thu, 9/15/11, Pid p...@pidster.com wrote: From: Pid p...@pidster.com Subject: Re: HTTP errors Logging To: Tomcat Users List users@tomcat.apache.org Date: Thursday, September 15, 2011, 6:13 AM On 14/09/2011 16:26, Michael Gesundheit wrote: Hi, I could not find anything in the

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Dean Hoover
We are not using DAV, just simple iCalendar (.ics) files. It was running on an old Win2k server using an even older Apache web service before. Was just hoping to be able to move the files over and allow write permissions in Tomcat. If that's not possible, I will pursue another option to make it

RE: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Caldarale, Charles R
From: Dean Hoover [mailto:kb7...@gmail.com] Subject: Re: Using calendar .ics files over Tomcat 5.5 We are not using DAV, just simple iCalendar (.ics) files. But what _writes_ the files? Unless you have your own servlet to do this, or use DAV or a similar file upload mechanism, nothing

Issue with outofMemory in Tomcat 6.0.32

2011-09-15 Thread dasari.rao
Hi, We have tomat 6.0.32 running with three different applications and oracle 11g as database with hibernate as the persistence layer. We are facing with the following error very frequently. Any idea what could be reasons for this error. Sep 13, 2011 10:28:31 AM

Re: Issue with outofMemory in Tomcat 6.0.32

2011-09-15 Thread Kari Scott
We just fixed that very same error by adding -XX:MaxPermSize=128m to our java arguments. -kari On Sep 15, 2011, at 10:07 AM, dasari@wipro.com wrote: Hi, We have tomat 6.0.32 running with three different applications and oracle 11g as database with hibernate as the persistence

mod_proxy_balancer anomaly Question

2011-09-15 Thread Shanti Suresh
All, I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer. mod_proxy works fine if the (reverse)Proxying is done to the local Tomcat Engine rather than going through the balancer. If it goes through the balancer, then an extra / is added on 302 Redirects after the

Re: HTTP errors Logging

2011-09-15 Thread André Warnier
Michael Gesundheit wrote: What?? Ok, I will take the candle. Michael, to send your original message, what you did was : - you edited an older message, which had a subject Tomcat Redirect Issue - Extra / after hostname - Help Please - then you changed the subject line - then you typed your

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Dean Hoover
Fair enough, Chuck. I don't know exactly what writes the file, but since we are using the Lightning add-on from Thunderbird, I would assume that Lightning is doing the work. As far as how it used to work, everyone would read from the .ics calendar on the old server from Lightning via a web link.

Re: Tomcat 7.0.21: BufferOverflowException in AjpAprProcessor.output()

2011-09-15 Thread verlag.preis...@t-online.de
Hi Christopher, thanks for your reply. I would like to add that the Exceptions seems to have occured when the client aborted the connection, because at the same time of the exception, in the ISAPI log was the following: [Wed Sep 14 13:55:20.645 2011] [736:7288] [error]

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
On 15/09/2011 14:46, Darius D. wrote: Pid * wrote: What is your server.xml config? (please remove comments, passwords etc post it inline, in the response) Here it is, nothing special ( except usage of RemoteIpValve ). Thanks for looking into this problem. ?xml

Re: mod_proxy_balancer anomaly Question

2011-09-15 Thread Pid
On 15/09/2011 16:18, Shanti Suresh wrote: All, I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer. mod_proxy works fine if the (reverse)Proxying is done to the local Tomcat Engine rather than going through the balancer. If it goes through the balancer, then an

RE: Tomcat started and localhost:8080 is loading

2011-09-15 Thread beau.hutcheson
I had some issues regarding Eclipse and Tomcat. Try setting the IP address for your tomcat to 127.0.0.1 Access it from your browser by the same ip and your port and you should be able to load the tomcat welcome page. --b -Original Message- From: André Warnier [mailto:a...@ice-sa.com]

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Darius D.
Pid * wrote: Exactly which version of Tomcat are you running? Latest, 7.0.21. -- View this message in context: http://old.nabble.com/Request-params-randomly-null-in-servlet%28s%29-tp32461421p32474158.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread André Warnier
Right. There should be some setting/parameter corresponding to the Thunderbird plugin, which indicates /how/ it is trying to write files to the server. In Options..Advanced..Config Editor ? I find some traces there in my Thunderbird setup, of parameters starting with SyncKolab.. (That may be

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread André Warnier
I forgot to add : Since previously the application was running on a Win2K server, it may be that this Win2K server just shared (windows-like) the directory where the .ics files were located, and this being in a local LAN, that the client were just writing the files there via a Windows network

Re: mod_proxy_balancer anomaly Question

2011-09-15 Thread André Warnier
Shanti Suresh wrote: All, I am trying to understand some anomaly with mod_proxy and mod_proxy_balancer. mod_proxy works fine if the (reverse)Proxying is done to the local Tomcat Engine rather than going through the balancer. If it goes through the balancer, then an extra / is added on 302

Re: Using calendar .ics files over Tomcat 5.5

2011-09-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dean, On 9/14/2011 1:14 PM, Dean Hoover wrote: I am running Tomcat 5.5 in support of a internal-use only JSPWiki site. Time to upgrade. It's 7.0.21 time. To consolidate, I decided to move our internal calendars (using the iCal .ics extension)

RE: 501 error not going to location

2011-09-15 Thread kkrikor
Thank you for your reply, The error-page is configured in a web.xml inside my webapp. As for the tomcat version it is Tomcat 7.0.21. Before adding the error-page inside my webapp i was seeing - bodyh1HTTP Status 501 - Method METHOD is not is not implemented by this servlet for this URI /h1HR

Re: SSLSession invalidate

2011-09-15 Thread Henry Story
On 15 Sep 2011, at 23:30, Peter wrote: A connection is streaming a video, when you logout of it's session. What happens? I have not tried it. I'll put up some code in Java so you can try it out soon. The browser caches img files retrived from on the same server path as the