Resin 3.0.2 Beta 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.19
Resin 3.0.18
Resin 3.0.17
Resin 3.0.16
Resin 3.0.15
Resin 3.0.14
Resin 3.0.13
Resin 3.0.12
Resin 3.0.11
Resin 3.0.10
Resin 3.0.9
Resin 3.0.8
Resin 3.0.7
Resin 3.0.6
Resin 3.0.5
Resin 3.0.4
Resin 3.0.3
Resin 3.0.2
Resin 3.0.1
Resin 3.0.0
Resin 3.0.3
Archive
Resin 3.0.1

  1. Overview
  2. Apache/IIS Plugins
  3. Configuration Changes
  4. Database Changes
    1. JCA
  5. JSP 2.0 and Servlet 2.4 drafts
  6. JMX 1.1
  7. Admin

Overview

Resin 3.0.2-beta is the final beta release of Resin 3.0.x. It is now feature-complete. Any bug you find in 3.0.2 is a real bug and should be reported in the bugtrack.

Because of the large number of changes, developers should stress test their application with Resin 3.0.2 thoroughly before deploying it.

The planned version naming scheme has changed back, so 3.0.3 is the first expected non-beta release.

Apache/IIS Plugins

Configuration for the web server plugins now uses a ResinConfigServer configuration, replacing the old CauchoConfigFile. CauchoConfigFile is no longer valid.

The plugins query a backend Resin configuration server for the configuration. The backend configuration server could be a different Resin instance from the production servers (although normally will be the same server) and can be clustered.

The ResinConfigServer is in the httpd.conf for Apache or resin.ini in the inetpub/scripts directory for IIS.

ResinConfigServer localhost 6802

Configuration Changes

Configuration for most resources has change to make them consistent. All resources use "jndi-name" to specify the JNDI name and "type" to specify the class (or type) of the resource.

Generic Bean resource example
<resource jndi-name="test/foo" type="test.Bean">
  <init>
    <value>4</value>
  </init>
</resource>

Database Changes

The database configuration has been cleaned up. Configuration tags for the driver itself is now distinct from configuration for the pool.

Database configuration
<database jndi-name="jdbc/test">
  <driver type="org.gjt.mm.mysql.Driver">
    <url>jdbc:mysql://localhost:3306/test</url>
    <user></user>
    <password></password>
  </driver>
  <max-connections>20</max-connections>
  <max-idle-time>30s</max-idle-time>
</database>

In addition, the <ping> tag now replaces <ping-on-idle>, <ping-on-free> and <ping-on-reuse>. In all cases, the ping occurs when the connection is reused. The <ping-interval> governs whether to ping or not. If the connection is reused within the <ping-interval>, it is not pinged. Only older idle connections are pinged.

JCA

Resin's database support now uses Resin's JCA implementation for connection pooling. This change should not be visible to applications, but is a major implementation change.

JSP 2.0 and Servlet 2.4 drafts

Resin 3.0.2 implements the current (3rd) drafts for both Servlet 2.4 and JSP 2.0.

JMX 1.1

Resin 3.0.2 now supports JMX 1.1. The JMX tutorials give a good overview.

Configuration with JMX uses the <resource> tag, like any other resource. Registering a resource with JMX simply involves adding an <mbean-name> tag (and implementing an *MBean.java interface.)

Resources can register as JMX listeners with the <listener> tag.

Resource added as MBean listener
<web-app xmlns="http://caucho.com/ns/resin">
  <resource mbean-name="example:name=emitter"
            type="example.Emitter">
  </resource>

  <resource mbean-name="example:name=listener"
            type="example.Listener">
    <listener mbean-name="example:name=emitter" handback="tutorial"/>
  </resource>
</web-app>

Admin

The ResinStatusServlet has been reimplemented as com.caucho.servlets.ResinStatusServlet.


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