Chinaunix首页 | 论坛 | 博客
  • 博客访问: 454628
  • 博文数量: 36
  • 博客积分: 1365
  • 博客等级: 中尉
  • 技术积分: 780
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-12 11:30
文章分类

全部博文(36)

文章存档

2012年(3)

2011年(12)

2010年(21)

我的朋友

分类:

2010-03-19 14:39:36

1.安装好新版本的Tomcat, 安装路径以及文件夹不要有空格。
2.修改其端口为8081,以免与其他端口冲突。
3.为Server设置环境变量:
Variable name:IBM_WebSphere_Installation_Path
Variable value: D:\IBM\WebSphere\AppServer 即为Appserver的安装目录
4.在tomcat/bin 下面 找到start.bat文件,edit it.
在  :doneSetArgs  和   call "%EXECUTABLE%" start %CMD_LINE_ARGS% 两行之间加入:
set JAVA_HOME=%IBM_WebSphere_Installation_Path%\java
set JAVA_OPTS="-Djava.ext.dirs=%IBM_WebSphere_Installation_Path%\java\jre\lib\ext;%IBM_WebSphere_Installation_Path%\lib;%IBM_WebSphere_Installation_Path%\lib\ext;%IBM_WebSphere_Installation_Path%\properties;%IBM_WebSphere_Installation_Path%\lib\WMQ\java\lib"
5. cmd 到 FTPC的安装目录,执行命令:
 

java -cp DSDeployTools.jar com.datasweep.plantops.deploytools.WebClientConfig PlantOpsWebClient.war

WebSphere corbaloc:::,::

...:

例如:

java -cp DSDeployTools.jar com.datasweep.plantops.deploytools.WebClientConfig PlantOpsWebClient.war WebSphere corbaloc::w2k8wasnd01:2813,:w2k8wasnd02:2813
 

A series of messages will indicate whether the command ran successfully. If the command is successful, a backup copy of the PlantOpsWebClient.war file is created.

6. 如下步骤

1. Copy the configured PlantOpsWebClient.war file from the location where it

was configured to the servlet machine Tomcat\...\webapps directory.

2. In the left-hand menu of the Tomcat home page, click [Tomcat Manager] in

the Administration box.

3. If prompted, enter the username and password for the Tomcat administrator.

4. Under the War file to deploy section on the next page, browse to the location

of the PlantOpsWebClient.war file.

5. Click [Deploy]. After the application has been deployed, it appears in the list

of applications.

7. Use the below URL to verify.

阅读(1181) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~