<!--
   - Config file for MBean bug report
   - (this is a dev configuration for running the webapp from an eclipse project)
  -->
<resin xmlns="http://caucho.com/ns/resin"
       xmlns:resin="http://caucho.com/ns/resin/core">

  <!-- adds all .jar files under the resin/lib directory -->
  <class-loader>
    <tree-loader path="lib"/>
    <!-- loading all webapp dependencies in the root classloader is a workaround -->
    <tree-loader path="/path/to/webapp/WEB-INF/lib/"/>
  </class-loader>

  <log name="" path="logs/spring.log" timestamp="[%H:%M:%S.%s]" level="fine"/>

  <logger name="com.caucho.java" level="config"/>
  <logger name="com.caucho.loader" level="config"/>

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

  <system-property javax.xml.stream.XMLInputFactory="com.ctc.wstx.stax.WstxInputFactory"/> 
  <system-property javax.xml.stream.XMLOutputFactory="com.ctc.wstx.stax.WstxOutputFactory"/> 
  <system-property http.allowInvalidCertificates="true"/>

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

    <server>
      <!-- The http port -->
      <http server-id="" host="10.10.10.12" port="83"/>

    <database>
      <jndi-name>jdbc/crm/convio</jndi-name>
        <driver type="oracle.jdbc.driver.OracleDriver">
        <url>jdbc:oracle:thin:@localhost:1521:orcl</url>
        <user>crm</user>
        <password>crm</password>
       </driver>
       <prepared-statement-cache-size>100</prepared-statement-cache-size>
       <max-connections>12</max-connections>
       <max-idle-time>30s</max-idle-time>
     </database>

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

    <host id="">

      <web-app id="/1.0" root-directory="webapps/empty">

        <class-loader>
          <compiling-loader path="/path/to/project/target/classes"/>
          <!-- Loading these in the parent classloader instead -->
          <!-- <library-loader path="/path/to/webapp/WEB-INF/lib/"/>  -->

        </class-loader>
        <resin:import path="/path/to/project/src/main/webapp/WEB-INF/web.xml"/>
      </web-app>

    </host>

    </server>

</resin>

