<h4>RidolIDE+TPM安装运行</h4> <p><strong>一 、</strong><b>RidolIDE</b><strong>安装</strong></p> <blockquote> <p>1. 解压最新版的RidolIDE.zip到D盘。</p> <p>2. 将Oracle驱动 解压到D:\RiDolIDE\jboss\modules\com 文件夹下 。 </p> <p><a href="http://static.oschina.net/uploads/img/201307/09182421_kphE.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://static.oschina.net/uploads/img/201307/09182442_x2mQ.gif" width="76" height="50" /></a></p> <p>3. 将standalone.xml 文件拷贝D:\RiDolIDE\jboss\standalone\configuration文件夹下。</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182443_smqO.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://static.oschina.net/uploads/img/201307/09182443_DagG.gif" width="106" height="50" /></a></p> <p>4. Maven配置</p> <p>i. 将setting.xml拷贝到D:\RiDolIDE\maven\conf文件夹下</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182443_jIeg.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://static.oschina.net/uploads/img/201307/09182443_bpvR.gif" width="91" height="50" /></a></p> <p>ii. 启动RidolIDE的eclipse。设置Windows—Preference—Maven的选项如下图所示:</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182445_XLLs.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://static.oschina.net/uploads/img/201307/09182445_5nNp.jpg" width="244" height="110" /></a></p> <p>iii. 设置Windows—Preference—Maven—Archetype。点击Add Remote Catalog,添加Maven远程资源库地址,点击Verify验证,验证成功后点击Ok。</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182446_PP7O.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image010" border="0" alt="clip_image010" src="http://static.oschina.net/uploads/img/201307/09182446_ae6H.jpg" width="244" height="77" /></a></p> <p>Maven资源库地址:<a href="http://172.16.6.67/nexus/service/local/repositories/RiDol-releases/content/archetype-catalog.xml">http://172.16.6.67/nexus/service/local/repositories/RiDol-releases/content/archetype-catalog.xml</a></p> <p>iv. 设置Maven Build。打开Run—Run Configration—Maven Build。右键点击Maven Build,点击New。在Main标签页中设置Base directory 为${workspace_loc:/${project_name}} 。设置Goals为clean install。勾选Skip Tests。在Common标签页中勾选Run和Debug。</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182447_rzmR.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image012" border="0" alt="clip_image012" src="http://static.oschina.net/uploads/img/201307/09182448_SfWq.jpg" width="244" height="101" /></a></p> </blockquote> <p><b>二 、TPM安装</b><strong></strong></p> <blockquote> <p>1. 下载 TPM。打开eclipse的svn资源库 窗口。新建资源库位置: svn://172.16.128.142/TPM 。右键检出为—作为工作空间项目检出。</p> <p>2. 在eclipse的File—Import—General—Existing Project Into Workspace中,依次加入tpm-jsf,tpm-service,tpm-web 项目。</p> <p>3. 运行Maven Build—Clean & Install。由于是第一次运行Clean & Install,eclipse需要从Maven资源库下载TPM运行所需依赖包。待第一次Clean & Install 完成后,确认项目不报错,表明TPM依赖包下载完毕。</p> <p>4. 添加JBoss。在Server窗口中,右键New—Server。选择Jboss 7.x ,点击Finish。然后在JBoss 7.0 Runtime Server中添加tpm-jsf项目。</p> </blockquote> <p><b>三 、TPM运行</b><strong></strong></p> <blockquote> <p>1. 点击tpm项目,运行Maven Build—Clean & Install。</p> <p>2. 待Clean & Install 成功后(约30s),刷新tpm和tpm-jsf项目。</p> <p>3. 待刷新完成后(约5s),在Server窗口中,右键点击tpm-jsf项目,点击Full Publish。</p> <p>4. 待Full Publish 完成后(约5s),在Server窗口中,点击JBoss 7.0 Runtime Server,然后点击Run <a href="http://static.oschina.net/uploads/img/201307/09182448_fxg3.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image014" border="0" alt="clip_image014" src="http://static.oschina.net/uploads/img/201307/09182448_qLht.jpg" width="26" height="27" /></a>或者Debug<a href="http://static.oschina.net/uploads/img/201307/09182448_xUMG.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image016" border="0" alt="clip_image016" src="http://static.oschina.net/uploads/img/201307/09182448_8XOW.jpg" width="27" height="27" /></a>按钮。</p> <p>待Console 窗口输出完毕(约30s),并出现如下字样:</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182449_LBn5.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image018" border="0" alt="clip_image018" src="http://static.oschina.net/uploads/img/201307/09182450_9FFD.jpg" width="244" height="57" /></a></p> <p>则代表TPM运行成功。</p> <p>5. 在浏览器中输入 <a href="http://127.0.0.1:8080/tpm-jsf">http://127.0.0.1:8080/tpm-jsf</a> 。输入用户名 :admin,输入密码:111111,输入验证码,点击登录,即可登录到TPM系统。</p> </blockquote> <h4 align="center">RidolIDE安装运行BUG解决</h4> <table border="1" cellspacing="0" cellpadding="0"><tbody> <tr> <td width="11%"> <p><b>问题编号</b></p> </td> <td valign="top" width="48%"> <p><b>问题描述</b></p> </td> <td valign="top" width="40%"> <p><b>解决方案</b></p> </td> </tr> <tr> <td width="11%"> <p>RIDOL-0000001</p> </td> <td valign="top" width="48%"> <p>运行时Console报错:New Missing Ojdbc Driver.</p> </td> <td valign="top" width="40%"> <p>将Oracle驱动 解压到D:\RiDolIDE\jboss\modules\com 文件夹下</p> </td> </tr> <tr> <td width="11%"> <p>RIDOL-0000002</p> </td> <td valign="top" width="48%"> <p>Eclipse Markers错误:</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182450_hFCz.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image020" border="0" alt="clip_image020" src="http://static.oschina.net/uploads/img/201307/09182451_Dc8r.jpg" width="244" height="53" /></a></p> </td> <td valign="top" width="40%"> <p>1. 检查是否将setting.xml拷贝到D:\RiDolIDE\maven\conf文件夹下。</p> <p>2. 检查Windows—Preference—Maven选项是否勾选Down load Artifact resource和Download repository index updates on startup。</p> <p>3. 检查Windows—Preference—Maven—Archetype是否添加了远程资源库。</p> </td> </tr> <tr> <td width="11%"> <p>RIDOL-0000003</p> </td> <td valign="top" width="48%"> <p>Eclipse Markers错误:</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182451_z74r.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image022" border="0" alt="clip_image022" src="http://static.oschina.net/uploads/img/201307/09182452_LNjn.jpg" width="244" height="53" /></a></p> </td> <td valign="top" width="40%"> <p>Maven指向问题。检查Windows—Preference—Maven—User Settings 的路径是否是:</p> <p>D:\RiDolIDE\maven\conf\settings.xml</p> </td> </tr> <tr> <td width="11%"> <p>RIDOL-0000004</p> </td> <td valign="top" width="48%"> <p>Clean and Install 时 Maven资源包下载速度很慢。</p> </td> <td valign="top" width="40%"> <p>有可能是Maven服务器挂掉了。联系Maven服务器的维护人员。可先将Windows—Preference—Maven选项中的Offline勾选,离线使用。</p> </td> </tr> <tr> <td width="11%"> <p>RIDOL-0000005</p> </td> <td valign="top" width="48%"> <p>登陆时界面报错:系统异常。同时Console报错:</p> <p><a href="http://static.oschina.net/uploads/img/201307/09182452_orVC.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image024" border="0" alt="clip_image024" src="http://static.oschina.net/uploads/img/201307/09182452_TKH6.jpg" width="244" height="23" /></a></p> <p><a href="http://static.oschina.net/uploads/img/201307/09182452_ektq.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image026" border="0" alt="clip_image026" src="http://static.oschina.net/uploads/img/201307/09182453_Z5bp.jpg" width="244" height="24" /></a></p> </td> <td valign="top" width="40%"> <p>打开D:\RiDolIDE\jboss\standalone\deployments 文件夹。删除tpm-jsf.war和tpm-jsf.war.deployed。重新执行Clean &Install、刷新、Full Publish,Run Server 、登录 的流程。</p> </td> </tr> <tr> <td width="11%"> <p>RIDOL-0000006</p> </td> <td valign="top" width="48%"> <p>运行时卡在:<a href="http://static.oschina.net/uploads/img/201307/09182453_TOYj.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image028" border="0" alt="clip_image028" src="http://static.oschina.net/uploads/img/201307/09182453_f7Aq.jpg" width="244" height="18" /></a></p> <p><a href="http://static.oschina.net/uploads/img/201307/09182453_rWDL.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image030" border="0" alt="clip_image030" src="http://static.oschina.net/uploads/img/201307/09182454_HccB.jpg" width="244" height="26" /></a></p> <p><a href="http://static.oschina.net/uploads/img/201307/09182455_7cct.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image032" border="0" alt="clip_image032" src="http://static.oschina.net/uploads/img/201307/09182455_skso.jpg" width="244" height="21" /></a></p> <p>而不往下执行。</p> </td> <td valign="top" width="40%"> <p>关闭eclipse。关闭javaw进程。重新启动eclipse,重新运行项目。</p> </td> </tr> <tr> <td width="11%">RIDOL-0000007</td> <td valign="top" width="48%"><a href="http://static.oschina.net/uploads/img/201307/17153301_yBuU.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="QQ图片20130717152723" border="0" alt="QQ图片20130717152723" src="http://static.oschina.net/uploads/img/201307/17153301_XAvF.jpg" width="679" height="119" /></a> </td> <td valign="top" width="40%">暂无解方案</td> </tr> </tbody></table> <table border="0" cellspacing="0" cellpadding="2" width="1431"><tbody> <tr> <td valign="top" width="156"> </td> <td valign="top" width="695"> </td> <td valign="top" width="578"> </td> </tr> <tr> <td valign="top" width="156"> </td> <td valign="top" width="695"> </td> <td valign="top" width="578"> </td> </tr> <tr> <td valign="top" width="156"> </td> <td valign="top" width="695"> </td> <td valign="top" width="578"> </td> </tr> </tbody></table>
来源:oschina
链接:https://my.oschina.net/u/814492/blog/143513