本章节提供了一个示例,如何更新 WebSphere 部署的 SOAtest 和 Virtualize 服务器。有关新的安装说明,请查阅 WebSphere 示例部署 。

  1. 将工作空间文件夹从 <SOAVIRT_HOME>/<SOAVIRT_WAR>.ear/<SOAVIRT_WAR> 拷贝到临时位置。
  2. 将 config.properties 文件从 <SOAVIRT_HOME>/<SOAVIRT_WAR>.ear/<SOAVIRT_WAR>/WEB-INF 目录拷贝到临时位置。
  3. 进入 WebSphere 管理控制台 http://localhost:9060/ibm/console
  4. 选择 Applications> Application Types> WebSphere enterprise applications
  5. 选择 <SOAVIRT_WAR> 并单击 Stop
  6. 选择 <SOAVIRT_WAR> 并单击 Uninstall
  7. 然后单击 OK。卸载完成后,单击 Save directly to the master configuration
  8. 停止服务并删除 <SOAVIRT_HOME> 目录。
  9. 启动服务并安装新的 WAR 文件,如 WebSphere 示例部署 (steps 6-22)中所述。
  10. 将步骤 1 中保存的工作空间文件夹拷贝到 <SOAVIRT_HOME>/<SOAVIRT_WAR>.ear/<SOAVIRT_WAR> 目录。 
  11. 使用步骤 2 中的 config.properties 文件替换掉 <SOAVIRT_HOME>/<SOAVIRT_WAR>.ear/<SOAVIRT_WAR>/WEB-INF 目录中的 config.properties 文件。
  12. 打开 config.properties 文件并验证许可证配置。
  13. 重启服务。
  14. 浏览 http://<host>:<port> 并验证出现以下消息之一:

    No virtual asset or proxy found at this path: / 

    Enabled virtual assets:

    ...

    There are no deployments on this server. Cannot respond to this request: /.

  • No labels