EAP 5 HAR (Hibernate Archive) migration fails due to missing/unavailable dependencies in EAP 6

Solution Unverified - Updated -

Issue

  • While deploying a HAR (Hibernate Archive developed in EAP 5) to EAP 6 fails to deploy
13:00:22,208 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"testrap.jar\".component.xyz_test.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testrap.jar\".component.xyz_test.START: Failed to start service
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Destination is mandatory
    Caused by: javax.resource.spi.InvalidPropertyException: Destination is mandatory","jboss.deployment.unit.\"testrap.jar\".component.olr_bela_test.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testrap.jar\".component.olr_bela_test.START: Failed to start service
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Destination is mandatory
    Caused by: javax.resource.spi.InvalidPropertyException: Destination is mandatory","jboss.deployment.unit.\"testrap.jar\".component.one_test.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testrap.jar\".component.one_test.START: Failed to start service
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Destination is mandatory
    Caused by: javax.resource.spi.InvalidPropertyException: Destination is mandatory","jboss.deployment.unit.\"testrap.jar\".component.TestMDB.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testrap.jar\".component.TestMDB.START: Failed to start service
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Destination is mandatory
    Caused by: javax.resource.spi.InvalidPropertyException: Destination is mandatory","jboss.deployment.unit.\"testrap.jar\".component.two_test.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testrap.jar\".component.two_test.START: Failed to start service
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Destination is mandatory
    Caused by: javax.resource.spi.InvalidPropertyException: Destination is mandatory","jboss.deployment.unit.\"testrap.jar\".component.three_test.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"testrap.jar\".component.three_test.START: Failed to start service
    Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException: Destination is mandatory
    Caused by: javax.resource.spi.InvalidPropertyException: Destination is mandatory"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.mbean.service.\"jboss.jca:service=HibernateFactory,                             name=HibernateFactory\".start Missing[jboss.mbean.service.\"jboss.jca:service=LocalTxCM,name=TestDS\".start]","jboss.mbean.registration.\"jboss.jca:service=HibernateFactory,                             name=HibernateFactory\" Missing[JBAS014861: <one or more transitive dependencies>]","jboss.mbean.service.\"jboss.jca:service=HibernateFactory,                             name=HibernateFactory\".create Missing[jboss.mbean.service.\"jboss.jca:service=LocalTxCM,name=TestDS\".create]"]}}}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.