首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

windchill tomcat 设立

2012-08-28 
windchill tomcat 设置windchill系统实践之--本地tomcat调试设置(2010-04-06 10:29:48) 标签: 杂谈本地tom

windchill tomcat 设置
windchill系统实践之--本地tomcat调试设置(2010-04-06 10:29:48)
标签: 杂谈 
本地tomcat调试设置

原理:windchill前端就是一个普通的web app,tomcat中表达一个web app的配置就是使用<Context>元素

-<Context path="/Windchill" docBase="c:\ptc\Windchill_9.1\Windchill\codebase" debug="1" reloadable="true">

-此元素可以多种形式存在,详见tomcat configuration doc,这里使用windchill OOTB的配置方式


特点:

-实时调试在tomcat中运行的任何代码

-在eclipse中配置tomcat server,安装路径指向windchill安装的tomcat所在位置

-运行配置好的tomcat server,会在此server的路径中生成catalina.base目录

-eclipse中选择run->run configuration->你的tomcat server,在argurments选项卡中

vm argurments属性中可以找到catalina.base的具体路径

-将OOTB环境tomcat目录下的catlina目录拷贝到$catalina.base\conf目录下

-在eclipse中启动tomcat server就可以对运行在tomcat中的代码进行调试了

热点排行