http://wiki4.caucho.com/index.php?title=Resin_4_and_Eclipse&feed=atom&action=historyResin 4 and Eclipse - Revision history2024-03-28T08:55:46ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki4.caucho.com/index.php?title=Resin_4_and_Eclipse&diff=532&oldid=prevRick at 00:00, 27 April 20122012-04-27T00:00:00Z<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 00:00, 27 April 2012</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: #eee; color:black; font-size: smaller;"><div>[[Category:IDE]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:IDE]]</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: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Resin has a</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">This needs to be updated.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">[[http://wiki3.caucho.com/IDE The original with screen shots is here]]</ins></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>= Eclipse =</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>= Eclipse =</div></td></tr>
</table>Rickhttp://wiki4.caucho.com/index.php?title=Resin_4_and_Eclipse&diff=531&oldid=prevRick: Created page with "Category:IDE Resin has a = Eclipse = {{:Integrating with Eclipse}} = General Principles = == Starting Resin == Two styles find favor with developers. Remote debugg..."2012-04-27T00:00:00Z<p>Created page with "<a href="/index.php?title=Category:IDE&action=edit&redlink=1" class="new" title="Category:IDE (page does not exist)">Category:IDE</a> Resin has a = Eclipse = {{:Integrating with Eclipse}} = General Principles = == Starting Resin == Two styles find favor with developers. Remote debugg..."</p>
<p><b>New page</b></p><div>[[Category:IDE]]<br />
<br />
Resin has a<br />
<br />
= Eclipse =<br />
<br />
{{:Integrating with Eclipse}}<br />
<br />
= General Principles = <br />
<br />
== Starting Resin ==<br />
<br />
Two styles find favor with developers. Remote debugging is used to debug a standalone instance of Resin. Starting Resin from within the IDE gives control of the startup and shutdown of the Resin server to the IDE.<br />
<br />
=== Remote Debugging ===<br />
<br />
Resin is started in a console window, with a remote debugging port enabled. The IDE is configured to attach to the remote debugging port. Resin's builtin facilities for detecting changes to web applications (.class and .java files, .jsp files, etc) enable the Resin server to stay synchronized with changes made in the IDE.<br />
<br />
win> httpd.exe -Xdebug -Xrunjdwp:transport=dt_socket,address=9080,server=y,suspend=n ...<br />
<br />
unix> bin/httpd.sh -Xdebug -Xrunjdwp:transport=dt_socket,address=9080,server=y,suspend=n ...<br />
<br />
The conf file described in [[development.conf]] is well suited for development of one web application.<br />
<br />
win> httpd.exe -server-root /path/to/webapp -Xdebug <br />
-Xrunjdwp:transport=dt_socket,address=9080,server=y,suspend=n <br />
-J-ea -conf conf/development.conf<br />
<br />
unix> bin/httpd.sh -server-root /path/to/webapp -Xdebug <br />
-Xrunjdwp:transport=dt_socket,address=9080,server=y,suspend=n <br />
-J-ea -conf conf/development.conf<br />
<br />
== Starting Resin from within the IDE ==<br />
<br />
Resin is started and stopped by the IDE. Console messages appear in the console window of the IDE.<br />
<br />
{|<br />
!IDE configuration||value||description<br />
|-<br />
|Classpath||all of the jars in [[resin.home]]/lib, see [[Global Library]]|<br />
|-<br />
|Java argument||-Djava.system.class.loader=com.caucho.loader.SystemClassLoader||<br />
|-<br />
|Main class||com.caucho.server.resin.Resin||<br />
|-<br />
|Program argument||-conf conf/development.conf||See [[development.conf]]<br />
|-<br />
|Program argument||-server-root /path/to/webapp||The location of the web-app<br />
|}<br />
<br />
== Additional configuration ==<br />
<br />
Some systems require additional configuration, indicated by Resin error messages.<br />
<br />
{|<br />
!IDE configuration||value||description<br />
|-<br />
|Classpath||[[java.home]]/lib/tools.jar||Needed for compiling java files<br />
|-<br />
|Java argument||-Dresin.home=/usr/local/resin||Needed if Resin cannot discover the value programmatically<br />
|}<br />
<br />
== Development resin.conf ==<br />
<br />
[[development.conf]] describes a typical [[configuration]] file used for development purposes.<br />
<br />
= See also=<br />
<br />
* [[Global Library]]<br />
* [[Command Line Options]]<br />
* [[development.conf]]<br />
* [[Starting Resin with java]]</div>Rick