tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <billwbar...@verizon.net>
Subject Re: Tomcat startup error
Date Sat, 10 Apr 2010 21:33:55 GMT


"Christopher Schultz" <chris@christopherschultz.net> wrote in message 
news:4BBF945E.4050708@christopherschultz.net...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Harry,
>
> On 4/9/2010 2:01 PM, Harry Metske wrote:
>> you are using some piece of software (com.mypkg.packaging.*) that is 
>> calling
>> tomcat code.
>> It expects to find a method in org.apache.tomcat.util.IntrospectionUtils
>> that is no longer there in 6.0.26, which causes the NoSuchMethodError.
>> Basically your embedder does not support this version of Tomcat, you 
>> should
>> contact the vendor, they should do the recompile .
>
> It's interesting that the Java Runtime throws a NoSuchMethodError since
> the return type is not technically part of the method signature. I've
> never considered this before, and it totally makes sense because the
> return type really is an important part of the method. Just interesting
> to note that the effective method signature is not the same as the
> official one.
>
> Another thing to note is that the Tomcat folks have made an unstable
> change, here, by changing a public API. It would have been better to
> create a method with a new signature and deprecated the old one, while
> leaving it there.
>

The Tomcat developers have always considered this to be part of the internal 
API, not the public API.  This is true of most of the classes under the 
org.apache.tomcat package.

> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAku/lF4ACgkQ9CaO5/Lv0PCHaQCguLBWWaK6kp+md88Hxo3dGZ4z
> itEAnjsMKVr6fWyJG44nbNJGFUKLDsU1
> =ER++
> -----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