Development.conf

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
 
Line 1: Line 1:
[[Category:Configuration]]
+
{{Cleanup}} [[Category:Configuration]]
  
 
==== conf/development.conf ====
 
==== conf/development.conf ====

Latest revision as of 21:17, 1 December 2011

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

Please visit http://www.caucho.com/documentation/ for the most up-to-date documentation.

conf/development.conf

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

  <resin:set var="http.port" default="8080"/>
  <resin:set var="log.level" default="fine"/>

  <log path="stdout:">
    <logger name="" level="${Var['log.level']}"/>
  </log>

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

    <http server-id="" host="*" port="${Var['http.port']}"/>

    <dependency-check-interval>2s</dependency-check-interval>

    <javac compiler="internal" args=""/>

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

    <resin:if test="${resin.isProfessional()}">
      <cache path="WEB-INF/work/cache" memory-size="8M"/>
    </resin:if>

    <web-app-default>
      <cache-mapping url-pattern="/" expires="5s"/>
      <cache-mapping url-pattern="*.gif" expires="60s"/>
      <cache-mapping url-pattern="*.jpg" expires="60s"/>

      <allow-servlet-el/>
    </web-app-default>

    <host id="">
      <web-app id="/">
        <session-config>
          <file-store>WEB-INF/work/sessions</file-store>
        </session-config>
      </web-app>
    </host>
  </server>
</resin>

See Also

IDE integration

Personal tools