Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
Robert Graf-Waczenski a écrit : >>SRV.14.2.12ServletContextListener >> public interface ServletContextListener extends >> java.util.EventListener >> All Superinterfaces: java.util.EventListener >> Implementations of this interface receive notifications about changes >>to the serv- >> let c

RE: classloader during tomcat startup

2005-10-19 Thread Robert Graf-Waczenski
> SRV.14.2.12ServletContextListener > public interface ServletContextListener extends > java.util.EventListener > All Superinterfaces: java.util.EventListener > Implementations of this interface receive notifications about changes > to the serv- > let context of the web application the

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
>context is started or shut down. > >Your web.xml can remain unchanged for this. > >Robert > > > >>-Original Message- >>From: David Delbecq [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, October 19, 2005 9:51 AM >>To: Tomcat Users List >>Subject

RE: classloader during tomcat startup

2005-10-19 Thread Robert Graf-Waczenski
[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 9:51 AM > To: Tomcat Users List > Subject: Re: classloader during tomcat startup > > > Creating an initialisation servlet for your webapp would be a > good way. > Create a servlet and map it in web.xml adding a > elemen

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
Creating an initialisation servlet for your webapp would be a good way. Create a servlet and map it in web.xml adding a element with a non zero value. In the servlet init you can then setup all classes you need. For classloading hierarchy in tomcat, take a look at http://tomcat.apache.org/tomcat-

Re: classloader during tomcat startup

2005-10-18 Thread Santosh Asbe
Hi, further to our discussion, can i specifically load a class during startup? Is i possible in tomcat? Where is the clasloader hierachy and details placed?? Santosh On 10/18/05, David Delbecq <[EMAIL PROTECTED]> wrote: > > I don't know from the details of tomcat implementation, but i'll res

Re: classloader during tomcat startup

2005-10-18 Thread David Delbecq
I don't know from the details of tomcat implementation, but i'll response using common sense and from my experience. Tomcat loads all .jar descriptor at webapp startup so it know which .jar contains which class. But it does not load the .class binary content; Each time a class is required, a Class