Simply dropping in a correct jetty-jboss.sar (built against the right version of jboss) and deleting the tomcat sar is all you should need to do.
I tried just replacing the SARs, but I'm getting this error:
javax.servlet.ServletException: javax.servlet.jsp.JspException: String index out of range: -1
This results in "HTTP ERROR: 500".
Any ideas what could be wrong?
In moving from jetty-4.2.14 to jetty-5.0.0, you are moving from a servlet 2.3 to a servlet 2.4 web container. (and probably a different Jasper version too JSP 1.2 v.s JSP 2.0)
Do you get the same error with jetty-4.2.22-jboss-3.2.5.sar?
If so, you might want to take this up on the Jetty forums.
Since Jboss no longer ships with Jetty, they are less inclined to help out with this than the Jetty people.
I've found the Jetty developers very helpful and responsive in my experience.
Aha! I didnn't realize Jetty 5.0.0 was using Servlet 2.4 API. Thanks for pointing this out. In the mean time, I notied that using JSTL's c:import was the cause of the above error. I wonder if there is JSTL for Servlet 2.4 API available from Jakarta Taglibs project.