Caucho Technology

resin 3.1.4 release notes


Resin 3.1.x

Resin 3.1.x is a development branch. New capabilities will be added along with bug fixes for future versions of the Resin 3.1.x branch.

Deployments which need a Resin version with only bug fixes should use the Resin 3.0.x branch.

database-default

The configuration file now accepts <database-default.

DatabaseManager

com.caucho.sql.DatabaseManager allows dynamic allocation of database pools.

The two methods are:

  DataSource DatabaseManager.findDatabase(String url);

  DataSource DatabaseManager.findDatabase(String url, String driver);

The first method is only allowed if the driver has a META-INF/services.

JMS

Added new configuration tags for JMS:

resin-web.xml
<web-app xmlns="http://caucho.com/ns/resin">

  <jms-connection-factory jndi-name="jms/ConnectionFactory"/>

  <jms-queue jndi-name="jms/q1" url="memory:"/>
  <jms-queue jndi-name="jms/q1" url="file:path=WEB-INF/jms"/>
  <jms-queue jndi-name="jms/q1" url="cluster:path=WEB-INF/jms"/>

  <jms-topic jndi-name="jms/q1" url="memory:"/>
  <jms-topic jndi-name="jms/q1" url="file:path=WEB-INF/jms"/>
  <jms-topic jndi-name="jms/q1" url="cluster:path=WEB-INF/jms"/>

</web-app>

JMS also has new MXBeans, JmsQueueMXBean and JmsTopicMXBean.

Admin

Added resin_admin_insecure to allow sites to require SSL for admin.

logging enhancements

The logging timestamp now allows %{thread} and %{env}.

<resin xmlns="http://caucho.com/ns/resin">

  <log name="" level="fine" path="stdout:"
       timestamp="[%H:%M:%S.%s] {%{thread} %{env}} "/>

  ...
</resin>

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