Resin 3.0.20 Release Notes
Resin 3.0

Features
Installation
Configuration
Web Applications
IOC/AOP
Resources
JSP
Quercus
Servlets and Filters
Databases
Admin (JMX)
CMP
EJB
Amber
EJB 3.0
Security
XML and XSLT
XTP
JMS
Performance
Protocols
Third-party
Troubleshooting/FAQ

Feature Overview
Release Notes
Change Logs
Migrate from 2.1
Features FAQ

Resin 3.0.24
Resin 3.0.23
Resin 3.0.22
Resin 3.0.21
Resin 3.0.20
Archive
Resin 3.0.21
Release Notes
Archive

  1. session enhancements
    1. save-mode
  2. java.util.logging fixes
    1. <logging>
  3. Admin enhancements
  4. Load Balancing enhancements
    1. client-connect-timeout
    2. client-weight
    3. client-warmup-time
    4. client-max-idle-time
    5. client-fail-recover-time
  5. Hessian
    1. Hessian 2.0 Draft
    2. Enum
  6. Quercus
    1. Distributed Sessions
    2. New Libraries
    3. server-env

session enhancements

save-mode

The session-config now has a save-mode attribute, specifying when Resin should save changes. The possible values are:

  • before-headers
  • after-request
  • on-shutdown.

The default is "after-request", which is the current Resin behavior. Sites which have distribted sessions, but do not have a sticky-session load balancer may need to use "before-headers". "before-headers" does add a latency penalty.

java.util.logging fixes

The operation of the java.util.logging has changed to properly implement/configure the java.util.logging API.

For clarification, the <log> tag's "level" attribute sets the level of the logging Handler. It does not set the level of the Logger.

<logging>

The new <logging> tag configures the Logger, e.g.

<logger name="com.caucho" level="fine"/>
Is equivalent to:

Logger.getLogger("com.caucho").setLevel(Level.FINE);

If no <logger> is supplied, the level default to the parent. If no parent has a <logger>, the level defaults to INFO.

Admin enhancements

Some MBeans have been reworked and extended:

  • ClusterClientMBean (resin:type=ClusterClient,name=app-a)

Load Balancing enhancements

client-connect-timeout

Sets the time a client should wait for a connection to a backend server. Defaults to 5s.

client-weight

The backend <srun> servers can now have a client-weight, so the load balancer can distribute more or less load to more or less powerful servers.

The default value is 100.

<cluster id="app-tier">
  <srun id="app-a" client-weight="200" host="192.168.0.10"/>
  <srun id="app-b" host="192.168.0.10"/>

  <srun id="app-test" client-weight="1" host="192.168.0.200"/>
</cluster>

client-warmup-time

The backend <srun> servers can now have a warmup-time. The client-warmup-time will throttle requests to the backend server while the client "warms up".

The default value is 60s.

<cluster id="app-tier">
  <client-warmup-time>60s</client-warmup-time>

  <srun id="app-a" host="192.168.0.10"/>
  <srun id="app-b" host="192.168.0.11"/>
</cluster>

client-max-idle-time

client-max-idle-time is a renaming of live-time. It's the maximum time the socket will stay in the idle pool for a load balancer before it's removed.

client-fail-recover-time

client-max-idle-time is a renaming of dead-time. It's the time the load balancer will skip a dead backend server before retrying.

Hessian

Hessian 2.0 Draft

An early draft of Hessian 2.0 protocol is available.

Hessian 2.0 provides a number of compact bytecodes to reduce the size of serialized messages. Hessian 1.0 clients will continue to work with Hessian 2.0 servers without modification.

Enum

Hessian will now read and write JDK 1.5 enums.

Quercus

Quercus, Caucho's implementation of the PHP language in Java, has continued its rapid development, adding advanced features as well as more PHP libraries.

Distributed Sessions

Quercus provides Distributed Sessions for PHP, with the same distributed capabilities as servlets already use.

New Libraries

Quercus now supports

server-env

The QuercusServlet now allows <server-env> to define environment variables for $_SERVER.

<servlet servlet-name="php"
            servlet-class="com.caucho.quercus.servlet.QuercusServlet">
  <init>
    <servlet-env foo="bar"/>
  </init>
</servlet>


Resin 3.0.21
Release Notes
Archive
Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.