Re: IPv6 question

2011-11-02 Thread Pid *
On 31 Oct 2011, at 14:47, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: Issac Goldstand [mailto:mar...@beamartyr.net] Sent: Monday, October 31, 2011 6:40 AM To: users@tomcat.apache.org Subject: IPv6 question Hi Tomcat community I'm planning to give a

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-11-02 Thread Pid *
On 1 Nov 2011, at 01:43, Anantaneni Harish anantaneni.ha...@vertexsoft.com wrote: Any thoughts about this? Only one. Why doesn't request.getParameterXxxx work for you? p Thanks and Regards, Harish -Original Message- From: Anantaneni Harish Sent: Monday, October 31, 2011 11:23

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Olivier Lamy
Hello, Yup that's the correct ml. Did you try with last trunk version from ASF (tomcat6/7 mojos) ? For how to test that: see http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html Yup normally warSourceDirectory should do the job. Honestly I test more with cli (and not an eclipse

Re: Compile, build and prepare Webapp for Tomcat in command line

2011-11-02 Thread Pid *
On 1 Nov 2011, at 11:34, Léa Massiot lmhe...@orange.fr wrote: @Christopher : Thank you for your answer. I wouldn't mind using Maven instead of Ant... yet it doesn't look like I can a find a nice and simple (hello world) example to get started with it (like the one I found for Ant, cf. the

Re: Filter by HTTP_REFERER

2011-11-02 Thread André Warnier
Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richardo, On 10/31/2011 12:33 PM, Ricardo Bayley wrote: You are right. What I intend to do is prevent hot linking. We get what you are trying to do:

Re: Filter by HTTP_REFERER

2011-11-02 Thread Casper Wandahl Schmidt
Den 02-11-2011 10:17, André Warnier skrev: Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richardo, On 10/31/2011 12:33 PM, Ricardo Bayley wrote: You are right. What I intend to do is prevent

Re: Filter by HTTP_REFERER

2011-11-02 Thread André Warnier
Casper Wandahl Schmidt wrote: Den 02-11-2011 10:17, André Warnier skrev: Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richardo, On 10/31/2011 12:33 PM, Ricardo Bayley wrote: You are right.

Re: Filter by HTTP_REFERER

2011-11-02 Thread Casper Schmidt
2011/11/2 André Warnier a...@ice-sa.com Casper Wandahl Schmidt wrote: Den 02-11-2011 10:17, André Warnier skrev: Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richardo, On 10/31/2011

Re: Filter by HTTP_REFERER

2011-11-02 Thread André Warnier
André Warnier wrote: Casper Wandahl Schmidt wrote: Den 02-11-2011 10:17, André Warnier skrev: Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richardo, On 10/31/2011 12:33 PM, Ricardo Bayley

Re: Filter by HTTP_REFERER

2011-11-02 Thread Casper Wandahl Schmidt
Den 02-11-2011 10:50, André Warnier skrev: André Warnier wrote: Casper Wandahl Schmidt wrote: Den 02-11-2011 10:17, André Warnier skrev: Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Hi Olivier, Thank you for you reply. I run maven in cli not in ecclipse. Since the project is a eclipse native dynamc web project, so I gues eclipse has its own way to handle it. But regardless, the warSourceDirectory did not change the docBase for me. Regards Bin On Nov 2, 2011 5:08 AM, Olivier

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Forgot to mention that I am using 2.0-snapshot. On Nov 2, 2011 7:20 AM, Bin Lan lan...@gmail.com wrote: Hi Olivier, Thank you for you reply. I run maven in cli not in ecclipse. Since the project is a eclipse native dynamc web project, so I gues eclipse has its own way to handle it. But

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Olivier Lamy
Can you try with last changes I have pushed ? You need to build locally from sources. (some network issues for *.apache.org so I cannot deploy snapshots) 2011/11/2 Bin Lan lan...@gmail.com: Forgot to mention that I am using 2.0-snapshot. On Nov 2, 2011 7:20 AM, Bin Lan lan...@gmail.com wrote:

Re: Filter by HTTP_REFERER

2011-11-02 Thread André Warnier
Casper Wandahl Schmidt wrote: Den 02-11-2011 10:50, André Warnier skrev: André Warnier wrote: Casper Wandahl Schmidt wrote: Den 02-11-2011 10:17, André Warnier skrev: Pid * wrote: On 31 Oct 2011, at 18:25, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED

Re: Handling of CometEvents regarding order (Tomcat 6 and 7)

2011-11-02 Thread Willem Fibbe
Hi, Thanks for your reply. Just wanted to confirm the following: On 26/10/2011 11:57, Mark Thomas wrote: On 25/10/2011 10:57, Willem Fibbe wrote: Now for my questions: 1 - Can anybody confirm this lifecycle? If I read the AIO documentation, a typical lifecycle would be: Begin - Read - ...

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Bin Lan
Hi Olivier, I followed the instruction on http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html, and use tomcat6:run instead of tomcat:run and now the plugin is using the path in warSourceDirectory. Quick question, is this gonna be part of the next release? Thank you very much.

Re: Set docBase in pom.xml for maven tomcat plugin

2011-11-02 Thread Olivier Lamy
2011/11/2 Bin Lan lan...@gmail.com: Hi Olivier, I followed the instruction on http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html, and use tomcat6:run instead of tomcat:run and now the plugin is using the path in warSourceDirectory. Quick question, is this gonna be part

Re: Filter by HTTP_REFERER

2011-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/2/11 4:24 AM, Pid * wrote: It'll still be fragile and open to exploitation. An AJAX call can any request headers it likes. You be better off using authentication if you want anything more than a casual defence. +1 - -chris -BEGIN

Re: Tomcat 5.5.26 running 'select_user' for every transaction

2011-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/2/11 11:30 AM, David Kirtland wrote: Since upgrading from Tomcat 5.5.20 to 5.5.26 (Debian Etch to Lenny - apt versions) we are seeing a 'select_user' query to the database for every single transaction. This is in addition to a 'select

RE: Tomcat 5.5.26 running 'select_user' for every transaction

2011-11-02 Thread David Kirtland
It isn't something obvious built into our webapp, but it would seem to be a method we are calling in the jdbc driver. There is no record of a 'select_user' anywhere when doing a grep, but our Java developers have found the issue now. The code wasn't changed between versions which is odd seeing as

Re: Tomcat 5.5.26 running 'select_user' for every transaction

2011-11-02 Thread Konstantin Kolinko
2011/11/2 David Kirtland dkirtl...@epitiro.com: Hi, Since upgrading from Tomcat 5.5.20 to 5.5.26 (Debian Etch to Lenny - apt versions) Haven't you considered upgrading to 5.5.34? 5.5.26 is better than 5.5.20 but any way it is more than 3 years old. Though any 5.5.x version will reach its end

Re: Tomcat 5.5.26 running 'select_user' for every transaction

2011-11-02 Thread Pid
On 02/11/2011 16:23, David Kirtland wrote: It isn't something obvious built into our webapp, but it would seem to be a method we are calling in the jdbc driver. There is no record of a 'select_user' anywhere when doing a grep, but our Java developers have found the issue now. The code wasn't