DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23269>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23269

[PATCH] ServletException in JSPReader.generate()

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
            Summary|ServletException in         |[PATCH] ServletException in
                   |JSPReader.generate()        |JSPReader.generate()



------- Additional Comments From [EMAIL PROTECTED]  2003-12-14 01:38 -------
I got a similar exception. the attached patch makes the error
message/stacktraces a bit more verbose so one can find out what the real problem is.

the problem in my case is the following:
 - my tomcat is installed in a path containing spaces
 - javac (J2SDK 1.4.2-b28) accepts spaces in source file names, but not in
response file (file containing names of source files) names
 - the javac task used by jasper to compile the JSPs creates such a response
file within the user.dir (which in my case is somewhere in tomcat's path),
because the servlet's classpath exceeds 4k
 - compilation then fails because of the erroneous response file name handling

since the JSPGenerator/JSPReader didn't just hand over the thrown exception, one
didn't get any clue. the attached patch contains modified versions of the
components to make them a bit more verbose.

solutions/workarounds:
 - fix javac
 - use another compiler
 - avoid installation paths containging spaces
 - etc.

Reply via email to