You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tomcat User <to...@secristfamily.com> on 2002/12/21 22:04:16 UTC

Unhandled Exceptions in 4.1.18

I have been taking a look at the source for 4.1.18 - and have noticed a 
few problems with three classes in the org.apache.catalina.mbeans package...

Namely - unhandled exceptions in the following MBeans:

DefaultContextMBean
NamingResourceMBean
StandardContextMBean

Within all three, there is a removeResource, and removeResourceLink 
method which contains this call - URLDecoder.decode(resourceName) which 
generates a java.lang.Exception - which is not handled.

When compiling the source, I would assume this would need to be fixed 
first, unless there is a magic trick within ANT I am not aware of. 
 Don't the distributed binaries come directly from the source?

Randy



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Unhandled Exceptions in 4.1.18

Posted by Bill Barker <wb...@wilshire.com>.
"Tomcat User" <to...@secristfamily.com> wrote in message
news:3E04D750.4060609@secristfamily.com...
> I have been taking a look at the source for 4.1.18 - and have noticed a
> few problems with three classes in the org.apache.catalina.mbeans
package...
>
> Namely - unhandled exceptions in the following MBeans:
>
> DefaultContextMBean
> NamingResourceMBean
> StandardContextMBean
>
> Within all three, there is a removeResource, and removeResourceLink
> method which contains this call - URLDecoder.decode(resourceName) which
> generates a java.lang.Exception - which is not handled.

Patches are always welcome :-).  Personally, I don't get any compile-time
errors when building 4.1.18.  Which JVM are you using?

>
> When compiling the source, I would assume this would need to be fixed
> first, unless there is a magic trick within ANT I am not aware of.
>  Don't the distributed binaries come directly from the source?

Yes, they do.

>
> Randy





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>