[opencms-dev] Problems with Tomcat

Jonathan Woods jonathan.woods at scintillance.com
Wed Mar 15 20:23:58 CET 2006


Vitor -

I guess all the things I suggested are possible only if you manipulate the
batch files which run Tomcat, and that takes a bit of work, so sorry if
they're not useful.

1.  JAVA_HOME pointing to the location you gave is fine - don't bother
changing it to the JRE root.  I'm not sure what you mean by 'the JVM on
Tomcat' - as far as I remember, Tomcat batch files only take notice of
JAVA_HOME, CATALINA_HOME and CATALINA_BASE, and I don't think the last two
would be the cause of your problem.

2.  By 'validity' of the Tomcat binary, I meant verifying that the checksum
or signature of the downloaded binary is what the nice people at Apache say
it should be; helps to confirm that you haven't downloaded a
hacked/compromised version.  Maybe I'm too paranoid, but one of these days
someone is going to hack a major open source project again.  At e.g.
http://tomcat.apache.org/download-55.cgi you will see pgp and md5 links; you
can get a Windows version of the md5 checksum utility at
http://downloads.activestate.com/contrib/md5sum/Windows/.  (I'm not sure of
the official location, but this looks safe - your risk, though.)

3.  I was wrong about Java class file versions.  Since you're running Java
1.5, it ought to be able to read class files produced using earlier versions
[of javac] - but clearly there's something wrong with the class files you're
trying to load.  I'm only sorry I can't hazard a quick guess as to what it
is!

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Vitor Varalonga
Sent: 15 March 2006 16:45
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Problems with Tomcat

> - is Tomcat really running the Java version you think it is?  If 
> possible, don't rely on environment variables, or at least check 
> they're pointing at the right place

How can I check the Java version that Tomcat is running?
As I mentioned before, JAVA_HOME environment variable is set to:

C:\Program Files\Java\jdk1.5.0_06

and the JVM on Tomcats points to:

C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll

(BTW I already tried to point the JVM to one of the other jvm.dll files
available under the jdk1.5.0_06 folder, but the errors still persisted).
Is anything wrong with any of these? should the JAVA_HOME point to another
location (like JRE)? What about the JVM?


> - try downloading and installing Tomcat again, and check the validity 
> of the Tomcat binary before running it

I tried to redownload and reinstall Tomcat but the errors persist.
(what do you mean by checking the validity of the binary?)


> - try to make sure that Tomcat is invoked with an option which allows 
> its JVM to run class files in the 1.4.x format.

Could you be more specific, pleas?

Thanks for the info.


kind regards,
--
Vítor Varalonga
CIBERBIT - Produções de Software S.A.

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list