You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/01/04 03:03:30 UTC
[Bug 63056] New: JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
Bug ID: 63056
Summary: JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Product: Tomcat 9
Version: 9.0.14
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: dev@tomcat.apache.org
Reporter: adam@labkey.com
Target Milestone: -----
Created attachment 36364
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36364&action=edit
Archive with simple jsp and bash script
Starting with 9.0.14 and 8.5.37, JspC seems to ignore the value of the
"uriroot" (aka "webroot") property, as mentioned in post
http://mail-archives.apache.org/mod_mbox/tomcat-users/201901.mbox/%3C0317090c-2fab-e04c-1450-6b9ebe0beae7%40labkey.com%3E
This change breaks the JSP pre-compilation step of our build, and likely others
that use the pattern shown in the JspC JavaDoc example configuration:
https://tomcat.apache.org/tomcat-8.5-doc/api/org/apache/jasper/JspC.html
I've attached a .tgz archive that contains a simple jsp and a bash script that
illustrate the problem.
The command line used in that bash script is:
java -cp
/usr/local/apache-tomcat-9.0.14/lib/jasper.jar:/usr/local/apache-tomcat-9.0.14/lib/jasper-el.jar:/usr/local/apache-tomcat-9.0.14/lib/tomcat-util.jar:/usr/local/apache-tomcat-9.0.14/lib/jsp-api.jar:/usr/local/apache-tomcat-9.0.14/lib/tomcat-jni.jar:/usr/local/apache-tomcat-9.0.14/lib/tomcat-api.jar:/usr/local/apache-tomcat-9.0.14/lib/servlet-api.jar:/usr/local/apache-tomcat-9.0.14/lib/tomcat-util-scan.jar:/usr/local/apache-ant-1.9.13/lib/ant.jar:/usr/local/apache-tomcat-9.0.14/bin/tomcat-juli.jar:/usr/local/apache-tomcat-9.0.14/lib/el-api.jar
org.apache.jasper.JspC -source 11 -target 11 -d output -webapp webapp
Thanks,
Adam
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63056] JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |appe.raja@gmail.com
--- Comment #6 from Rainer Jung <ra...@kippdata.de> ---
*** Bug 63123 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63056] JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zach@callear.org
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
*** Bug 63076 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63056] JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
OS| |All
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report and the test case. Fixed in:
- 9.0.x for 9.0.15 onwards
- 8.5.x for 8.5.38 onwards
7.0.x is not affected.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63056] JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dimdol@3rabbitz.com
--- Comment #5 from Mark Thomas <ma...@apache.org> ---
*** Bug 63120 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63056] JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |philippe.ruffinoni@gmail.co
| |m
--- Comment #4 from Mark Thomas <ma...@apache.org> ---
*** Bug 63115 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 63056] JspC ignores uriroot property as of Tomcat 9.0.14 /
8.5.37
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63056
--- Comment #2 from Adam Rauch <ad...@labkey.com> ---
FWIW: I built Tomcat from trunk sources and performed a clean build of our
webapp against this version. JSPs are now getting translated into .java files
and compiled. I'll test again on the next official Tomcat releases, but this
looks very promising.
Thanks, Mark, for the fix and the fast turnaround!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org