javax.servlet.UnavailableException:在Websphere中找不到应用程序包

时间:2014-04-10 11:23:47

标签: websphere-7

我在WEBSPHERE上部署了一个应用程序,该应用程序已启动并正在运行。

之后我为这个应用程序应用了一个补丁(补丁将替换web.xml, jar's, class部署目录下的<IBM_INST>/profiles/<APPDERVER>/installedApps等文件。我可以看到应用程序在补丁应用后启动。

但是,当我启动url时,我会低于错误消息

Error 404: javax.servlet.UnavailableException: Can't find application bundle. You can either define WOROOT, LOCALROOT and WOAINSTALLROOT as Java system properties (e.g. in your application server's launch script as command line arguments) or in the application Deployment Descriptor file (web.xml).

我已验证web.xml。看起来很好。

注意: - 如果我使用*.war文件重新部署,则可以正常工作。

1 个答案:

答案 0 :(得分:0)

你不能(或至少,不应该)去补丁&#34;直接修改installedApps下的文件的WebSphere应用程序。您必须通过以下方式之一进行:

  1. 以交互方式,通过WAS管理界面。

  2. 通过脚本编写,通过AdminApp.update命令(或通过WAS 7.0以后提供的AdminApplication帮助程序脚本)

相关问题