You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jon Skeet <jo...@peramon.com> on 2003/09/02 12:19:55 UTC
Running Tomcat 4.1.27 without Jasper (or a JDK)?
I'm trying to run Tomcat 4.1 (currently 4.1.27) without needing a full JDK. I don't need any JSP stuff whatsoever, just servlets. Does anyone know of a page explaining how to remove Jasper from Tomcat, or fancy explaining it here? I couldn't find anything in the archive (with only a couple of searches, admittedly).
Thanks,
Jon Skeet
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Posted by Tim Funk <fu...@joedog.org>.
I don't think you need to do anything. But you probaly want to do this:
- remove $CATALINA/common/lib/jasper-compiler.jar
- in $CATALINA/conf/web.xml - comment out boht jasper/jsp references
If you don't use precompiled jsp's
- remove $CATALINA/common/lib/jasper-runtime.jar
You might not need $CATALINA/common/lib/ant.jar either. (I don't know if
anything other than jasper depends on it)
[ On second thought, you might need to edit setclasspath.bat (or sh) to
remove the javac check. ]
-Tim
Jon Skeet wrote:
> I'm trying to run Tomcat 4.1 (currently 4.1.27) without needing a full JDK. I don't need any JSP stuff whatsoever, just servlets. Does anyone know of a page explaining how to remove Jasper from Tomcat, or fancy explaining it here? I couldn't find anything in the archive (with only a couple of searches, admittedly).
>
> Thanks,
> Jon Skeet
>
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Posted by Thomas Kellerer <sp...@gmx.net>.
Jon Skeet schrieb:
> I'm trying to run Tomcat 4.1 (currently 4.1.27) without needing a full JDK. I
> don't need any JSP stuff whatsoever, just servlets. Does anyone know of a
> page explaining how to remove Jasper from Tomcat, or fancy explaining it
> here? I couldn't find anything in the archive (with only a couple of
> searches, admittedly).
>
> Thanks, Jon Skeet
Just out of curiosity: I'm wondering why you want to do that?
The overhead of the JDK over JRE isn't that big and disk space isn't usually a
problem.
Thomas