upgrade

User bd188fbc36

14-12-2005 02:58:01

Upgrading from tomcat 5.5.9 to 5.5.12 I get on jsp example:





====================


HTTP Status 500 -





--------------------------------------------------------------------------------





type Exception report





message





description The server encountered an internal error () that prevented it from fulfilling this request.





exception





org.apache.jasper.JasperException: Unable to compile class for JSP





An error occurred at line: 60 in the jsp file: /jsp1_x/searching.jsp


Generated servlet error:


The method checkFilter(String) in the type MolSearch is not applicable for the arguments (String, Molecule)








org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)


org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)


org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)


org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)


org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)


org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)


org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)


org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)


org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)


javax.servlet.http.HttpServlet.service(HttpServlet.java:802)








note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.








--------------------------------------------------------------------------------





Apache Tomcat/5.5.12


====================





Any ideas of what could cause the error? My configuration is:





mysql 4.1.11


jdk1.5.0_04


mysql-connector-java-3.1.12-bin.jar


apache 2.0.53


jchem-3.1.1





jars and enviroment are in place





Thanks!





P.S. tomcat 5.5.9 works fine.

ChemAxon 9c0afc9aaf

14-12-2005 18:12:17

Hi,





This has nothing to do with the change in the Tomcat version.





The argument list for this method was changed in JChem 3.1.2, so the Molecule no longer has to be specified as a second parameter.





It seems that your JSP code is version 3.1.1 or older, while your jchem.jar under Tomcat is v. 3.1.2 or newer.





I suggest you to use the same JSP and jchem.jar version (deploying them from the same package).





Kind regards,





Szilard