Caucho Technology

resin 4.0.20 release notes


Summary

4.0.20 continues focus on bug fixes and stability. 4.0.20 includes significant reworking of the networking state machine for comet/async timing issues.

Thanks to everyone who reported bugs in 4.0.19. We encourage people to report 4.0.20 bugs athttp://bugs.caucho.com.

Health PDF Reports

PDF reports are now available from the /resin-admin summary page and the postmortem. The PDF gathers the summary graphs into a single document.

Weekly PDF Reports

PDF reports can now be generated on a timed basic (daily or weekly). The new PdfReport health action creates a summary pdf in the resin/log directory for an overview of the server operation.

Example: resin.xml configuration for PdfReport
<resin xmlns="http://caucho.com/ns/resin"
       xmlns:resin="urn:java:com.caucho.resin"
       xmlns:health="urn:java:com.caucho.health">

  ...     
  <resin:import path="${__DIR__}/health.xml" optional="true"/>

  <health:PdfReport>
    <report>Summary</report>
    <health:IfCron value="0 0 * * 0"/>
  </health:PdfReport>
  
  ...
</resin>  

Custom Graph Pages

The graphs in the /resin-admin "meters" section can be configured by adding <health:MeterGraphPage> definitions to the health.xml or the resin.xml. The graph values are defined by <health:JmxMeter> and <health:JmxMeter> and allow any JMX value to be metered and displayed.

The custom graph pages can also be used for the PDF reports.

Example: Thread Graphs in resin.xml
<resin ...>

  ...
  
  <health:MeterGraphPage>
    <name>Threads</name>
    <period>6h</period>
    <columns>3</columns>
      
    <graph name="Threads">
      <meter>JVM|Thread|JVM Thread Count</meter>
      <meter>Resin|Thread|Thread Count</meter>
      <meter>Resin|Thread|Thread Idle Count</meter>
      <meter>JVM|Thread|JVM Runnable Count</meter>
      <meter>JVM|Thread|JVM Blocked Count</meter>
      <meter>JVM|Thread|JVM Native Count</meter>
      <meter>JVM|Thread|JVM Waiting Count</meter>
    </graph>
  </health:MeterGraphPage>

</resin>

Copyright © 1998-2011 Caucho Technology, Inc. All rights reserved.
Resin ® is a registered trademark, and Quercustm, Ambertm, and Hessiantm are trademarks of Caucho Technology.