Added a setReadTimeout to the HessianProxyFactory. This capability is only supported by JDK 1.5.
An active-wait-time parameter is now available for the web-app. This specifies the time Resin will wait during a restart for the new web-app. If the time expires, Resin will return a 503. The default is 15s.
A Restart cookbook is available for creating an admin servlet to stop, start, or update a web-app.
HmuxLoadBalanceServlet can now use a strict round-robin balance strategy.
Resin Pro can now be configured and deployed based on a master configuration server. Configuration files and .wars placed on the master will be propagated to the cluster.
The clustered files use the special "config:" scheme in the configuration file, e.g. in archive-directory. The scheme is read-only and backed up on a client-side database to provide reliability when the master is taken down.
On a config client, "config:" reads from the master. On the master or a non-clustered server, "config:" acts as a normal relative path.
The config clients are started with the "-config-server" command-line argument, pointing to the configuration server.
resin:type is now allowed in more places in the configuration file, in particular in the openssl <password> element.
The <database> configuration can now configure the created connections with <connection>. Currently the <transaction-isolation>, <read-only>, and <catalog> are configurable.
Individual load balancer clients can now be disabled through JMX.
Given the following cluster
The name of a cluster client is:
The MBean interface is in com.caucho.server.cluster.mbean.ClusterClientMBean. The appropriate methods are enable(), disable(), and isActive().
The 503 failover has been improved with HmuxLoadBalanceServlet.
In addition, the web-app busy/inactive reporting has changed. Now, you can disable a single backend web-app and the load balancer will failover the web-app requests to the following server.
The <database> driver now has optional driver-type.
Added server.rootDir to the tree-loader for shared jars.
The <access-log> can have a path-format attribute which specifies the path by date. Unlike the archive-path, the log is created the formatted name directly.
Added archive-path to web-app.
Added regexp support for host aliases.
Resin now has two IoC resources for JMS, a listener and a message sender.
ListenerResource provides the capabilities of EJB message beans, without the complexity of EJB.
Resin's IoC configuration tag, <resource> can now accept a "var" attribute, storing the resource in EL for later use.
New configuration EL variables:
The deploy and config code has been refactored. Neither change should be user-visible.
Thanks to Mircea Crisan for tracking down the JdbcMessage init order issue with Postgres.
Thanks to John Didion for finding the missing Hessian deserializer cache.
Thanks to Andy Nahapetian for finding and fixing the Hessian reference serialization bug.