-
1. Re: How To Replace Tomcat w/Jetty In 3.2.2
jonlee Oct 23, 2003 11:58 PM (in response to dligda)It shouldn't be more complicated than that. I've done exactly that with my 3.2.2 and it works fine - the source distribution provides a jetty-plugin.sar that I have renamed jbossweb-jetty.sar. What exactly seems to be the problem?
-
2. Re: How To Replace Tomcat w/Jetty In 3.2.2
kryptontri Oct 24, 2003 4:22 AM (in response to dligda)Hi jonlee,
May i ask, do you find jetty faster than tomcat ? Which do you find more flexible/faster ?
Thanks
K -
3. Re: How To Replace Tomcat w/Jetty In 3.2.2
jonlee Oct 24, 2003 5:17 AM (in response to dligda)In terms of response, they seem to be on a par. However, Jetty has configuration flexibilities with JBoss such as temp file re-mapping to prevent JSP recompilation on reboot.
The non-blocking I/O (not provided on the bundled Jetty) for Jetty could also provide some performance boost under load. There are a bunch of it depends clauses depending on what you are serving. See the http://www.webperformanceinc.com/library/ServletReport/ for more details.
Jetty does have a smaller memory footprint. Tomcat has some additional features depending on whether you need them. As with all these things, YMMV depending on your needs and your content composition and your load. -
4. Re: How To Replace Tomcat w/Jetty In 3.2.2
dligda Oct 27, 2003 7:16 AM (in response to dligda)johlee,
>the source distribution provides a jetty-plugin.sar that I have renamed jbossweb-jetty.sar.
My mistake was not renaming the sar properly to jbossweb-jetty.sar. I was using the Jetty 4.2.14rc1 sar from the mortbay site and creating a sar of the same name. Unzipping it to jbossweb-jetty.sar worked like a charm.
Thank you very much.
David -
5. Re: How To Replace Tomcat w/Jetty In 3.2.2
mmcnamee Oct 28, 2003 3:39 PM (in response to dligda)Is this ( http://prdownloads.sourceforge.net/jboss/jboss-3.2.2_jetty-4.2.11.zip ) an *official* JBoss release, it's come from the Jboss sourceforge download area.
-
6. Re: How To Replace Tomcat w/Jetty In 3.2.2
jonlee Oct 28, 2003 4:14 PM (in response to dligda)These are official releases. Tomcat is now the default servlet container for JBoss so releases will normally come out first with the Tomcat bundle. However, AFAIK Jetty will still continue to be supported as well. It is just that Tomcat seems the more popular of requested download. However, some people like me still prefer Jetty for a variety of reasons.
-
7. Re: How To Replace Tomcat w/Jetty In 3.2.2
javamac Dec 30, 2003 8:05 AM (in response to dligda)Ive deleted jbossweb-tomcat.sar and dropped the jboss-3.2-jetty-4.2.15.sar directory inside jboss-3.2.1_tomcat-4.1.24/server/default/deploy/jboss-3.2-jetty-4.2.15.sar and all my ear files deploy and run fine. The problem im having is with expanded war files like jmx-console. When I try to execute their url via a browser, Im getting a 500 error. Is there more configuration that I have to do?