刚刚成功试过resin启动,默认的root是resin的doc和admin的一个index页面。
现在想移植一个tomcat的web实例到resin来。于是想找eclipse的resin插件,结果发现不支持resin3.1, 再找了找还真没找到了。
没办法, 看看怎样直接在eclipse中用命令行运行好了。这倒好, resin的主页上有提供这个方法的教学:
http://wiki.caucho.com/IDE
引用
Starting Resin from within the IDE
Resin is started and stopped by the IDE. Console messages appear in the console window of the IDE.
IDE configurationvaluedescription
Classpathall of the jars in resin.home/lib, see Global Library|
Java argument-Djava.system.class.loader=com.caucho.loader.SystemClassLoader
Main classcom.caucho.server.resin.Resin
Program argument-conf conf/development.confSee development.conf
Program argument-server-root /path/to/webappThe location of the web-app
[edit] Additional configuration
Some systems require additional configuration, indicated by Resin error messages.
IDE configurationvaluedescription
Classpathjava.home/lib/tools.jarNeeded for compiling java files
Java argument-Dresin.home=/usr/local/resinNeeded if Resin cannot discover the value programmatically