[
https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor resolved GERONIMO-3859.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2
2.1.1
Committed the patch to trunk (revision 629529) and branches/2.1 (revision
629529). Thanks!
> Provide toString method to StartupMonitorUtil to aid monitoring, logging,
> debugging
> -----------------------------------------------------------------------------------
>
> Key: GERONIMO-3859
> URL: https://issues.apache.org/jira/browse/GERONIMO-3859
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: kernel
> Affects Versions: 2.1, 2.1.1, 2.2
> Environment: All Java platforms
> Reporter: Dan Becker
> Assignee: Jarek Gawor
> Priority: Minor
> Fix For: 2.1.1, 2.2
>
> Attachments: Geronimo-3859.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Provide toString method to StartupMonitorUtil$AddressHolder class to aid
> monitoring, logging, and debugging. Currently, a println on this class with
> no toString method produces this kind of output:
> port 0: [EMAIL PROTECTED]
> port 1: [EMAIL PROTECTED]
> port 2: [EMAIL PROTECTED]
> port 3: [EMAIL PROTECTED]
> By adding a toString method, any printlns, logging, or debugging will produce
> this kind of output:
> port 0: AddressHolder: name=Derby Connector, address=/0.0.0.0:0.
> port 1: AddressHolder: name=CORBA Naming Service,
> address=localhost/127.0.0.1:1050.
> port 2: AddressHolder: name=RMI Naming, address=/0.0.0.0:1099.
> port 3: AddressHolder: name=OpenEJB ORB Adapter,
> address=localhost/127.0.0.1:2001.
> The second method is much more informative, user-friendly, and requires less
> clicks to see the information in a debugger.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.