commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11814] New: - ClassNotFoundException while using the Notification
Date Mon, 19 Aug 2002 12:06:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11814>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11814

ClassNotFoundException while using the Notification

           Summary: ClassNotFoundException while using the Notification
           Product: Commons
           Version: 1.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Modeler
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: Daniel.Schmidt@gp.materna.de


Description:
------------
I get a ClassNotFoundException when I define a Notification in the mbeans-
descriptors.xml

Cause:
------
In the Class org.apache.commons.modeler.Registry a Method 
addNotificationType ( from the class org.apache.commons.modeler.NotificationInfo)will 
called which not exists. Just a Method addNotifType is 
existing.

Code:
digester.addCallMethod
            ("mbeans-
descriptors/mbean/notification/notification-type",
             "addNotificationType", 
0);

Solution:
----------
I solve the Problem with the following code (Class: 
NotificationInfo):
public void addNotificationType(String notifType) 
{
    
addNotifType(notifType);
}

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message