-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregor,

On 12/16/11 3:50 AM, Gregor S. wrote:
> Chris:
> 
>> IIRC, Tomcat loads tcnative without a version number in it's name
>> even when it prefers a version that is of a certain level.
> 
> I don't believe you're right, since when I upgraded Tomcat5.5
> having an old version of tcnative installed, Tomcat 6 refused to
> start requiring a more recent version of tcnative.

What I meant to say was that Library.java (I confirmed) asks for
"tcnative-1" and not, say, "tcnative-1.1.17". That makes sense, since
the idea is that any version of tcnative "high enough" ought to be
good enough. That's why the code-based version check is done: to make
sure that a "high enough" version is available.

For instance, tcnative-2.0 would also work, but requiring "tcnative-2"
wouldn't be correct.

IMHO, such a breaking change should have been accompanied by a minor
version bump, so that Tomcat could request "tcnative-1.2" and allow
any tcnative-1.2.x version to be loaded (through the magic of
filesystem symlinking).

It would be great if dlopen understood how to resolve dependencies
like "at least version 1.1.17" but that would probably require
programmers and package maintainers to be very careful about metadata
or nothing would work.

- -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/

iEYEARECAAYFAk7ruMIACgkQ9CaO5/Lv0PC7WACdGv8CsA+z3TXdsYcwxLXoU3tk
im8AnjGznagmJibyAeHxyWqWgd0WElr+
=TwgH
-----END PGP SIGNATURE-----

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

Reply via email to