tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: Sudden JVM crashes - a Tomcat problem?
Date Thu, 13 Oct 2005 13:54:22 GMT
Joakim Ahlén a écrit :

> Hi,
>
> I am not a JVM-guru, but I'm guessing here. Tomcat 5.5 demands, as far
> as i know, jdk 1.5. You're not stating which version of tomcat you're
> using so this might not even be the case for you.

Or java 1.4 with an additional support pacakge, as tomcat state when
first starting in 1.4  ;)

>
> I'm not sure if this can cause a JVM crash like this, but my idea is
> that class files compiled with jdk 1.5 might crash if executed with
> jdk 1.4 since jdk 1.5 has specific new features that are not available
> in jdk 1.4.

I am pretty sure it's compiled for 1.4.  Anyway, when using 1.5 compiled
class with 1.4 jvm you get java.lang.ClassFormatError from classloader :)
What ever happens, a jvm crash is a very rare event and should pretty
most of the time considered as resulting from a bug in jvm, as state
the message comming out of jvm when this happens ;)
Error in java code itself of bad mix of classes version always result in
exceptions, not crashes. In theory pretty much every problem of jvm
should throw an Exception, never crash :)

>
> //j
>
> Robert Sösemann wrote:
>
>> Hello,
>>
>>
>> we have a really tricky problem while running our web-application:
>>
>> The JVM crashes from time to time for no apparent reason.
>> There seems to be no direct relation to any user-action, method-call
>> or whatever.
>>
>> We've checked the JVM crash dumps, but were not able to find
>> something suspicious. The only ideas we've come up, were the usual
>> suspects: JNI-calls and JDBC-Type2-drivers.
>>
>> This is our current setup:
>> - JVM 1.4.2_09 on Linux SuSE 9.3
>> - mysql-database 4.1.14-max with -
>> mysql-connector-java-3.0.14-production driver
>> - postgresql-database 8.0.3 with postgresql-8.0-312.jdbc3 driver
>>
>> The only JNI-calls that I know of, is through some 3rd party
>> UUID-library from "org.doomdark.jug". Maybe the forementioned
>> jdbc-drivers contain JNI-calls, despite being Type4-drivers.
>>
>> I've also checked a bunch of mailing-lists and it seems there
>> are some outstanding bugs in hotspot, that may trigger the crash.
>> Does anybody have more information or a workaround for this?
>>
>>
>> Who can help? Thanks in advance!
>>
>> Robert
>> Leiter Softwareentwicklung
>> ________________________________________
>>
>> Gölz & Schwarz GmbH Waltherstr. 29, 80337 München, Germany phone: +
>> 49 - (0)89 / 54 46 70 - 0 fax: +49 - (0)89 / 54 46 70 - 10 e-mail:
>> robert.soesemann@goelz.com web: http://www.goelz.com
>> ________________________________________
>> Sie suchen den aktiven Dialog mit Ihren Kunden? Sie möchten neue Wege
>> gehen, um
>> Ihre Zielgruppen online zu motivieren und zu binden? Dann haben wir
>> genau das Richtige
>> für Sie: Marketing Suite - die Komplett-Lösung für intelligentes
>> Online Marketing!
>> Informationen zur Marketing Suite erhalten Sie unter
>> http://www.goelz.com/marketingsuite.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>   
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


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


Mime
View raw message