| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 |
<tns:ServerRuntime |
|---|
| 3 |
xmlns:tns="http://eclipse.org/jst/server/generic/ServerTypeDefinition" |
|---|
| 4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 5 |
xsi:schemaLocation="http://eclipse.org/jst/server/generic/ServerTypeDefinition ServerTypeDefinitionSchema.xsd " |
|---|
| 6 |
name="Resin 3.1" version="v3.1"> |
|---|
| 7 |
<property id="serverRootDirectory" |
|---|
| 8 |
label="%ApplicationServerDirectory" |
|---|
| 9 |
type="directory" |
|---|
| 10 |
context="runtime" |
|---|
| 11 |
default="/resin_home" /> |
|---|
| 12 |
<property id="port" |
|---|
| 13 |
label="%serverPort" |
|---|
| 14 |
type="string" |
|---|
| 15 |
context="server" |
|---|
| 16 |
default="8080" /> |
|---|
| 17 |
|
|---|
| 18 |
<port> |
|---|
| 19 |
<no>${port}</no> |
|---|
| 20 |
<name>Http</name> |
|---|
| 21 |
<protocol>http</protocol> |
|---|
| 22 |
</port> |
|---|
| 23 |
|
|---|
| 24 |
<module> |
|---|
| 25 |
<type>jst.web</type> |
|---|
| 26 |
<publishDir>${serverRootDirectory}/webapps</publishDir> |
|---|
| 27 |
<publisherReference>org.eclipse.jst.server.generic.antpublisher</publisherReference> |
|---|
| 28 |
</module> |
|---|
| 29 |
<module> |
|---|
| 30 |
<type>jst.ejb</type> |
|---|
| 31 |
<publishDir>${serverRootDirectory}/deploy</publishDir> |
|---|
| 32 |
<publisherReference>org.eclipse.jst.server.generic.antpublisher</publisherReference> |
|---|
| 33 |
</module> |
|---|
| 34 |
<module> |
|---|
| 35 |
<type>jst.ear</type> |
|---|
| 36 |
<publishDir>${serverRootDirectory}/deploy</publishDir> |
|---|
| 37 |
<publisherReference>org.eclipse.jst.server.generic.antpublisher</publisherReference> |
|---|
| 38 |
</module> |
|---|
| 39 |
|
|---|
| 40 |
<project> |
|---|
| 41 |
<classpathReference>resin.project</classpathReference> |
|---|
| 42 |
</project> |
|---|
| 43 |
|
|---|
| 44 |
<start> |
|---|
| 45 |
<mainClass>com.caucho.server.resin.Resin</mainClass> |
|---|
| 46 |
<workingDirectory>${serverRootDirectory}</workingDirectory> |
|---|
| 47 |
<programArguments /> |
|---|
| 48 |
<vmParameters>-Djava.system.class.loader=com.caucho.loader.SystemClassLoader -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Declipse.jdt.http.port=${port} -Dresin.home=${serverRootDirectory} -Xms128m -Xmx512m -XX:MaxPermSize=256m</vmParameters> |
|---|
| 49 |
<classpathReference>resin</classpathReference> |
|---|
| 50 |
</start> |
|---|
| 51 |
|
|---|
| 52 |
<publisher id="org.eclipse.jst.server.generic.antpublisher"> |
|---|
| 53 |
<publisherdata> |
|---|
| 54 |
<dataname>build.file</dataname> |
|---|
| 55 |
<datavalue>/buildfiles/resin.xml</datavalue> |
|---|
| 56 |
</publisherdata> |
|---|
| 57 |
<publisherdata> |
|---|
| 58 |
<dataname>target.publish.jst.web</dataname> |
|---|
| 59 |
<datavalue>deploy.j2ee.web</datavalue> |
|---|
| 60 |
</publisherdata> |
|---|
| 61 |
<publisherdata> |
|---|
| 62 |
<dataname>target.publish.jst.ejb</dataname> |
|---|
| 63 |
<datavalue>deploy.j2ee.ejb</datavalue> |
|---|
| 64 |
</publisherdata> |
|---|
| 65 |
<publisherdata> |
|---|
| 66 |
<dataname>target.unpublish.jst.web</dataname> |
|---|
| 67 |
<datavalue>undeploy.j2ee.web</datavalue> |
|---|
| 68 |
</publisherdata> |
|---|
| 69 |
<publisherdata> |
|---|
| 70 |
<dataname>target.unpublish.jst.ejb</dataname> |
|---|
| 71 |
<datavalue>undeploy.j2ee.ejb</datavalue> |
|---|
| 72 |
</publisherdata> |
|---|
| 73 |
<publisherdata> |
|---|
| 74 |
<dataname>target.publish.jst.ear</dataname> |
|---|
| 75 |
<datavalue>deploy.j2ee.ear</datavalue> |
|---|
| 76 |
</publisherdata> |
|---|
| 77 |
<publisherdata> |
|---|
| 78 |
<dataname>target.unpublish.jst.ear</dataname> |
|---|
| 79 |
<datavalue>undeploy.j2ee.ear</datavalue> |
|---|
| 80 |
</publisherdata> |
|---|
| 81 |
</publisher> |
|---|
| 82 |
|
|---|
| 83 |
<classpath id="resin" > |
|---|
| 84 |
<archive path="${serverRootDirectory}/lib/activation.jar" /> |
|---|
| 85 |
<archive path="${serverRootDirectory}/lib/ejb-15.jar" /> |
|---|
| 86 |
<archive path="${serverRootDirectory}/lib/hessian.jar" /> |
|---|
| 87 |
<archive path="${serverRootDirectory}/lib/j2ee-management-10.jar" /> |
|---|
| 88 |
<archive path="${serverRootDirectory}/lib/javamail-141.jar" /> |
|---|
| 89 |
<archive path="${serverRootDirectory}/lib/jaxrpc-15.jar" /> |
|---|
| 90 |
<archive path="${serverRootDirectory}/lib/jaxws-api.jar" /> |
|---|
| 91 |
<archive path="${serverRootDirectory}/lib/jca-15.jar" /> |
|---|
| 92 |
<archive path="${serverRootDirectory}/lib/jms-11.jar" /> |
|---|
| 93 |
<archive path="${serverRootDirectory}/lib/jpa-15.jar" /> |
|---|
| 94 |
<archive path="${serverRootDirectory}/lib/jsdk-15.jar" /> |
|---|
| 95 |
<archive path="${serverRootDirectory}/lib/jsf-12.jar" /> |
|---|
| 96 |
<archive path="${serverRootDirectory}/lib/jsr88.jar" /> |
|---|
| 97 |
<archive path="${serverRootDirectory}/lib/jstl-11.jar" /> |
|---|
| 98 |
<archive path="${serverRootDirectory}/lib/jta-101.jar" /> |
|---|
| 99 |
<archive path="${serverRootDirectory}/lib/jws-15.jar" /> |
|---|
| 100 |
<archive path="${serverRootDirectory}/lib/portlet-10.jar" /> |
|---|
| 101 |
<archive path="${serverRootDirectory}/lib/quercus.jar" /> |
|---|
| 102 |
<archive path="${serverRootDirectory}/lib/resin-deploy.jar" /> |
|---|
| 103 |
<archive path="${serverRootDirectory}/lib/resin-util.jar" /> |
|---|
| 104 |
<archive path="${serverRootDirectory}/lib/resin.jar" /> |
|---|
| 105 |
<archive path="${serverRootDirectory}/lib/saaj.jar" /> |
|---|
| 106 |
<archive path="${serverRootDirectory}/lib/script-10.jar" /> |
|---|
| 107 |
<archive path="${serverRootDirectory}/lib/webbeans-16.jar" /> |
|---|
| 108 |
<archive path="${serverRootDirectory}/lib/webutil.jar" /> |
|---|
| 109 |
</classpath> |
|---|
| 110 |
|
|---|
| 111 |
<classpath id="resin.project" > |
|---|
| 112 |
<archive path="${serverRootDirectory}/lib/activation.jar" /> |
|---|
| 113 |
<archive path="${serverRootDirectory}/lib/ejb-15.jar" /> |
|---|
| 114 |
<archive path="${serverRootDirectory}/lib/hessian.jar" /> |
|---|
| 115 |
<archive path="${serverRootDirectory}/lib/j2ee-management-10.jar" /> |
|---|
| 116 |
<archive path="${serverRootDirectory}/lib/javamail-141.jar" /> |
|---|
| 117 |
<archive path="${serverRootDirectory}/lib/jaxrpc-15.jar" /> |
|---|
| 118 |
<archive path="${serverRootDirectory}/lib/jaxws-api.jar" /> |
|---|
| 119 |
<archive path="${serverRootDirectory}/lib/jca-15.jar" /> |
|---|
| 120 |
<archive path="${serverRootDirectory}/lib/jms-11.jar" /> |
|---|
| 121 |
<archive path="${serverRootDirectory}/lib/jpa-15.jar" /> |
|---|
| 122 |
<archive path="${serverRootDirectory}/lib/jsdk-15.jar" /> |
|---|
| 123 |
<archive path="${serverRootDirectory}/lib/jsf-12.jar" /> |
|---|
| 124 |
<archive path="${serverRootDirectory}/lib/jsr88.jar" /> |
|---|
| 125 |
<archive path="${serverRootDirectory}/lib/jstl-11.jar" /> |
|---|
| 126 |
<archive path="${serverRootDirectory}/lib/jta-101.jar" /> |
|---|
| 127 |
<archive path="${serverRootDirectory}/lib/jws-15.jar" /> |
|---|
| 128 |
<archive path="${serverRootDirectory}/lib/portlet-10.jar" /> |
|---|
| 129 |
<archive path="${serverRootDirectory}/lib/quercus.jar" /> |
|---|
| 130 |
<archive path="${serverRootDirectory}/lib/resin-deploy.jar" /> |
|---|
| 131 |
<archive path="${serverRootDirectory}/lib/resin-util.jar" /> |
|---|
| 132 |
<archive path="${serverRootDirectory}/lib/resin.jar" /> |
|---|
| 133 |
<archive path="${serverRootDirectory}/lib/saaj.jar" /> |
|---|
| 134 |
<archive path="${serverRootDirectory}/lib/script-10.jar" /> |
|---|
| 135 |
<archive path="${serverRootDirectory}/lib/webbeans-16.jar" /> |
|---|
| 136 |
<archive path="${serverRootDirectory}/lib/webutil.jar" /> |
|---|
| 137 |
</classpath> |
|---|
| 138 |
|
|---|
| 139 |
<jndiConnection> |
|---|
| 140 |
<providerUrl>jnp://${serverAddress}:1099/hessian</providerUrl> |
|---|
| 141 |
<initialContextFactory>com.caucho.hessian.HessianContextFactory</initialContextFactory> |
|---|
| 142 |
<jndiProperty> |
|---|
| 143 |
<name></name> |
|---|
| 144 |
<value></value> |
|---|
| 145 |
</jndiProperty> |
|---|
| 146 |
</jndiConnection> |
|---|
| 147 |
</tns:ServerRuntime> |
|---|