You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chacko Kuruvilla <cv...@jpninc.com> on 2007/09/12 17:26:33 UTC

Tomcat 4.1 and JDK 1.4 error

Hello,

 

I currently have a web application running on Tomcat 4.0.6 and JDK 1.3. I am
in the process of trying to upgrade to Tomcat 4.1 on JDK 1.4 mainly to run
Tomcat as a service since I am not sure if I can run Tomcat 4.0.6 as a
windows service. I was able to successfully install and setup the web
application on Tomcat 4.1 and JDK 1.4 and also run it as a service. However,
while trying to log into my web application, I receive the following error.

 

C:\Program Files\Apache Software Foundation\Tomcat
4.1\work\Standalone\localhost

\_\dchqweb\AdminMessages_jsp.java:10: cannot access java.lang.Object

bad class file: c:\j2sdk1.4.1_05\jre\lib\rt.jar(java/lang/Object.class)

class file has wrong version 48.0, should be 47.0

Please remove or make sure it appears in the correct subdirectory of the
classpa

th.

 String gsUserId = "";

 ^

1 error

 

Any ideas?

 

Thanks,

Chacko.


RE: Tomcat 4.1 and JDK 1.4 error

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Chacko Kuruvilla [mailto:cvilla@jpninc.com] 
> Subject: RE: Tomcat 4.1 and JDK 1.4 error
> 
> Is there a way to find out if I have other JVM's
> installed along with 1.4?

Search for instances of jvm.dll; make sure you enable searching through
system-, hidden-, and sub-folders.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 4.1 and JDK 1.4 error

Posted by Chacko Kuruvilla <cv...@jpninc.com>.
I have uninstalled all Java versions using Add/Remove programs before I
freshly installed JDK 1.4. This comes up as my current version when I do
java -version command. Is there a way to find out if I have other JVM's
installed along with 1.4?

Thanks,
Chacko.

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, September 12, 2007 10:32 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 and JDK 1.4 error

> From: Chacko Kuruvilla [mailto:cvilla@jpninc.com] 
> Subject: Tomcat 4.1 and JDK 1.4 error
> 
> bad class file: 
> c:\j2sdk1.4.1_05\jre\lib\rt.jar(java/lang/Object.class)
> 
> class file has wrong version 48.0, should be 47.0

Your JVM installation continues to be hosed.  Version 47 classes are the
highest supported by 1.3, 48 is supported by 1.4.  You still have an old
JVM installed - get rid of it.  I'd strongly suggest you remove _all_
JVMss that are anywhere on your system, and install at least 1.5, and
preferably 6.

Why do you insist on using such old software?  If you're going to
upgrade, get serious about it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 4.1 and JDK 1.4 error

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Chacko Kuruvilla [mailto:cvilla@jpninc.com] 
> Subject: Tomcat 4.1 and JDK 1.4 error
> 
> bad class file: 
> c:\j2sdk1.4.1_05\jre\lib\rt.jar(java/lang/Object.class)
> 
> class file has wrong version 48.0, should be 47.0

Your JVM installation continues to be hosed.  Version 47 classes are the
highest supported by 1.3, 48 is supported by 1.4.  You still have an old
JVM installed - get rid of it.  I'd strongly suggest you remove _all_
JVMss that are anywhere on your system, and install at least 1.5, and
preferably 6.

Why do you insist on using such old software?  If you're going to
upgrade, get serious about it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org