在 Websphere 8.5 上安装 Ear 失败 [英] Ear installation fails on Websphere 8.5

查看:27
本文介绍了在 Websphere 8.5 上安装 Ear 失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过管理员在 WebSphere Platform 8.5.5.2 上安装一个在 WebSphere Platform 7.0.0.17 版本中运行的 .ear.所以基本上它是升级到更高版本的 websphere 的过程由于版本差异,我预计它会安装但不会部署.

I am trying to install an .ear which was running in WebSphere Platform 7.0.0.17 version on WebSphere Platform 8.5.5.2 via admin. So basically its an upgrade process to higher version of websphere I expected it to install but not deploy because of the version difference.

SystemErr.log 显示了这一点.

SystemErr.log shows this.

<代码>

**************** 结束显示当前环境************[1/7/15 17:57:32:077 GMT+05:30] 000000a8 SystemErr R java.lang.StringIndexOutOfBoundsException[1/7/15 17:57:32:077 GMT+05:30] 000000a8 SystemErr R 在 java.lang.String.substring(String.java:1256)[1/7/15 17:57:32:077 GMT+05:30] 000000a8 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.updateModuleNameUniqueness(ConfigureTask.java:3331)[1/7/15 17:57:32:078 GMT+05:30] 000000a8 SystemErr R 在 com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:373)[1/7/15 17:57:32:078 GMT+05:30] 000000a8 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:315)[1/7/15 17:57:32:078 GMT+05:30] 000000a8 SystemErr R 在 java.lang.Thread.run(Thread.java:853)

************* End Display Current Environment ************* [1/7/15 17:57:32:077 GMT+05:30] 000000a8 SystemErr R java.lang.StringIndexOutOfBoundsException [1/7/15 17:57:32:077 GMT+05:30] 000000a8 SystemErr R at java.lang.String.substring(String.java:1256) [1/7/15 17:57:32:077 GMT+05:30] 000000a8 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.updateModuleNameUniqueness(ConfigureTask.java:3331) [1/7/15 17:57:32:078 GMT+05:30] 000000a8 SystemErr R at com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:373) [1/7/15 17:57:32:078 GMT+05:30] 000000a8 SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:315) [1/7/15 17:57:32:078 GMT+05:30] 000000a8 SystemErr R at java.lang.Thread.run(Thread.java:853)

SystemOut.log<代码>[1/7/15 17:57:01:255 GMT+05:30] 0000008f FileRepositor A ADMR0010I:修改文档单元/MyApp01Cell/nodes/MyAppNode01/serverindex.xml.[1/7/15 17:57:23:416 GMT+05:30] 000000a8 InstallSchedu I ADMA5016I:小程序安装开始.[1/7/15 17:57:31:624 GMT+05:30] 000000a8 WSDeployTask A WSWS0041I:Web 服务部署任务成功完成.[1/7/15 17:57:32:035 GMT+05:30] 000000a8 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:在/usr/local/IBM/WebSphere8.5.5 上发出的 FFDC 事件.2/AppServer/profiles/MyApp/logs/ffdc/server1_83d7abd6_15.01.07_17.57.31.9457226982159431677167.txt com.ibm.ws.management.application.task.ConfigureTask.performTask 47[1/7/15 17:57:32:076 GMT+05:30] 000000a8 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:在/usr/local/IBM/WebSphere8.5.5 上发出的 FFDC 事件.2/AppServer/profiles/MyApp/logs/ffdc/server1_83d7abd6_15.01.07_17.57.32.0367510307927570797580.txt com.ibm.ws.management.application.task.ConfigureTask4.performTask 48[1/7/15 17:57:32:110 GMT+05:30] 000000a8 InstallSchedu I ADMA5014E:应用程序小程序安装失败.也产生了 FFDC 事件,但我无法做到.

SystemOut.log [1/7/15 17:57:01:255 GMT+05:30] 0000008f FileRepositor A ADMR0010I: Document cells/MyApp01Cell/nodes/MyAppNode01/serverindex.xml is modified. [1/7/15 17:57:23:416 GMT+05:30] 000000a8 InstallSchedu I ADMA5016I: Installation of applet started. [1/7/15 17:57:31:624 GMT+05:30] 000000a8 WSDeployTask A WSWS0041I: Web services deploy task completed successfully. [1/7/15 17:57:32:035 GMT+05:30] 000000a8 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/local/IBM/WebSphere8.5.5.2/AppServer/profiles/MyApp/logs/ffdc/server1_83d7abd6_15.01.07_17.57.31.9457226982159431677167.txt com.ibm.ws.management.application.task.ConfigureTask.performTask 471 [1/7/15 17:57:32:076 GMT+05:30] 000000a8 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/local/IBM/WebSphere8.5.5.2/AppServer/profiles/MyApp/logs/ffdc/server1_83d7abd6_15.01.07_17.57.32.0367510307927570797580.txt com.ibm.ws.management.application.task.ConfigureTask.performTask 484 [1/7/15 17:57:32:110 GMT+05:30] 000000a8 InstallSchedu I ADMA5014E: The installation of application applet failed. FFDC Incident is also generated but I am unable to make much of it.

有人打过这个吗?可以指点一下吗?

Did someone hit this? Can you give me some pointers?

FFDC 事件日志的一部分...

Part of the FFDC incident log ...

[1/7/15 17:57:31:956 GMT+05:30]     FFDC Exception:java.lang.StringIndexOutOfBoundsException SourceId:com.ibm.ws.management.application.task.ConfigureTask.performTask ProbeId:471 Reporter:java.lang.Class@9b9b49c0
java.lang.StringIndexOutOfBoundsException
at java.lang.String.substring(String.java:1256)
at com.ibm.ws.management.application.task.ConfigureTask.updateModuleNameUniqueness(ConfigureTask.java:3331)
at com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:373)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:315)
at java.lang.Thread.run(Thread.java:853)

CapturedDataElements begin
arg0 BEGIN:com.ibm.ws.management.application.task.ConfigureTask@670e3ba3
com.ibm.websphere.management.application.task.AbstractTask::defaultBundleName:com.ibm.ws.management.resources.AppDeploymentMessages
com.ibm.websphere.management.application.task.AbstractTask::locale BEGIN:java.util.Locale@6a518946
en_US
END:java.util.Locale@6a518946

com.ibm.websphere.management.application.task.AbstractTask::appTaskName:InstallApplication
com.ibm.websphere.management.application.task.AbstractTask::bundle:null
com.ibm.websphere.management.application.task.AbstractTask::scheduler BEGIN:com.ibm.ws.management.application.InstallSchedulerImpl@6fdc620f
com.ibm.ws.management.application.SchedulerImpl::tc BEGIN:com.ibm.ejs.ras.TraceComponent@b6ad5ebc
com.ibm.ejs.ras.TraceElement::ivLevel:10
com.ibm.ejs.ras.TraceElement::ivName:com.ibm.ws.management.application.SchedulerImpl
com.ibm.ejs.ras.TraceElement::ivDebugEnabled:false
com.ibm.ejs.ras.TraceElement::ivEventEnabled:false
com.ibm.ejs.ras.TraceElement::ivEntryEnabled:false
com.ibm.ejs.ras.TraceElement::ivDetailEnabled:false
com.ibm.ejs.ras.TraceElement::ivConfigEnabled:false
com.ibm.ejs.ras.TraceElement::ivInfoEnabled:true
com.ibm.ejs.ras.TraceElement::ivServiceEnabled:true
com.ibm.ejs.ras.TraceElement::ivWarningEnabled:true
com.ibm.ejs.ras.TraceElement::ivErrorEnabled:true
com.ibm.ejs.ras.TraceElement::ivFatalEnabled:true
com.ibm.ejs.ras.TraceComponent::defaultMessageFile:com.ibm.ejs.resources.seriousMessages
com.ibm.ejs.ras.TraceComponent::EXTENSION_NAME_DPID:DiagnosticProvider
com.ibm.ejs.ras.TraceComponent::ivDumpEnabled:false
com.ibm.ejs.ras.TraceComponent::ivResourceBundleName:com.ibm.ws.management.resources.AppDeploymentMessages
com.ibm.ejs.ras.TraceComponent::ivLogger:null
com.ibm.ejs.ras.TraceComponent::ivDiagnosticProviderID:null
com.ibm.ejs.ras.TraceComponent::anyTracingEnabled:null
END:com.ibm.ejs.ras.TraceComponent@b6ad5ebc

应用程序.xml

<application>
    <display-name>Product applet</display-name>
    <module>    
        <web>
            <web-uri>my_war</web-uri>
            <context-root>applet</context-root>
        </web>
    </module>
</application>

推荐答案

application.xml 关联的模块中应该包含带有扩展名的模块名称(例如.war、.jar、.rar).请参阅 application.xml 模式文件中的说明:

In the application.xml associated modules should contain module name with the extension (eg. .war, .jar, .rar). See the description in the application.xml schema file:

web-uri 元素指定了 Web 应用程序文件的 URI,相对于应用程序包的顶层.

The web-uri element specifies the URI of a web application file, relative to the top level of the application package.

所以在你的情况下你应该有:

So in your case you should have:

<web-uri>my_war.war</web-uri>

如果.ear中包含的文件被称为my_war.war

if the file contained in the .ear is called my_war.war

这篇关于在 Websphere 8.5 上安装 Ear 失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆