java 启动 WAS7.0 中部署的应用程序时出错

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7474748/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 20:08:52  来源:igfitidea点击:

Error on starting the application deployed in WAS7.0

javawebsphere-7

提问by SSM

I have deployed a war file in Websphere 7.0 console . Deployment was successful . On starting the application throws error as " Failed to Start "

我已经在 Websphere 7.0 控制台中部署了一个War文件。部署成功。在启动应用程序时抛出错误为“无法启动”

Error logs are as below.

错误日志如下。

[9/19/11 12:50:36:679 EDT] 0000001f CompositionUn A   WSVR0190I: Starting composition unit WebSphere:cuname=EPROVIDER in BLA WebSphere:blaname=EPROVIDER.
[9/19/11 12:50:36:694 EDT] 0000001f ApplicationMg A   WSVR0200I: Starting application: EPROVIDER
[9/19/11 12:50:36:694 EDT] 0000001f ApplicationMg A   WSVR0204I: Application: EPROVIDER  Application build level: Unknown
[9/19/11 12:50:37:038 EDT] 0000001f ApplicationMg E   WSVR0101W: An error occurred starting, EPROVIDER
[9/19/11 12:50:37:038 EDT] 0000001f ApplicationMg A   WSVR0217I: Stopping application: EPROVIDER
[9/19/11 12:50:37:038 EDT] 0000001f ApplicationMg A   WSVR0220I: Application stopped: EPROVIDER
[9/19/11 12:50:37:038 EDT] 0000001f CompositionUn E   WSVR0194E: Composition unit WebSphere:cuname=EPROVIDER in BLA WebSphere:blaname=EPROVIDER failed to start.
[9/19/11 12:50:37:038 EDT] 0000001f MBeanHelper   E   Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=server1,platform=proxy,node=L67695M1Node02,version=7.0.0.11,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=L67695M1Node02Cell,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.NullPointerException

回答by Pat B

You need to give us more info pal.

你需要给我们更多的信息朋友。

If you provide us with the full console log, we could surely help.

如果您向我们提供完整的控制台日志,我们肯定可以提供帮助。

You can find the log of the server here : C:*Your installed directory*\IBM\SDP75\runtimes\base_v7\profiles*YourProfile*\logs*yourServerName* and the file is startServer.log.

您可以在此处找到服务器的日志:C:*您的安装目录*\IBM\SDP75\runtimes\base_v7\profiles*YourProfile*\logs*yourServerName*,文件为 startServer.log。

You can also try this :

你也可以试试这个:

  1. Stop the server.
  2. Manually delete temp and wstemp directories under your profile directory.
  3. Clean publish.
  1. 停止服务器。
  2. 手动删除配置文件目录下的 temp 和 wstemp 目录。
  3. 干净发布。

Good luck

祝你好运