Pardon, hit return on the wrong line in my mail reader. > -----Urspr�ngliche Nachricht----- > Von: Timo Boehme [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 23. Juli 2001 12:27 > An: '[EMAIL PROTECTED]' > Betreff: Re: AW: using WEB-INF/lib slows down execution dramatically > > > > I can't see why my question has to do with load-balancing. Maybe you > replied to the wrong question? > > > On Mon, 23 Jul 2001, Ralph Einfeldt wrote: > > > You don't have to do loadbalancing on your own: > > > > > http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html#s83 > > > http://jakarta.apache.org/tomcat/tomcat-3.2-doc/Tomcat-Workers > -HowTo.html > > > > > > > I'm using Tomcat 3.2.x to run a servlet which talks to a Java XML > > > database. My problem is the following: > > > > > > If I put the jar files needed by the database in the > > > CLASSPATH on startup > > > of TOMCAT a specific query takes around 20 seconds. But if I > > > put these jar > > > files in WEB-INF/lib the query takes 16 minutes! This is > > > nearly 50 times > > > slower! > > > This must be related to the class loader TOMCAT uses. I've > > > experimented > > > with the reloadable flag but this didn't helped. I didn't get > > > an exception > > > or something else. > > > > > > Is this problem known and is there something I can do to > avoid this > > > (except from adding the jar files to the CLASSPATH)? > > Timo > >
