简体   繁体   English

耳朵安装在Websphere 8.5上失败

[英]Ear installation fails on Websphere 8.5

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. 我正在尝试通过管理员安装在WebSphere Platform 8.5.5.2上的WebSphere Platform 7.0.0.17版本中运行的.ear。 So basically its an upgrade process to higher version of websphere I expected it to install but not deploy because of the version difference. 因此,基本上,它是升级到更高版本的Websphere的过程,我希望它可以安装但由于版本差异而不能部署。

SystemErr.log shows this. SystemErr.log显示了这一点。

************* 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: 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. 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. [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. FFDC事件也已生成,但是我做不到很多。

Did someone hit this? 有人打过这个吗? Can you give me some pointers? 你能给我一些指导吗?

Part of the FFDC incident log ... FFDC事件日志的一部分...

[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

Application.xml 的Application.xml

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

In the application.xml associated modules should contain module name with the extension (eg. .war, .jar, .rar). application.xml关联的模块应包含带有扩展名的模块名称(例如.war,.jar,.rar)。 See the description in the application.xml schema file : 请参阅application.xml 模式文件中的描述:

The web-uri element specifies the URI of a web application file, relative to the top level of the application package. web-uri元素指定相对于应用程序包顶层的Web应用程序文件的URI。

So in your case you should have: 因此,在您的情况下,您应该具有:

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

if the file contained in the .ear is called my_war.war 如果.ear包含的文件称为my_war.war

I used the adding .war workaround suggested by @Gas and my application comes up. 我使用了@Gas建议的添加.war解决方法,并且我的应用程序启动了。 However, I still have to find the documentation from IBM to confirm. 但是,我仍然必须从IBM查找文档进行确认。

Thanks. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Websphere 8.5 jdk 7安装 - Websphere 8.5 jdk 7 installation Servlet 2.5版本的耳朵无法在Websphere 8.5中启动 - Servlet 2.5 version ear does not start in Websphere 8.5 映像不是来自部署在WebSphere 8.5上的.EAR的 - Image not coming up from .EAR deployed on WebSphere 8.5 使用ANT生成的EAR在Websphere 8.5上不起作用 - EAR generated using ANT doesn't work on Websphere 8.5 EAR应用程序适用于Websphere8.5,但拒绝使用Websphere liberty 16.0.0.4 - EAR application works on Websphere8.5 but refuses to work on Websphere liberty 16.0.0.4 Websphere 8.5安装-Windows 8上的Windows Vista管理特权错误 - Websphere 8.5 Installation - Windows Vista Administrative Privileges Error on Windows 8 将WAR文件上传到Websphere 8.5时显示错误“ EAR文件可能已损坏和/或不完整。”和“标记失败” - Uploading WAR file to websphere 8.5 give the error “The EAR file could be corrupt and/or incomplete.” and “Failed to mark” 如何使用wsadmin通过命令行在WebSphere Application Server v.8.5中安装(或卸载)EAR? - How do I install (or uninstall) an EAR in WebSphere Application Server v.8.5 via command line, using wsadmin? Websphere 8.5中的负载平衡 - load balancing in websphere 8.5 WebSphere 8.5 中的 changeSessionIdOnAuthentication? - changeSessionIdOnAuthentication in WebSphere 8.5?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM