Hi Chris, Thanks for your help, I had some days off - that's why my answer is a bit late.
> Did you upgrade recently? This is an internal API that is subject to > change, and might have changed during an upgrade that left files in your > "work" directory. Compiling isn't working since the server was setup (by someone else). I'll try cleaning the 'work' directories. Since it's a (very) productive server I don't have too many service windows. That's why I tried to reproduce the problem on the test server but did not succeed yet. And on both servers are at least two applications and both won't compile on the productive machine. And yes, we did upgrade from RHEL5.5 to RHEL5.6 and the tomcat packages were upgrade. But since compiling did'nt work before I'm not sure what the impact of this update is. Getting rid of the 'work' directory is probably my best bet right now. > Try stopping Tomcat, removing Tomcat's "work" directory, and then > re-starting. Your JSPs should re-compile and work fine after that. I'll give that a go as soon as I got a service window and let you know. > If you are precompiling your JSPs, you'll need to re-precompile your > JSPs with your current Tomcat version. Well, I haven't done any precompilation yet. I was just wondering if that might help pin-down the problem. Unfortunately I'm not a developer but a server admin and have no clue how a build.xml should look like that ca 'simulate' a Tomcat/Jasper precompiling. > Also, your version of Tomcat is very old. If you are using a > package-managed version of Tomcat, you may be stuck with an ancient > version. Consider using the canonical Apache version to stay up-to-date. The version we use is the stock Tomcat for RHEL5. For now I'm stuck with that version. Thanks for your help and have a nice day, Thomas -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Donnerstag, 27. Januar 2011 23:14 To: Tomcat Users List Subject: Re: Jasper Compiling Error -> return type incompatible with JspSourceDependent.getDependants -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas, On 1/27/2011 3:09 AM, Kupper ext-FA, Thomas wrote: > It fails to compile a simple index.jsp on the productive server > because the generated index_jsp.java files differs. > > Version information: > > Server version: Apache Tomcat/5.5.23 [snip] > the automatically generated index_jsp.java diffiers in the following lines: > > ------------------------------------------------------------------------------ > --- index_jsp.java_not-compiling 2011-01-27 08:38:46.000000000 +0100 > +++ index_jsp.java_compiling-fine 2011-01-27 08:38:41.000000000 +0100 > @@ -7,9 +7,9 @@ > public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase > implements org.apache.jasper.runtime.JspSourceDependent { > > - private static java.util.Vector _jspx_dependants; > + private static java.util.List _jspx_dependants; > > - public java.util.List getDependants() { > + public Object getDependants() { > return _jspx_dependants; > } > ------------------------------------------------------------------------------ Did you upgrade recently? This is an internal API that is subject to change, and might have changed during an upgrade that left files in your "work" directory. Try stopping Tomcat, removing Tomcat's "work" directory, and then re-starting. Your JSPs should re-compile and work fine after that. If you are precompiling your JSPs, you'll need to re-precompile your JSPs with your current Tomcat version. Also, your version of Tomcat is very old. If you are using a package-managed version of Tomcat, you may be stuck with an ancient version. Consider using the canonical Apache version to stay up-to-date. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1B7h0ACgkQ9CaO5/Lv0PCQZACfdbSR9T5SmUa9Q4Sw70EBPdHF AwAAoLq3eEVWR1D1U21cdHEz6Ws3PsOX =o/Sz -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org