Hi,
ok, now it's working well. I had to set JAVA_HOME in run_with_catalina.bat set JAVA_HOME=F:\J2SDK1.4.0 <--- it was missing :) set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVA_HOME%/lib/tools.jar Thanks! János -- Jarecsni, János MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 |-----Original Message----- |From: Randy Layman [mailto:[EMAIL PROTECTED]] |Sent: Friday, February 22, 2002 3:04 PM |To: 'Tomcat Users List' |Subject: RE: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM? | | | | This error message indicates that you are not running Catalina in |JDK 1.4 because the JDK produces file in format 48, but the previous |versions of the JDK/JRE are not able to read the file format (which is |indicated by the "version is to recent for this tool to understand"). | | Double check how you start JBoss to verify that it is running on the |new JDK and not using just the first JRE in your path. You also might want |to try and remove all old versions of Java. | | Randy | | |> -----Original Message----- |> From: Jarecsni János [mailto:[EMAIL PROTECTED]] |> Sent: Friday, February 22, 2002 9:25 AM |> To: Tomcat Users List |> Subject: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM? |> Importance: High |> |> |> Hi, |> |> I'm a bit frustrated... I've just tried Catalina 4.0.2 |> (release) [embedded |> in JBoss 2.4.4] on J2SDK 1.4.0 (Win32) and it doesn't work. |> The JSP compiler |> complains in some cases about the 48.0 class file version: |> |> |> [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/istore] |> Servlet.service() for servlet jsp threw exception |> org.apache.jasper.JasperException: Unable to compile class |> for JSPerror: |> Invalid class file format in f:\j2sdk1.4.0\jre\ |> lib\rt.jar(java/lang/Object.class). The major.minor version |> '48.0' is too |> recent for this tool to understand. |> |> F:\JBoss-2.4.4_Tomcat-4.0.2b\catalina\work\localhost\istore\bi |bliofil_0005fe |> n$jsp.java:0: Class java.lang.Object not fou |> nd in class javax.servlet.GenericServlet. |> package org.apache.jsp; |> ^ |> 2 errors |> |> at |> org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) |> at |> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) |> at |> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN |ecessary(JspSe |> rvlet.java:177) |> at |> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service |> (JspServlet.ja |> va:189) |> at |> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet |.java:382) |> at |> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) |> at |> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) |> at |> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat |ionDispatcher. |> java:683) |> |> Has anyone of you run into a similar problem? It would be |> good if we could |> upgrade the JVM because we have other problems with 1.3.1_02 |> |> |> Cheers, |> János |> |> -- |> Jarecsni, János |> MORGAN HILL CONSULTING, Internet Applications Unit |> mailto:[EMAIL PROTECTED] |> http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 |> |> |> -- |> To unsubscribe: <mailto:[EMAIL PROTECTED]> |> For additional commands: <mailto:[EMAIL PROTECTED]> |> Troubles with the list: <mailto:[EMAIL PROTECTED]> |> | |-- |To unsubscribe: <mailto:[EMAIL PROTECTED]> |For additional commands: <mailto:[EMAIL PROTECTED]> |Troubles with the list: <mailto:[EMAIL PROTECTED]> | | -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>