RE: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Actually, removing Jasper from 3.3.1(a) is about the same as for 4.1.x: You just comment out the JspInterceptor element in server.xml, and voila: you've got a JSP-less Servlet-Container. I tried that at the time - I can't remember which version, I'm afraid - and if I didn't have Jasper present, it barfed. I didn't have *any* references to JSPs left in the configuration, *anywhere*. Very strange. Never mind though - seems to be fine with 4.1. Ok, to be helpful, for 4.1.x, you need to comment out all references to JspServlet in $CATALINA_HOME/conf/web.xml (including the servlet-mapping). Then you have a JSP-less Servlet-Container. Cheers, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Yeah, well, it won't work with 3.3.0 (it will exhibit the intestinal behavior that you describe :). After the 3.3.0 release the Velocity people lobbied for a non-JSP Servlet-container, so with 3.3.1, we (with non-default options) gave it to them. Jon Skeet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Actually, removing Jasper from 3.3.1(a) is about the same as for 4.1.x: You just comment out the JspInterceptor element in server.xml, and voila: you've got a JSP-less Servlet-Container. I tried that at the time - I can't remember which version, I'm afraid - and if I didn't have Jasper present, it barfed. I didn't have *any* references to JSPs left in the configuration, *anywhere*. Very strange. Never mind though - seems to be fine with 4.1. Ok, to be helpful, for 4.1.x, you need to comment out all references to JspServlet in $CATALINA_HOME/conf/web.xml (including the servlet-mapping). Then you have a JSP-less Servlet-Container. Cheers, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Jon Skeet schrieb: 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. We distribute the JRE in our installation. I know these days you're allowed to distribute tools.jar (and javac.exe?) but the JRE we distribute (which would be inconvenient to change) doesn't allow this. Ah! Right, I didn't think about re-distribution. Cheers Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running Tomcat 4.1.27 without Jasper (or a JDK)?
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. ] I'll certainly need to do the last bit, and I'll also (for the sake of completeness) remove the reference to tools.jar on the classpath. Great. I know I tried to do this with Tomcat 3.3, and I couldn't for the life of me get it to not require the Jasper jar files on the system... Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Running Tomcat 4.1.27 without Jasper (or a JDK)?
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. We distribute the JRE in our installation. I know these days you're allowed to distribute tools.jar (and javac.exe?) but the JRE we distribute (which would be inconvenient to change) doesn't allow this. There's also the fact that getting rid of JSPs gets rid of a fair amount of the *possibility* of security problems, which is never a bad thing :) Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat 4.1.27 without Jasper (or a JDK)?
Actually, removing Jasper from 3.3.1(a) is about the same as for 4.1.x: You just comment out the JspInterceptor element in server.xml, and voila: you've got a JSP-less Servlet-Container. Ok, to be helpful, for 4.1.x, you need to comment out all references to JspServlet in $CATALINA_HOME/conf/web.xml (including the servlet-mapping). Then you have a JSP-less Servlet-Container. Jon Skeet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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. ] I'll certainly need to do the last bit, and I'll also (for the sake of completeness) remove the reference to tools.jar on the classpath. Great. I know I tried to do this with Tomcat 3.3, and I couldn't for the life of me get it to not require the Jasper jar files on the system... Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]