Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1B029DCC for ; Tue, 6 Mar 2012 14:08:30 +0000 (UTC) Received: (qmail 99393 invoked by uid 500); 6 Mar 2012 14:08:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 99332 invoked by uid 500); 6 Mar 2012 14:08:26 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 99322 invoked by uid 99); 6 Mar 2012 14:08:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 14:08:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sgfan@gmx.net designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Mar 2012 14:08:20 +0000 Received: (qmail 31461 invoked by uid 0); 6 Mar 2012 14:07:59 -0000 Received: from 192.35.17.17 by www021.gmx.net with HTTP; Tue, 06 Mar 2012 15:07:56 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Tue, 06 Mar 2012 15:07:56 +0100 From: sgfan@gmx.net Message-ID: <20120306140756.87580@gmx.net> MIME-Version: 1.0 Subject: Retrieve context path in lifecycle listener To: users@tomcat.apache.org X-Authenticated: #2828799 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX190sf8gS8R0yf1lsbVCZJNDQuubls/OfFiHtcA0td LHlKrIGpe8JOe4pVtXZTJke9pnWF3AIRMIvQ== Content-Transfer-Encoding: 8bit X-GMX-UID: a38kb1JDeSEqZ55KQHQhJRx+IGRvb8Al X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, I'd like to retrieve the context path from the a startup event in a context lifecycle listener. My usecase is register that contextpath in the initial context and access its value through Logback. Unfortunately, LifecycleEvent does not seem to contain this data. Is there a way? Thanks, Mike -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org