Re: which java ?

2012-06-01 Thread Konstantin Kolinko
2012/6/1 André Warnier a...@ice-sa.com:
 Hi.

 I am in the process of installing a new system at a customer, Tomcat 6 being
 part of the mix.  This is a Suse Enterprise Linux (SEL) system, and the
 sysadmins at the customer very strongly favor using the pre-packaged
 software available with that distribution.
 (A position which which I can sympathise, being myself the sysadmin for a
 bunch of systems).
 Anyway, the question is not directly about Tomcat, but about the Java JVM.
 Under that version of SEL, the standard Java package is not the Oracle/Sun
 JVM, but this one : Java 1.6.0 IBM SR10.1-0.3.1
 My question is : are there any kinds of problems/differences to be expected
 running Tomcat 6 over that JVM, as compared to the comparable Oracle/Sun
 version which I otherwise use everywhere else ?  And if yes, in which area
 could the differences show up ?

 The Tomcat applications to be run on that system are minimal, but there are
 a couple for which I do not have (and cannot get) the sources.

 Or to phrase the question otherwise : are there strong reasons to push for
 installing instead an Oracle/Sun 1.6 JVM on that system (outside the SEL
 package management system and thus risking to inconvenience the sysadmins)
 to run Tomcat 6 on it ?


1. The memory leaks protection code (in
JreMemoryLeakPreventionListener and in WebappClassLoader) is written
based on analysis of flaws in Sun/Oracle implementation of JRE. Your
experience with other JVMs might be different.  I would not say that
this is a critical feature though,  as many are still using 5.5 where
no such protection was ever implemented.

Look for issue 52850:in Tomcat 7 changelog.
I think it was not ported to 6.0, as changelog of 6.0 does not mention it.

2. Testing, testing, testing...  I would try to run Tomcat 7 testsuite
on that JDK to see if there are any noticeable failures. There is no
such suite for 6.0 though.  Maybe you can use some automated tests
from some web applications.


Best regards,
Konstantin Kolinko

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



Re: which java ?

2012-06-01 Thread André Warnier

Konstantin Kolinko wrote:

2012/6/1 André Warnier a...@ice-sa.com:

Hi.

I am in the process of installing a new system at a customer, Tomcat 6 being
part of the mix.  This is a Suse Enterprise Linux (SEL) system, and the
sysadmins at the customer very strongly favor using the pre-packaged
software available with that distribution.
(A position which which I can sympathise, being myself the sysadmin for a
bunch of systems).
Anyway, the question is not directly about Tomcat, but about the Java JVM.
Under that version of SEL, the standard Java package is not the Oracle/Sun
JVM, but this one : Java 1.6.0 IBM SR10.1-0.3.1
My question is : are there any kinds of problems/differences to be expected
running Tomcat 6 over that JVM, as compared to the comparable Oracle/Sun
version which I otherwise use everywhere else ?  And if yes, in which area
could the differences show up ?

The Tomcat applications to be run on that system are minimal, but there are
a couple for which I do not have (and cannot get) the sources.

Or to phrase the question otherwise : are there strong reasons to push for
installing instead an Oracle/Sun 1.6 JVM on that system (outside the SEL
package management system and thus risking to inconvenience the sysadmins)
to run Tomcat 6 on it ?



1. The memory leaks protection code (in
JreMemoryLeakPreventionListener and in WebappClassLoader) is written
based on analysis of flaws in Sun/Oracle implementation of JRE. Your
experience with other JVMs might be different.  I would not say that
this is a critical feature though,  as many are still using 5.5 where
no such protection was ever implemented.

Look for issue 52850:in Tomcat 7 changelog.
I think it was not ported to 6.0, as changelog of 6.0 does not mention it.

2. Testing, testing, testing...  I would try to run Tomcat 7 testsuite
on that JDK to see if there are any noticeable failures. There is no
such suite for 6.0 though.  Maybe you can use some automated tests
from some web applications.



Thanks Konstantin.
So far, it seems to run, and I have not yet seen any scary out-of-place messages in the 
logs. But I only have a tiny test app for now. I'll run some heavier tests next week.

I'll look up issue 52850.

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



Re: which java ?

2012-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

André,

On 6/1/12 4:44 AM, André Warnier wrote:
 Or to phrase the question otherwise : are there strong reasons to
 push for installing instead an Oracle/Sun 1.6 JVM on that system
 (outside the SEL package management system and thus risking to
 inconvenience the sysadmins) to run Tomcat 6 on it ?

Sun/Oracle seems to be the most compatible JVM out there, but the
IVM JVM has already been very good. It used to be (10 years ago?) that
the IBM JVM was measurably faster than the Sun JVM, though it tended
to eat-up memory more quickly.

OpenJDK is also a very solid JVM these days.

I believe Oracle recently changed the redistribution license for the
JDK/JRE such that Linux package managers either cannot or choose not
to provide the Sun/Oracle JVM anymore. Most of the time, I see OpenJDK
as the default.

If the IBM JVM is already installed, give it a try. If you have
nothing installed already, you might want to see if the OpenJDK JVM is
an option and go with that. The more users the better.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/JClYACgkQ9CaO5/Lv0PCYsQCdGfM/9aileiiIRN6X0BOiJYuc
37gAoJMSn6sVI1wMhhIkBQNSiqRVU6/G
=qazt
-END PGP SIGNATURE-

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