tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Boehme <boe...@informatik.uni-leipzig.de>
Subject Re: AW: using WEB-INF/lib slows down execution dramatically
Date Mon, 23 Jul 2001 10:26:45 GMT

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


Mime
View raw message