Bug 41401 - StandardService.getConnectorNames returns array of nulls.
StandardService.getConnectorNames returns array of nulls.
Product: Tomcat 5
Classification: Unclassified
Component: Catalina
Nightly Build
Other other
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2007-01-18 06:19 UTC by Alex Orlovsky
Modified: 2007-01-18 09:02 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Alex Orlovsky 2007-01-18 06:19:34 UTC
StandardService.getConnectorNames returns an array of nulls. The implementation
creates an array of the right size, but the body of the for loop that should
populate the array does nothing.
Easily verified if you look at the ConnectorNames property of the
Catalina:type=Service,serviceName=Catalina mbean.
I've seen it while running 5.5.12 and still see the problem in the 5.5.20 sources.
Comment 1 Peter Rossbach 2007-01-18 09:02:59 UTC
Hups, new Tomcat 5.5 Connector can report there ObjectName.

Many thanks to report this

Fix at revision 497499.