Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread V D
Thank you for the info. That settles it for me. David Smith wrote: Oops, meant unpackWars="false" David Smith wrote: Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="tru

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread David Smith
Oops, meant unpackWars="false" David Smith wrote: Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="true", tomcat will unpack to the work directory instead of the webapps di

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread David Smith
Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="true", tomcat will unpack to the work directory instead of the webapps dir. --David V D wrote: Thank you for your interest

Re: [OT] How to write/use Tomcat's war classloader

2006-04-14 Thread V D
Thank you for your interest. The application starts very slowly with the war and my classloader (this is a standard app, not webapp). The war also has a webapp in it. This has nothing to do with the application logic. It's the leading time to load the classes. It takes about 2 or 3 minutes

Re: [OT] How to write/use Tomcat's war classloader

2006-04-12 Thread P Y
maybe you could give a bit more context to interpret "very slow" or "quickly". like what version of tc and jvm are you using ... etc On 4/12/06, V D <[EMAIL PROTECTED]> wrote: > > Anyone have an idea about this? > > V D wrote: > > > > We have a sizable war file (|unpacked|) that needs to be run i

Re: [OT] How to write/use Tomcat's war classloader

2006-04-11 Thread V D
Anyone have an idea about this? V D wrote: We have a sizable war file (|unpacked|) that needs to be run in certain way outside of Tomcat. To do this, we created a classloader which works Ok except that it's very slow (using JarFile). I know that when deploy apps in Tomcat, I can specify i

Re: [OT] How to write/use Tomcat's war classloader

2006-04-07 Thread V D
We have a sizable war file (|unpacked|) that needs to be run in certain way outside of Tomcat. To do this, we created a Correction: (unpacked -> packed) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[OT] How to write/use Tomcat's war classloader

2006-04-07 Thread V D
We have a sizable war file (|unpacked|) that needs to be run in certain way outside of Tomcat. To do this, we created a classloader which works Ok except that it's very slow (using JarFile). I know that when deploy apps in Tomcat, I can specify it to not to unpack (|unpackWAR = "false"). H