cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14991] New: - [PATCH] Missing monitor role in cocoon.roles
Date Mon, 02 Dec 2002 11:00:29 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=14991>.
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=14991

[PATCH] Missing monitor role in cocoon.roles

           Summary: [PATCH] Missing monitor role in cocoon.roles
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: unico@hippo.nl


I noticed that although the following declaration appears in cocoon.xconf:

----
<monitor logger="core.monitor">
    <thread frequency="10000" priority="5"/>
</monitor>
----

No declaration exists for the shorthand 'monitor' in cocoon.roles. This results 
in the following message in core.log:

----
DEBUG   (2002-11-29) 17:38.59:278   [core.roles] (Unknown-URI) Unknown-
thread/DefaultRoleManager: looking up shorthand monitor, returning null
----

And thus no such monitor is instantiated.

The same inconsistency exists in the cocoon_2_0_3_branch. The attached patch 
adds the following lines to the cocoon.roles:

<role name="org.apache.avalon.excalibur.monitor.Monitor"
      shorthand="monitor"
      default-class="org.apache.avalon.excalibur.monitor.ActiveMonitor">
</role>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message