将Java应用程序从Jboss eap-6.3迁移到Wildfly 9

时间:2015-09-22 06:35:59

标签: java jboss wildfly

我正在尝试在服务器Wildfly 9上传输运行在服务器Jboss eap-6.3上的应用程序。

独立日志

{
    "WFLYCTL0080: Failed services" => {
        "jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of subdeployment \"calculator-ws-1.00.00.jar\" of deployment \"calculator-jee-1.00.00.ear\"
    Caused by: java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/XmlSchemaAllMember",
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl.Validator is missing [jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl]",
        "jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl.InstanceName is missing [jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl]",
        "jboss.deployment.unit.\"calculator-jee-1.00.00.ear\".WeldStartService is missing [jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".jndiDependencyService]",
        "jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".beanmanager]",
        "jboss.deployment.unit.\"calculator-jee-1.00.00.ear\".deploymentCompleteService is missing [jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".deploymentCompleteService]",
        "jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl]",
        "jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".batch.environment is missing [jboss.deployment.subunit.\"calculator-jee-1.00.00.ear\".\"calculator-ws-1.00.00.jar\".beanmanager]",
        "jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.\"calculator-jee-1.00.00\".\"calculator-ws-1.00.00\".WServicesServerDAOImpl]"
    ]
}

有人能帮助我吗?我是JBoss和Wildfly环境的新手

1 个答案:

答案 0 :(得分:0)

似乎您的应用程序需要包含在最新xmlschema-core中的org.apache.ws.commons.schema.XmlSchemaAllMember类。 您可以向应用程序添加依赖项。 祝你好运。