You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Dan Becker (JIRA)" <ji...@apache.org> on 2008/02/15 15:46:08 UTC
[jira] Created: (GERONIMO-3859) Provide toString method to
StartupMonitorUtil to aid monitoring, logging, debugging
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.0.2, 2.0.1, 2.0
Environment: All Java platforms
Reporter: Dan Becker
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: StartupMonitorUtil$AddressHolder@2614
port 1: StartupMonitorUtil$AddressHolder@2866
port 2: StartupMonitorUtil$AddressHolder@3092
port 3: StartupMonitorUtil$AddressHolder@5439
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.
[jira] Updated: (GERONIMO-3859) Provide toString method to
StartupMonitorUtil to aid monitoring, logging, debugging
Posted by "Dan Becker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Becker updated GERONIMO-3859:
---------------------------------
Priority: Minor (was: Major)
> 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.0, 2.0.1, 2.0.2
> Environment: All Java platforms
> Reporter: Dan Becker
> Priority: Minor
> 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: StartupMonitorUtil$AddressHolder@2614
> port 1: StartupMonitorUtil$AddressHolder@2866
> port 2: StartupMonitorUtil$AddressHolder@3092
> port 3: StartupMonitorUtil$AddressHolder@5439
> 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.
[jira] Assigned: (GERONIMO-3859) Provide toString method to
StartupMonitorUtil to aid monitoring, logging, debugging
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor reassigned GERONIMO-3859:
-------------------------------------
Assignee: Jarek Gawor
> 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: StartupMonitorUtil$AddressHolder@2614
> port 1: StartupMonitorUtil$AddressHolder@2866
> port 2: StartupMonitorUtil$AddressHolder@3092
> port 3: StartupMonitorUtil$AddressHolder@5439
> 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.
[jira] Updated: (GERONIMO-3859) Provide toString method to
StartupMonitorUtil to aid monitoring, logging, debugging
Posted by "Dan Becker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Becker updated GERONIMO-3859:
---------------------------------
Affects Version/s: (was: 2.0.2)
(was: 2.0.1)
(was: 2.0)
2.2
2.1.1
2.1
> 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
> Priority: Minor
> 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: StartupMonitorUtil$AddressHolder@2614
> port 1: StartupMonitorUtil$AddressHolder@2866
> port 2: StartupMonitorUtil$AddressHolder@3092
> port 3: StartupMonitorUtil$AddressHolder@5439
> 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.
[jira] Resolved: (GERONIMO-3859) Provide toString method to
StartupMonitorUtil to aid monitoring, logging, debugging
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ 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: StartupMonitorUtil$AddressHolder@2614
> port 1: StartupMonitorUtil$AddressHolder@2866
> port 2: StartupMonitorUtil$AddressHolder@3092
> port 3: StartupMonitorUtil$AddressHolder@5439
> 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.
[jira] Updated: (GERONIMO-3859) Provide toString method to
StartupMonitorUtil to aid monitoring, logging, debugging
Posted by "Dan Becker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Becker updated GERONIMO-3859:
---------------------------------
Attachment: Geronimo-3859.patch
This patch adds a toString method to org.apache.geronimo.system.main.StartupMonitorUtil$AddressHolder.
> 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.0, 2.0.1, 2.0.2
> Environment: All Java platforms
> Reporter: Dan Becker
> 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: StartupMonitorUtil$AddressHolder@2614
> port 1: StartupMonitorUtil$AddressHolder@2866
> port 2: StartupMonitorUtil$AddressHolder@3092
> port 3: StartupMonitorUtil$AddressHolder@5439
> 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.