http://wiki3.caucho.com/index.php?title=Development.conf&feed=atom&action=history
Development.conf - Revision history
2024-03-29T11:32:36Z
Revision history for this page on the wiki
MediaWiki 1.18.0
http://wiki3.caucho.com/index.php?title=Development.conf&diff=4216&oldid=prev
Pcowan at 21:17, 1 December 2011
2011-12-01T21:17:02Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 21:17, 1 December 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>[[Category:Configuration]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">{{Cleanup}} </ins>[[Category:Configuration]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== conf/development.conf ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== conf/development.conf ====</div></td></tr>
</table>
Pcowan
http://wiki3.caucho.com/index.php?title=Development.conf&diff=1617&oldid=prev
Ferg at 18:47, 21 December 2005
2005-12-21T18:47:39Z
<p></p>
<p><b>New page</b></p><div>[[Category:Configuration]]<br />
<br />
==== conf/development.conf ====<br />
<!--<br />
- Alternative to resin.conf, suited for development.<br />
-<br />
- Start Resin with:<br />
-<br />
- httpd.exe -server-root /path/webapp -J-ea -Xdebug -conf conf/development.conf <br />
- bin/httpd.sh -server-root /path/webapp -J-ea -Xdebug -conf conf/development.conf <br />
-<br />
- Command Line Options:<br />
-<br />
- -server-root path Path to web application, required<br />
-<br />
- -Dhttp.port=8080 The http port to listen on, default is `8080'<br />
-<br />
- -Dlog.level=fine Logging level, `info' `fine' `finest' etc,<br />
- default `fine'<br />
-<br />
- -J-ea Enable assertions<br />
-<br />
- -Xdebug Enable HotSwap class reloading<br />
- <br />
- File layout of web application /path/to/webapp/... is:<br />
-<br />
- index.html Corresponds to http://localhost:8080/index.html<br />
- or http://localhost:8080/<br />
-<br />
- index.jsp Corresponds to http://localhost:8080/index.jsp<br />
- or http://localhost:8080/<br />
-<br />
- WEB-INF/ Directory for configuration, hidden from browser.<br />
-<br />
- WEB-INF/resin-web.xml Web application specific configuration<br />
-<br />
- WEB-INF/web.xml Standard J2EE web application specific<br />
- configuration for portability to other<br />
- servlet/jsp containers.<br />
-<br />
- WEB-INF/classes/... Directory for .java files.<br />
- Resin automatically compiles these when <br />
- they change.<br />
-<br />
- For example:<br />
- WEB-INF/clasess/example/HelloWorldServlet.java<br />
- => WEB-INF/clasess/example/HelloWorldServlet.class<br />
-<br />
--><br />
<resin xmlns="http://caucho.com/ns/resin"<br />
xmlns:resin="http://caucho.com/ns/resin/core"><br />
<br />
<resin:set var="http.port" default="8080"/><br />
<resin:set var="log.level" default="fine"/><br />
<br />
<log path="stdout:"><br />
<logger name="" level="${Var['log.level']}"/><br />
</log><br />
<br />
<server><br />
<class-loader><br />
<tree-loader path="${resin.home}/lib"/><br />
</class-loader><br />
<br />
<http server-id="" host="*" port="${Var['http.port']}"/><br />
<br />
<dependency-check-interval>2s</dependency-check-interval><br />
<br />
<javac compiler="internal" args=""/><br />
<br />
<resin:import path="${resin.home}/conf/app-default.xml"/><br />
<br />
<resin:if test="${resin.isProfessional()}"><br />
<cache path="WEB-INF/work/cache" memory-size="8M"/><br />
</resin:if><br />
<br />
<web-app-default><br />
<cache-mapping url-pattern="/" expires="5s"/><br />
<cache-mapping url-pattern="*.gif" expires="60s"/><br />
<cache-mapping url-pattern="*.jpg" expires="60s"/><br />
<br />
<allow-servlet-el/><br />
</web-app-default><br />
<br />
<host id=""><br />
<web-app id="/"><br />
<session-config><br />
<file-store>WEB-INF/work/sessions</file-store><br />
</session-config><br />
</web-app><br />
</host><br />
</server><br />
</resin><br />
<br />
= See Also =<br />
<br />
[[IDE]] integration</div>
Ferg