Migrate from 2.1 to 3.0

From Resin 3.0

Jump to: navigation, search

Corresponding Resin documentation is http://www.caucho.com/resin-3.0/features/migrate.xtp

The easiest way to migrate is to start with the resin.conf file that comes with Resin 3.0, and make incremental changes to it to duplicate the functionality in the old Resin 2.1 resin.conf file.


The <error-log> directive in Resin 2.1 configures the destination of ServletContext.log() messages and is also used for exceptions not caught by the application.

Resin 3.0 uses the [JDK logging facilities|config/log.xtp@resin-doc] for these messages. The behaviour of <error-log> can be duplicated with appropriate <log> and <logger> entries in resin.conf or web.xml:

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


  <log path="log/error.log">
    <logger name="com.caucho.server.webapp.ErrorPageManager" level="finer"/>
    <logger name="com.caucho.server.webapp.ServletContextImpl" level="finer"/>
Personal tools