Maybe this has to do with the level of debug you have on.

Daniel Gibby

Lukas Österreicher wrote:

Hello.

Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp files
(I think both compile and runtime) I just get an error like:

[ServletException in:/programtracklist.jsp] null'

and

2004-01-16 14:58:44 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp 
threw exception
java.lang.ThreadDeath
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1253)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1213)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:145)
        at org.apache.log4j.Category.forcedLog(Category.java:372)

in the logfile, wheras in Tomcat 4 on exactly the same error it gives the following 
error
that one can work with to fix the error:

[ServletException in:/programtracklist.jsp] Unable to compile class for JSP An error occurred at line: 162 in the jsp file: /programtracklist.jsp Generated servlet error: [javac] Compiling 1 source file E:\Programme\Apache Group\Tomcat 4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol symbol : method setValue (int) location: class org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track()); ^ 1 error '

2004-01-16 15:03:08 Error compiling file: E:\Programme\Apache Group\Tomcat 4.1\work\Standalone\localhost\yarf\/programtracklist_jsp.java [javac] Compiling 1 source file

E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol
symbol  : method setValue (int)
location: class org.apache.struts.taglib.html.HiddenTag
         _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
                               ^
1 error

2004-01-16 15:03:08 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp 
threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 162 in the jsp file: /programtracklist.jsp

Generated servlet error:
   [javac] Compiling 1 source file

E:\Programme\Apache Group\Tomcat 
4.1\work\Standalone\localhost\yarf\programtracklist_jsp.java:480: cannot resolve symbol
symbol  : method setValue (int)
location: class org.apache.struts.taglib.html.HiddenTag
         _jspx_th_html_hidden_4.setValue(programtracks[0].getProgram_track());
                               ^
1 error


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)


Can you tell me why this is? Is it possible to configure tomcat 5 to display an error message as before in Tomcat 4?

Thanx in Advance,
Lukas Österreicher



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to