Re: Tomcat embedded Valve's

2006-04-19 Thread Ugur Dincer
By implementing Context and extending StandardContext + using setBasic, 
addValve().


//Ugur

From: "Vivek Mohan" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" 
To: "Tomcat Users List" 
Subject: Re: Tomcat embedded Valve's
Date: Mon, 17 Apr 2006 16:15:03 +0530

and how was it solved?

On 4/17/06, Ugur Dincer <[EMAIL PROTECTED]> wrote:
> problem solved :-)
>
>
> From: "Ugur Dincer" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" 
> To: users@tomcat.apache.org
> Subject: Tomcat embedded Valve's
> Date: Sun, 16 Apr 2006 19:12:22 +0200
> MIME-Version: 1.0
> X-Originating-IP: [194.237.142.10]
> X-Originating-Email: [EMAIL PROTECTED]
> X-Sender: [EMAIL PROTECTED]
> Received: from mail.apache.org ([209.237.227.199]) by
> bay0-mc10-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); 
Sun,

> 16 Apr 2006 10:12:50 -0700
> Received: (qmail 39153 invoked by uid 500); 16 Apr 2006 17:12:48 -
> Received: (qmail 39142 invoked by uid 99); 16 Apr 2006 17:12:47 -
> Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by

> apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 10:12:47 -0700
> Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED] 
designates

> 65.54.168.42 as permitted sender)
> Received: from [65.54.168.42] (HELO hotmail.com) (65.54.168.42)by
> apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 10:12:47 -0700
> Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
> Sun, 16 Apr 2006 10:12:26 -0700
> Received: from 65.54.168.200 by by113fd.bay113.hotmail.msn.com with
> HTTP;Sun, 16 Apr 2006 17:12:22 GMT
> X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M=
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
> List-Post: <mailto:users@tomcat.apache.org>
> List-Id: 
> Delivered-To: mailing list users@tomcat.apache.org
> X-ASF-Spam-Status: No, hits=1.9
> 
required=10.0tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS

> X-Spam-Check-By: apache.org
> X-OriginalArrivalTime: 16 Apr 2006 17:12:26.0696 (UTC)
> FILETIME=[EF64AC80:01C66178]
> X-Virus-Checked: Checked by ClamAV on apache.org
> Return-Path: 
[EMAIL PROTECTED]

>
> Hi,
> I'm running Tomcat embedded and have some questions.
> 1. How can I define a Valve so it can be invoked for any request, without
> using web.xml nor server.xml?
> StandardHost.addValve(...)  doesn't have any effect.
> Is implementation of Lifecycle required in this case?
>
> 2. Is it possible to define the execution order of Valve's, or does 
Tomcat
> use the order in server/web.xml ? And how can that order be modified if 
not

> using server.xml nor web.xml
>
> Thanks!
> Ugur
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I told the doctor I broke my leg in two places. He told me to quit
going to those places.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat embedded Valve's

2006-04-17 Thread Vivek Mohan
and how was it solved?

On 4/17/06, Ugur Dincer <[EMAIL PROTECTED]> wrote:
> problem solved :-)
>
>
> From: "Ugur Dincer" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" 
> To: users@tomcat.apache.org
> Subject: Tomcat embedded Valve's
> Date: Sun, 16 Apr 2006 19:12:22 +0200
> MIME-Version: 1.0
> X-Originating-IP: [194.237.142.10]
> X-Originating-Email: [EMAIL PROTECTED]
> X-Sender: [EMAIL PROTECTED]
> Received: from mail.apache.org ([209.237.227.199]) by
> bay0-mc10-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun,
> 16 Apr 2006 10:12:50 -0700
> Received: (qmail 39153 invoked by uid 500); 16 Apr 2006 17:12:48 -
> Received: (qmail 39142 invoked by uid 99); 16 Apr 2006 17:12:47 -
> Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)by
> apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 10:12:47 -0700
> Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED] designates
> 65.54.168.42 as permitted sender)
> Received: from [65.54.168.42] (HELO hotmail.com) (65.54.168.42)by
> apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 10:12:47 -0700
> Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
> Sun, 16 Apr 2006 10:12:26 -0700
> Received: from 65.54.168.200 by by113fd.bay113.hotmail.msn.com with
> HTTP;Sun, 16 Apr 2006 17:12:22 GMT
> X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M=
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
> List-Post: <mailto:users@tomcat.apache.org>
> List-Id: 
> Delivered-To: mailing list users@tomcat.apache.org
> X-ASF-Spam-Status: No, hits=1.9
> required=10.0tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS
> X-Spam-Check-By: apache.org
> X-OriginalArrivalTime: 16 Apr 2006 17:12:26.0696 (UTC)
> FILETIME=[EF64AC80:01C66178]
> X-Virus-Checked: Checked by ClamAV on apache.org
> Return-Path: [EMAIL PROTECTED]
>
> Hi,
> I'm running Tomcat embedded and have some questions.
> 1. How can I define a Valve so it can be invoked for any request, without
> using web.xml nor server.xml?
> StandardHost.addValve(...)  doesn't have any effect.
> Is implementation of Lifecycle required in this case?
>
> 2. Is it possible to define the execution order of Valve's, or does Tomcat
> use the order in server/web.xml ? And how can that order be modified if not
> using server.xml nor web.xml
>
> Thanks!
> Ugur
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I told the doctor I broke my leg in two places. He told me to quit
going to those places.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat embedded Valve's

2006-04-17 Thread Ugur Dincer

problem solved :-)


From: "Ugur Dincer" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" 
To: users@tomcat.apache.org
Subject: Tomcat embedded Valve's
Date: Sun, 16 Apr 2006 19:12:22 +0200
MIME-Version: 1.0
X-Originating-IP: [194.237.142.10]
X-Originating-Email: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Received: from mail.apache.org ([209.237.227.199]) by 
bay0-mc10-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 
16 Apr 2006 10:12:50 -0700

Received: (qmail 39153 invoked by uid 500); 16 Apr 2006 17:12:48 -
Received: (qmail 39142 invoked by uid 99); 16 Apr 2006 17:12:47 -
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)by 
apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 10:12:47 -0700
Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED] designates 
65.54.168.42 as permitted sender)
Received: from [65.54.168.42] (HELO hotmail.com) (65.54.168.42)by 
apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 10:12:47 -0700
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
Sun, 16 Apr 2006 10:12:26 -0700
Received: from 65.54.168.200 by by113fd.bay113.hotmail.msn.com with 
HTTP;Sun, 16 Apr 2006 17:12:22 GMT

X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]>
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:users@tomcat.apache.org>
List-Id: 
Delivered-To: mailing list users@tomcat.apache.org
X-ASF-Spam-Status: No, hits=1.9 
required=10.0tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS

X-Spam-Check-By: apache.org
X-OriginalArrivalTime: 16 Apr 2006 17:12:26.0696 (UTC) 
FILETIME=[EF64AC80:01C66178]

X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED]

Hi,
I'm running Tomcat embedded and have some questions.
1. How can I define a Valve so it can be invoked for any request, without 
using web.xml nor server.xml?

StandardHost.addValve(...)  doesn't have any effect.
Is implementation of Lifecycle required in this case?

2. Is it possible to define the execution order of Valve's, or does Tomcat 
use the order in server/web.xml ? And how can that order be modified if not 
using server.xml nor web.xml


Thanks!
Ugur



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat embedded Valve's

2006-04-16 Thread Ugur Dincer

Hi,
I'm running Tomcat embedded and have some questions.
1. How can I define a Valve so it can be invoked for any request, without 
using web.xml nor server.xml?

StandardHost.addValve(...)  doesn't have any effect.
Is implementation of Lifecycle required in this case?

2. Is it possible to define the execution order of Valve's, or does Tomcat 
use the order in server/web.xml ? And how can that order be modified if not 
using server.xml nor web.xml


Thanks!
Ugur



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]