Summary: | In config file, Service and engine names must match | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Chris <christian.boitel> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | Nightly Build | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | AIX | ||
Attachments: | Proposed patch to fix this issue |
Description
Chris
2009-06-04 09:26:54 UTC
That looks to be a side effect of the fix for 42707. Having the names the same won't cause any problems. In fact it helps make sure JMX works as expected. As has been said previously, we really need to combine service and engine. That is too big a change for 6.0.x but we should be able to do it for 7. For 6.0.x, the best we can do is add something to the docs. Actually, you can fix it by removing the use of ServerFactory, and get the engine through the connector. Created attachment 23764 [details]
Proposed patch to fix this issue
Given it was me who removed ServerFactory from trunk, you'd think I would have figured that out.
Thanks for the tip. Patch attached.
This has been fixed in trunk and will be in 6.0.21 Reopening. This issue is reproducible in tc5.5.x. The fix is already proposed there. Fix in 5.5.x and will be in 5.5.28 onwards. |