tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Dependencies on extensions functionality
Date Mon, 06 Feb 2012 18:23:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 2/6/12 6:48 AM, Pid wrote:
> On 06/02/2012 11:08, Violeta Georgieva wrote:
>>> I was going to ask you why you were using it!  So is your
>>> interest purely academic?
>> I have existing applications that are moving to Tomcat from
>> another application server. As "dependencies on extensions" is a
>> standard mechanism for shared libraries, they use it in order to
>> be independent from the application servers.
> 
> I see - in my experience this mechanism is rarely used in web 
> applications.  Interesting.

Yeah, I had never heard of it.

Also, the whole metadata-scanning thing seems totally unnecessary: the
webapp tries to load a class, and the ClassLoader figures it out. The
fact that the metadata exists doesn't really help much.

I haven't looked at the validation code, though, so it's possible that
the container is supposed to refuse to deploy the webapp if an
appropriate extension isn't available.

That obviously wasn't happening in Violeta's case because the
deployment succeeded but then she got a CNFE.

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

iEYEARECAAYFAk8wGqYACgkQ9CaO5/Lv0PAxhQCfQ2NBq+vrLxIREvKp8mFROnw5
mOUAn194PtKwYxvxKv1BJrTAkmnCksfu
=X6VY
-----END PGP SIGNATURE-----

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


Mime
View raw message