JSPs compilation fails when using JBoss 3.2.x (with Tomcat 4.1) in JBuilder X, when JSPs are in subdirectories

Abstract: JSPs compilation fails when using JBoss 3.2.x (with Tomcat 4.1) in JBuilder X, when JSPs are in subdirectories

Issue:

Workaround to allow JSP compilation in JBuilder X with JBoss 3.2.x with Tomcat 4.1, when the JSP files are in subdirectories under the root of the WebApp

Solution:

This is a bug caused by Tomcat 4.1. Workaround is to switch the jasper compiler back to the 4.0 version.

Browse to the <jbuilder>/thirdparty/jakarta-tomcat-4.0.6-LE-jdk14/lib directory

For Tomcat:

Copy jasper-compiler.jar and jasper-runtime.jar to the <jbuilder>/thirdparty/jakarta-tomcat-4.1.24-LE-jdk14/common/lib directory.

For Jetty:

Search for the jasper-compiler.jar and the jasper-runtime.jar in your JBoss installation and replace them with the jasper-compiler.jar and the jasper-runtime.jar found in the <jbuilder>/thirdparty/jakarta-tomcat-4.0.6-LE-jdk14/lib directory.