You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Manivannan Palanichamy <ma...@gmail.com> on 2007/08/16 15:08:45 UTC

how to strip tomcat?

My laptop is having very low memory. I need to run minimal version of
tomcat. (stripped version of tomcat, to avoid memory hogging). Can you guys
give some tips on this -- like removing unnecessary jars & enabling dynamic
class/jar loading?

(My requirement is just to run few jsp pages, to enter/retrieve some values
to/from database, nothing else other than that)

-- 
Manivannan Palanichamy
http://mani.gw.googlepages.com/index.html

Re: how to strip tomcat?

Posted by David Delbecq <de...@oma.be>.
taking a look at tomcat 5.5.23, i'll try to answer you

1) you can take a look at tomcat embedded, it *may* be stripped down,
but am not sure
2) in the core tomcat, there are perhaps only 2 or 3 jars you can
*perhaps* remove: tomcat-18n other than english, tomcat-ajp,
catalina-optional
3) as for you requirement about dynamic classloading, JVM does not do
the static initialize of a class file until it's actively used somewhere
(access to static properties / instanciation / parent of a class that
will be used). So you can have tons of completely unused class, they
will only take the space required by tho locate them)

En l'instant précis du 16/08/07 15:08, Manivannan Palanichamy
s'exprimait en ces termes:
> My laptop is having very low memory. I need to run minimal version of
> tomcat. (stripped version of tomcat, to avoid memory hogging). Can you guys
> give some tips on this -- like removing unnecessary jars & enabling dynamic
> class/jar loading?
>
> (My requirement is just to run few jsp pages, to enter/retrieve some values
> to/from database, nothing else other than that)
>
>   


-- 
http://www.noooxml.org/


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org