I have seen this mentioned on the list several times but without a resolution:
org.apache.jasper.JasperException: Unable to compile class for JSP
C:\unzipped\jakarta-tomcat-4.0.2-b2\jakarta-tomcat-4.0.2-b2\work\localhost\NGPDWeb\LoginFrameset$jsp.java:112:
Incompatible type for method. Explicit cast needed to convert java.lang.Throwable
to java.lang.Exception.
if (pageContext != null) pageContext.handlePageException(t);
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:551)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
I have tried several JDK's (1.3, 1.3.1_02, 1.4-rc), several versions of tomcat
(4.0.2-b2, 4.0.1, 3.1), and still the same
problem. I have even written an environment-purging script to make sure that there is
nothing in my environment causing this
problem. Here is my complete environment:
$ env
!C:=C:\cygwin\bin
PS1=\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$
OSTYPE=cygwin
HOME=/home/ccobb
PATH=/usr/local/bin:/usr/bin:/bin:/drivec/WINNT/system32:/drivec/WINNT:/drivec/WINNT/System32/Wbem
_=/usr/bin/env
Here is the output when I start tomcat 4.0.2-b2:
Guessing CATALINA_HOME from catalina.sh to ./..
Setting CATALINA_HOME to ./..
Using CLASSPATH: bootstrap.jar;c:\jdk1.3.1_02\lib\tools.jar
Using CATALINA_BASE: C:\unzipped\jakarta-tomcat-4.0.2-b2\jakarta-tomcat-4.0.2-b2
Using CATALINA_HOME: C:\unzipped\jakarta-tomcat-4.0.2-b2\jakarta-tomcat-4.0.2-b2
Using JAVA_HOME: c:\jdk1.3.1_02\
Here is the contents of my jdk's lib directory:
$ find jdk1.3.1_02/jre jdk1.3.1_02/lib \( -name '*.jar' -o -name '*.zip' \)
jdk1.3.1_02/jre/lib/ext/cosnaming.jar
jdk1.3.1_02/jre/lib/ext/jbroker-rt.jar
jdk1.3.1_02/jre/lib/ext/jbroker-ssl.jar
jdk1.3.1_02/jre/lib/ext/jbroker-tools.jar
jdk1.3.1_02/jre/lib/ext/jndi.jar
jdk1.3.1_02/jre/lib/ext/providerutil.jar
jdk1.3.1_02/jre/lib/ext/rmiregistry.jar
jdk1.3.1_02/jre/lib/i18n.jar
jdk1.3.1_02/jre/lib/jaws.jar
jdk1.3.1_02/jre/lib/rt.jar
jdk1.3.1_02/jre/lib/sunrsasign.jar
jdk1.3.1_02/lib/dt.jar
jdk1.3.1_02/lib/ext/cosnaming.jar
jdk1.3.1_02/lib/ext/jbroker-rt.jar
jdk1.3.1_02/lib/ext/jbroker-ssl.jar
jdk1.3.1_02/lib/ext/jbroker-tools.jar
jdk1.3.1_02/lib/ext/jndi.jar
jdk1.3.1_02/lib/ext/providerutil.jar
jdk1.3.1_02/lib/ext/rmiregistry.jar
jdk1.3.1_02/lib/htmlconverter.jar
jdk1.3.1_02/lib/tools.jar
(I have added jbroker support but this has no servlet files in it). I have also tried
with a squeeky clean install of 1.4-rc
with the same problem.
Is this a Win2K problem? Does anyone have a solution to this?
Thanks
Chris
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>