Re: Problems Using Context Loader

2006-01-12 Thread Michel Costa
The major problem is not about putting hibernate in the context's lib folder, but as you may know, hibernate does some mapping stuff, which means it reads a bunch of .hbm.xml files into memory, connects and validate these mappings everytime the context gets reloaded, and depending on how much ma

Re: Problems Using Context Loader

2006-01-12 Thread Sriram Narayanan
On 1/12/06, Michel Costa <[EMAIL PROTECTED]> wrote: > No, that is not a Tomcat problem... it's a specific application problem... I > saw some people complaining about the same things in applications similar to > mine. > By "No, that is not a Tomcat problem...", I believe you're saying that there

Re: Problems Using Context Loader

2006-01-12 Thread Michel Costa
ok at your idea... but seems you are not trying to reload the classes references. - Segue mensagem original! - De: Sriram Narayanan <[EMAIL PROTECTED]> Data: Thu, 12 Jan 2006 01:59:21 +0530 Para: Tomcat Users List Assunto: Re: Problems Using Context Loader On 1/11

Re: Problems Using Context Loader

2006-01-11 Thread Sriram Narayanan
On 1/11/06, Michel Costa <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I am trying to create a ClassLoader for my application so then I will not > have to reload all the hibernate and struts when a new class is compiled. > Could you please explain why this is a problem ? Is the startup time an is

Problems Using Context Loader

2006-01-11 Thread Michel Costa
Hi everyone, I am trying to create a ClassLoader for my application so then I will not have to reload all the hibernate and struts when a new class is compiled. Then my problems started: I do not know where to put my special ClassLoader. I got lots of classcast exceptions until I found that a in