tomcat problem

Hi,

I just installed Tomcat 4.0 on Windows 98 with Apache. Apache works fine. When I start tomcat (startup.bat) I get a DOS window with some error statements like these:

'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.

Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg

i

A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t

arget' has occurred in :

'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.

Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg

i

A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t

arget' has occurred in :

'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.

Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg

i

A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t

arget' has occurred in :

'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.

Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg

i

Starting service Tomcat-Apache

Apache Tomcat/4.0-b7

-

You can see in the last lines that Tomcat starts up although the DOS box stays open (is there a way to let it close so I don't see it anymore on the task bar?).

If go to localhost:8080/I see a message that Tomcat is succesfully up and running but when I want to execute an example of the JSP files, I always get an error:

org.apache.jasper.JasperException: Unable to compile class for JSPnullC:\Program Files\Jakarta Tomcat 4.0\work\localhost\examples\jsp\num\_0002fjsp_0002fnum_0002fnumguess_jsp.java:156: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception.

if (pageContext != null) pageContext.handlePageException(t);

1 error

An ^ points towards the last (t);

If you can help me out here, I would surely appreciate it a lot because neiter I or one of my collegues can get it to work.

[2248 byte] By [XIII_] at [2007-9-26 4:37:26]
# 1
you must set classpath!for example: set classpath=c:\jdk1.3\lib\tools.jar
stavid at 2007-6-29 17:56:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...