Sample resin.conf

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{Cleanup}} [[Category:Configuration]]
==== resin.conf ====
==== resin.conf ====
Line 46: Line 46:
= Tags used =
= Directives used =
* <[[resin]]>
* <[[resin]]>

Latest revision as of 14:21, 1 December 2011

40px-Edit-clear.png This article requires cleanup and may refer to a legacy version of Resin.

Please visit for the most up-to-date documentation.


<resin xmlns=""
  <log name="" level="info" path="stdout:" timestamp="[%Y-%m-%d %H:%M:%S.%s] "/>

      <tree-loader path="${resin.home}/lib"/>
      <tree-loader path="${server.rootDir}/lib"/>

      <tree-loader path="${server.rootDir}/ext-webapp"/>


    <http server-id="" host="*" port="8080">

    <resin:import path="${resin.home}/conf/app-default.xml"/>

    <resin:if test="${resin.isProfessional()}">
      <cache memory-size="32m"/>

      <access-log archive-path="logs/%Y/access-%m%d.log"
                  format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'

    <database jndi-name="jdbc/test">
      <driver type="org.postgresql.Driver">

    <host id="" root-directory=".">
      <web-app-deploy expand-directory="webapps" archive-directory="webapps"/>

Directives used

Personal tools