You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jeff Tulley <JT...@novell.com> on 2003/04/01 19:47:15 UTC

[Patch] mbeans-descriptors.xml (was Re: Connector issues)

Here is the patch for the Ajp13Connector.  

The one caveat is that this patch allows Tomcat to startup and shutdown
without MBean exceptions, but the Tomcat Admin application still will
not work with this connector enabled.  That is, the admin app functions,
but do not click on "Connector" in the application, since it is looking
for a Coyote connector and does not find the getters and setters it is
looking for.  When I tried it, I clicked on "Connector" first and it
seemed like I couldn't get anything else to work after that.  If I
clicked on something else first ("Host", for instance), then clicked on
"Connector" I got the error but the rest of the admin application worked
fine.

Jeff Tulley  (jtulley@novell.com)
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

>>> JTULLEY@novell.com 4/1/03 10:12:32 AM >>>
1) Fix the MBean exception in the Ajp13Connector.  I can provide a
patch for this, it is very simple.  Even though this is deprecated,
the
reality is that people might need to use it due to bugs and/or
unimplemented features in the Coyote connectors.  It may be their only
choice, and if we can make it work easily, why not?
ta.apache.org 



Re: [Patch] mbeans-descriptors.xml (was Re: Connector issues)

Posted by Remy Maucherat <re...@apache.org>.
Jeff Tulley wrote:
> Here is the patch for the Ajp13Connector.  
> 
> The one caveat is that this patch allows Tomcat to startup and shutdown
> without MBean exceptions, but the Tomcat Admin application still will
> not work with this connector enabled.  That is, the admin app functions,
> but do not click on "Connector" in the application, since it is looking
> for a Coyote connector and does not find the getters and setters it is
> looking for.  When I tried it, I clicked on "Connector" first and it
> seemed like I couldn't get anything else to work after that.  If I
> clicked on something else first ("Host", for instance), then clicked on
> "Connector" I got the error but the rest of the admin application worked
> fine.

It's not a good idea to imply that the old AJP connector is to be used. 
It is slow and unreliable, and will not work with Tomcat 5.
Also, it is not compatible with the admin webapp, and the MBean 
descriptor is only used in conjunction with the admin webapp in Tomcat, 
so adding the AJP connector there will only lead to problems later.

Remy


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