将Websphere 7迁移到8.5.5

时间:2017-02-14 13:07:21

标签: migration websphere-8

我们有WebSphere Platform 7.0.0.19并尝试迁移到新的WebSphere Platform 8.5.5.11。 应用服务器无法启动,因为一些奇怪的错误:

[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R java.lang.NullPointerException
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R   at com.ibm.ws.management.commands.jca.J2CCommandHelper.getNewPropertyListFromComparison(J2CCommandHelper.java:384)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R   at com.ibm.ws.management.commands.jca.J2CCommandHelper.getNewPropertyListFromComparison(J2CCommandHelper.java:172)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R   at com.ibm.ws.management.application.task.ConfigureTask.reconcileJ2CObjects(ConfigureTask.java:885)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R   at com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:390)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R   at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:315)
[14.02.17. 13:53:50:504 CET] 000000a1 SystemErr     R   at java.lang.Thread.run(Thread.java:798)
EAR项目中的

application.xml包含这个显然有问题的模块。

<?xml version="1.0" encoding="UTF-8"?>
<application id="Application_ID" version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
    <display-name>
    myAppEAR</display-name>
    <module id="EjbModule_1222878922372">
        <ejb>myAppEJB.jar</ejb>
    </module>
    <module id="EjbModule_1222955615688">
        <ejb>Server.jar</ejb>
    </module>
    <module id="WebModule_1222955629907">
        <web>
            <web-uri>maAppWebServices.war</web-uri>
            <context-root>myAppWebServices</context-root>
        </web>
    </module>
    <module id="ConnectorModule_1222955641688">
        <connector>VagenConnector.rar</connector>
    </module>
    <security-role>
        <role-name>myApp</role-name>
    </security-role>
</application>

当ConnectorModule_1222955641688被删除时,它有效吗?

1 个答案:

答案 0 :(得分:0)

VagenConnector是独立项目,我们通过重新生成项目META-INF / ra.xml来解决问题。这是我们通过(右键点击项目)

完成的
J2EE -> Specifications Upgrade Wizard