Nice to know... thanks a lot, but I should set which tag in server.xml? Context? On Mon, 2002-12-16 at 15:19, Tim Funk wrote: > Because the catalina classes cannot be accessed directly by your > classloader. This is a security feature. > > Otherwise - anyone could write servlet in a webapp and loop through > everyone else's session. > > If you *really* want to do this: > 1 - Look at the manager app because it does access the Sessions (at > least the count of them) > 2 - Your webapp will need to have [privileged="true"] in server.xml for > your webapp. > > -Tim > > Felipe Schnack wrote: > > Hi all > > I implemented a servlet that implements ContainerServlet interface > > from catalina.jar. I did this because I want to be able to loop through > > all HttpSession objects in a server... > > but for some strange reason I can't understand, when I start tomcat > > now I get a InvocationTargetException, telling me that ContainerServlet > > interface was not found! Why this happens? This jar is in standard > > Tomcat distribution... > > BTW, I'm using Tomcat 4.1.12 on RedHat Linux 7.3 > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > --
Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303328 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>