RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
C:\java -version java version 1.4.1-beta Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge. I need to take the foot off the throttle :) Donie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 17:09 To: Tomcat Users List Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46 8) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor. java : 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java :112 5 ) at java.lang.Thread.run(Thread.java:536) It works under JDK 1.3.1 and Tomcat 4.0.1, unfortunaly I upgrade both jdk and tomcat together. Some pointer to what is wrong would be great
Re: Problem running Tomcat 4.0.4 under JDK 1.4.1
Hello, I've seen the same problem by a colleague. He installed JDK 1.4 next to JDK 1.3 and mixed the standard classpaths of both JDK's. JDK 1.4 uses a new class-file format. JDK 1.4 is backwards compatible, but you must use its own standard classes. So, make sure your old JDK is completely uninstalled. Or rename the directory of the old JDK, so the system doesn't find the classes/programms anymore. Greetings, Ronald. Donie Kelly wrote: C:\java -version java version 1.4.1-beta Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge. I need to take the foot off the throttle :) Donie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 17:09 To: Tomcat Users List Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46 8) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a :174
RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
I'm doing a good cleanout at the moment. I'm rebuilding all my jar's and removing every class file that is linked to my source. I've also downgraded to JDK 1.4.0 so that I minimise my problems. I'll let you know if this is the solution. Donie -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 11:28 To: Tomcat Users List Subject: Re: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hello, I've seen the same problem by a colleague. He installed JDK 1.4 next to JDK 1.3 and mixed the standard classpaths of both JDK's. JDK 1.4 uses a new class-file format. JDK 1.4 is backwards compatible, but you must use its own standard classes. So, make sure your old JDK is completely uninstalled. Or rename the directory of the old JDK, so the system doesn't find the classes/programms anymore. Greetings, Ronald. Donie Kelly wrote: C:\java -version java version 1.4.1-beta Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge. I need to take the foot off the throttle :) Donie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 17:09 To: Tomcat Users List Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46 8
Re: Problem running Tomcat 4.0.4 under JDK 1.4.1
I can tell you I've Tomcat 4.0.4 and JDK 1.4.1 running. So it does work. And I also use a lot of third-party packages compiled under previous JDK's, so that's not a problem. Just don't mix the base classes and make sure you don't run JDK 1.3 with the JDK 1.4 classes accidently. Windows is a bit non-transparent in where it defines it path's and stuff, so I'm always unsure which application is run. My experience is that the path can be different in a dos-box and from windows self. Ronald. Donie Kelly wrote: I'm doing a good cleanout at the moment. I'm rebuilding all my jar's and removing every class file that is linked to my source. I've also downgraded to JDK 1.4.0 so that I minimise my problems. I'll let you know if this is the solution. Donie -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 11:28 To: Tomcat Users List Subject: Re: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hello, I've seen the same problem by a colleague. He installed JDK 1.4 next to JDK 1.3 and mixed the standard classpaths of both JDK's. JDK 1.4 uses a new class-file format. JDK 1.4 is backwards compatible, but you must use its own standard classes. So, make sure your old JDK is completely uninstalled. Or rename the directory of the old JDK, so the system doesn't find the classes/programms anymore. Greetings, Ronald. Donie Kelly wrote: C:\java -version java version 1.4.1-beta Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge. I need to take the foot off the throttle :) Donie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 17:09 To: Tomcat Users List Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66
RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 11:34 To: 'Tomcat Users List' Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 I'm doing a good cleanout at the moment. I'm rebuilding all my jar's and removing every class file that is linked to my source. I've also downgraded to JDK 1.4.0 so that I minimise my problems. I'll let you know if this is the solution. Donie -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 11:28 To: Tomcat Users List Subject: Re: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hello, I've seen the same problem by a colleague. He installed JDK 1.4 next to JDK 1.3 and mixed the standard classpaths of both JDK's. JDK 1.4 uses a new class-file format. JDK 1.4 is backwards compatible, but you must use its own standard classes. So, make sure your old JDK is completely uninstalled. Or rename the directory of the old JDK, so the system doesn't find the classes/programms anymore. Greetings, Ronald. Donie Kelly wrote: C:\java -version java version 1.4.1-beta Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge. I need to take the foot off the throttle :) Donie -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 17:09 To: Tomcat Users List Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64
RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
Do you have the correct tools.jar in your $TOMCAT_HOME\common\lib folder? To me it sounds like you have an older JDK tools.jar in your folder. Just copy the correct jdk tools.jar from the $JDK_DIR\lib\tools.jar into the tomcat\common\lib. Hope that helps, Todd Ganey -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 4:22 AM To: 'Tomcat Users List' Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all I've downgraded the JDK to 1.4.0 but I'm still getting the following errors when executing the jsp pages. I can access the servlets that generate HTML specifically because I have some mapped to URL's so the problem is only happening when Tomcat tries to compile the JSP's. Thanks for any help Donie type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format: C:\mmsdev\dev\mms\webapps\mms\WEB-INF\classes\com\tecnomen\mms\relay\Version .class, wrong version: 46, expected 45 C:\tomcat4.0\work\Standalone\www.vodofone.ie\_\onm\index$jsp.java:3: Class com.tecnomen.mms.relay.Version not found in import. import com.tecnomen.mms.relay.Version; ^ error: Invalid class file format: C:\mmsdev\dev\mms\webapps\mms\WEB-INF\classes\com\tecnomen\mms\relay\Stat.cl ass, wrong version: 46, expected 45 C:\tomcat4.0\work\Standalone\www.vodofone.ie\_\onm\index$jsp.java:4: Class com.tecnomen.mms.relay.Stat not found in import. import com.tecnomen.mms.relay.Stat; ^ error: Invalid class file format: C:\mmsdev\dev\mms\webapps\mms\WEB-INF\classes\com\tecnomen\mms\relay\Traffic Manager.class, wrong version: 46, expected 45 C:\tomcat4.0\work\Standalone\www.vodofone.ie\_\onm\index$jsp.java:5: Class com.tecnomen.mms.relay.TrafficManager not found in import. import com.tecnomen.mms.relay.TrafficManager; ^ error: Invalid class file format: C:\mmsdev\dev\mms\webapps\mms\WEB-INF\classes\com\tecnomen\mms\processor\Loa dControlProcessor.class, wrong version: 46, expected 45 C:\tomcat4.0\work\Standalone\www.vodofone.ie\_\onm\index$jsp.java:6: Class com.tecnomen.mms.processor.LoadControlProcessor not found in import. import com.tecnomen.mms.processor.LoadControlProcessor; ^ error: Invalid class file format: C:\mmsdev\dev\mms\webapps\mms\WEB-INF\classes\com\tecnomen\mms\relay\Alarms. class, wrong version: 46, expected 45 C:\tomcat4.0\work\Standalone\www.vodofone.ie\_\onm\index$jsp.java:7: Class com.tecnomen.mms.relay.Alarms not found in import. import com.tecnomen.mms.relay.Alarms; ^ 10 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170
RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46 8) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor. java : 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java :112 5 ) at java.lang.Thread.run(Thread.java:536) It works under JDK 1.3.1 and Tomcat 4.0.1, unfortunaly I upgrade both jdk and tomcat together. Some pointer to what is wrong would be great.,, Thanks Donie -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not
RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
I got this same error when I moved from 1.3.1 to 1.4.0, so I don't think it is something in the JDK. Unfortunately, I can't remember exactly how I fixed it. I *think* it was because I still had an old version of the JRE floating around on the machine. But like I said, I'm not sure anymore. I did get it working, so I guess the good news is there is a fix. :} -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 12:09 PM To: Tomcat Users List Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi, That's the coolest error I've seen in a while ;) Do you get it using JDK 1.4.0? 1.4.1 is not final yet, so it may be a packaging issue with the 1.4.1 version you're using. What's the output of java -version? Yoav Shapira Millennium ChemInformatics -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 11:51 AM To: 'Tomcat Users List' Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1 Hi all, I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give the following error... org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand. error: Class java.lang.Object not found in class com.tecnomen.mms.relay.Alarms. 2 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary( JspS e rvlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl et.j a va:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas e .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j ava: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23 47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46 8) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j ava: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor. java : 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java :112 5 ) at java.lang.Thread.run(Thread.java:536) It works under JDK 1.3.1 and Tomcat 4.0.1, unfortunaly I upgrade