Hi Konstantin, > 2012/3/6 <sg...@gmx.net>: > > 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. > > > > 1. Exact Tomcat version =?
I am on 6.0.35 > 2. LifecycleEvent extends EventObject, EventObject.getSource() ? This will return /<contextPath> which I can store in java:comp/env/<someName>? 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org