Changes between Version 3 and Version 4 of kfhjdj
- Timestamp:
- 11/24/2011 06:13:06 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kfhjdj
v3 v4 7 7 8 8 == '''具体配置过程''' == 9 '''配置resin:'''[[BR]] 10 1.在 resin_mis.conf 里新建一个应用,如 mis2 的配置文件在 </host> 前加一行[[BR]] 11 <web-app id='/mis' document-directory="D:\workspace\mis2\src\web"/>[[BR]] 12 13 2.在 resin_mis.conf 文件中配置数据库。 14 9 15 '''配置Eclipse调试环境:'''[[BR]] 10 16 1选择Run->Run Configurations->新建Java Application。 11 17 [[BR]] 12 18 2.Man class:com.caucho.server.resin.Resin[[BR]] 13 Project:选择你的m aven war项目[[BR]]19 Project:选择你的mis2项目[[BR]] 14 20 [[Image(explam1.png)]] 15 21 16 3.Program arguments:-conf "D:\resin-3.0.25\conf\resin.conf"[[BR]] 17 VM arguments:-Dresin.home="D:\resin-3.0.25" -Djava.util.logging.manager=com.caucho.log.LogManagerImpl[[BR]] 22 3.Program arguments:-conf "D:\resin-3.0.14\conf\resin_mis.conf"[[BR]] 23 VM arguments:-Dresin.home="D:\resin-3.0.14" -Djava.util.logging.manager=com.caucho.log.LogManagerImpl[[BR]] 24 [[Image(explam2.png)]] 18 25 19 5.Classpath的Bootstrap Entries中,添加resin根目录下的lib文件夹中的所有jar,还有jdk lib下的tools.jar。保证User Entries中有项目文件夹和Maven Dependencis。 26 27 4.Classpath的Bootstrap Entries中,添加resin根目录下的lib文件夹中的所有jar,还有jdk lib下的tools.jar。[[BR]] 28 29 [[Image(explam3.png)]] 30 31 5.配置好之后点击“应用”按钮,然后点击下面的“运行”按钮即可运行该项目。并且在工具栏的 Run 工具下会多出一个刚才配置的 Resin2 运行。[[BR]] 32 33 [[Image(explam3.png)]] 34
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)