You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/08/14 16:30:06 UTC
DO NOT REPLY [Bug 40251] New: - Hard coded JMX domain name for MBean instances
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40251
Summary: Hard coded JMX domain name for MBean instances
Product: Log4j
Version: 1.2
Platform: Other
OS/Version: other
Status: NEW
Severity: minor
Priority: P2
Component: Other
AssignedTo: log4j-dev@logging.apache.org
ReportedBy: wingtung.leung@gmail.com
(based on log4j-1.2.13)
Current JMX implementation has an hard coded domain name ("log4j") for
registering the MBean instances. This is not flexible enough when you need to
configure multiple log4j repositories, all in different applications running on
a J2EE server.
I made some minor changes which extends the current interface and adds the
option to specify your own domain name.
All comments are welcome.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 40251] - Hard coded JMX domain name for MBean instances
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40251
------- Additional Comments From carnold@apache.org 2007-01-30 14:03 -------
Elias committed changes against log4j/trunk in rev 500491
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 40251] - Hard coded JMX domain name for MBean instances
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40251
carnold@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From carnold@apache.org 2007-02-01 14:11 -------
Previous commit caused Gump failure on unit tests since build.jmx was not a precondition for building
the newly added unit test. The newly added unit test is still not run, but rev 502375 at least fixes the
build failure.
The previous change also resulted in the following compatibility issues with log4j 1.2.8:
o.a.l.jmx.HierarchyDynamicMBean
Removed org.apache.log4j.spi.HierarchyEventListener from the set of implemented interfaces
o.a.l.jmx.HierarchyDynamicMBean.addAppenderEvent
Method 'public void addAppenderEvent(org.apache.log4j.Category, org.apache.log4j.Appender)' has
been removed
o.a.l.jmx.HierarchyDynamicMBean.removeAppenderEvent
Method 'public void removeAppenderEvent(org.apache.log4j.Category, org.apache.log4j.Appender)'
has been removed
Reopening bug until unit tests are integrated into tests/build.xml.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 40251] - Hard coded JMX domain name for MBean instances
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40251
genman@noderunner.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From genman@noderunner.net 2007-01-26 22:54 -------
Better would be for an MBean to create child MBeans within the same domain.
I fixed this for 1.3 (SVN head) and added a test demonstrating it works.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 40251] - Hard coded JMX domain name for MBean instances
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40251
------- Additional Comments From wingtung.leung@gmail.com 2006-08-14 14:31 -------
Created an attachment (id=18716)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=18716&action=view)
Extended JMX MBean classes to allow alternate domain name
This patch allows you to chose your own domain name. All comments welcome.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 40251] - Hard coded JMX domain name for MBean instances
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40251>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40251
------- Additional Comments From carnold@apache.org 2007-02-01 14:26 -------
Well except on JDK 1.3 and 1.4 since HierarchyMBeanTest depends on classes introduced in JDK 1.5. Rev
502381 suppresses compilation of that class for now.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org