setup: enterprise.conf

File enterprise.conf, 1.8 KB (added by liaojunqiang, 14 years ago)
Line 
1
2<resin xmlns="http://caucho.com/ns/resin" xmlns:resin="http://caucho.com/ns/resin/core">
3    <log name="" level="info" path="stdout:"/>
4    <cluster id="">
5        <server id="" port="6801">
6                <http port="80"/>
7      <jvm-arg>-Xmx256m</jvm-arg>
8      <jvm-arg>-Xss1m</jvm-arg>
9          <jvm-arg>-XX:MaxPermSize=256m</jvm-arg>
10      <jvm-arg>-Xdebug</jvm-arg>
11      <jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
12      <jvm-arg>-Xnoagent</jvm-arg>
13      <jvm-arg>-Djava.compiler=NONE</jvm-arg>
14          <jvm-arg>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345</jvm-arg>
15
16        </server>
17       
18                <database>
19           <jndi-name>jdbc/common2DataSource</jndi-name>
20           <driver type="oracle.jdbc.driver.OracleDriver">
21             <url>jdbc:oracle:thin:@192.168.74.5:1521:test745</url>
22             <user>common_app</user>
23             <password>common_app</password>
24            </driver>
25            <prepared-statement-cache-size>8</prepared-statement-cache-size>
26            <max-connections>20</max-connections>
27            <max-idle-time>30s</max-idle-time>
28          </database>
29    <database>
30                <jndi-name>jdbc/eyp</jndi-name><!--com.p6spy.engine.spy.P6SpyDriver,oracle.jdbc.driver.OracleDriver-->
31                <driver type="oracle.jdbc.driver.OracleDriver">
32                        <url>jdbc:oracle:thin:@192.168.74.9:1521:testdb</url>
33                        <user>cyp_nw_app</user>
34                        <password>cyp_nw_app</password>
35                </driver>
36                <prepared-statement-cache-size>8</prepared-statement-cache-size>
37                <max-connections>50</max-connections>
38                <max-idle-time>30s</max-idle-time>
39        </database>
40
41        <resin:import path="${resin.home}/conf/app-default.xml"/>
42
43        <host id="" root-directory=".">
44            <web-app id="/" root-directory="D:\webdev\workspace\enterprise\build\web">
45            </web-app>
46        </host>
47    </cluster>
48</resin>
49
50