1 Reply Latest reply on Oct 12, 2010 6:34 PM by diego bowen

    Migrating from JBoss-eap-4.3 to eap-5.0 unable to deploy Ejb2ClientDeployer

    diego bowen Newbie

      I am migrating from JBoss-eap-4.3 to JBoss-eap-5.0 and I've accounted for this new versions more vigorously check persistence, made sure all the persistence unit names were unique across the container and changed the dependency resolver to the spec non-compliant one in deployers/ejb3.deployer/META-INF/jpa-deployer-jboss-beans.xml per the following:

       

      Per the Jboss page ( https://jira.jboss.org/browse/JBPAPP-4692?focusedCommentId=12552627&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12552627)

       

       

      <bean name="PersistenceUnitDependencyResolver" class="org.jboss.jpa.resolvers.DynamicPersistenceUnitDependencyResolver"/>

       

      to

       

      <bean name="PersistenceUnitDependencyResolver" class=" org.jboss.jpa.resolvers.strategy.JBossSearchStrategy"/>

       

       

      And I'm still getting the following errors (See attached log for full log):

       

       

      11:35:26,934 WARN  [AbstractDeploymentContext] Unable to register deployment mbean org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.eolDS
      javax.management.InstanceAlreadyExistsException:

       

      .........

      11:35:27,146 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "Ejb3ClientDeployer" is missing the following dependencies:
          Dependency "interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver (NOTE: using autowiring to resolve this dependency) **")

        • 1. Re: Migrating from JBoss-eap-4.3 to eap-5.0 unable to deploy Ejb2ClientDeployer
          diego bowen Newbie

          Ok I got rid of all the warnings however its not resolving:

           

          15:33:10,306 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

           

          DEPLOYMENTS MISSING DEPENDENCIES:
            Deployment "Ejb3ClientDeployer" is missing the following dependencies:
              Dependency "interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver (NOTE: using autowiring to resolve this dependency) **")
            Deployment "Ejb3Deployer" is missing the following dependencies:
              Dependency "interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver (NOTE: using autowiring to resolve this dependency) **")
            Deployment "PersistenceUnitDeployer" is missing the following dependencies:
              Dependency "interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver (NOTE: using autowiring to resolve this dependency) **")
            Deployment "WSDeployerHook_JAXRPC_EJB21" is missing the following dependencies:
              Dependency "WebServiceDeployerEJB" (should be in state "Create", but is actually in state "Configured")
            Deployment "WSDeployerHook_JAXRPC_POST_JSE" is missing the following dependencies:
              Dependency "WebServiceDeployerPostJSE" (should be in state "Create", but is actually in state "Configured")
            Deployment "WSDeployerHook_JAXRPC_PRE_JSE" is missing the following dependencies:
              Dependency "WebServiceDeployerPreJSE" (should be in state "Create", but is actually in state "Instantiated")
            Deployment "WSDeployerHook_JAXWS_EJB3" is missing the following dependencies:
              Dependency "WebServiceDeployerEJB" (should be in state "Create", but is actually in state "Configured")
            Deployment "WSDeployerHook_JAXWS_POST_JSE" is missing the following dependencies:
              Dependency "WebServiceDeployerPostJSE" (should be in state "Create", but is actually in state "Configured")
            Deployment "WSDeployerHook_JAXWS_PRE_JSE" is missing the following dependencies:
              Dependency "WebServiceDeployerPreJSE" (should be in state "Create", but is actually in state "Instantiated")
            Deployment "WarDeployer" is missing the following dependencies:
              Dependency "interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver" (should be in state "Configured", but is actually in state "** NOT FOUND interface org.jboss.jpa.resolvers.PersistenceUnitDependencyResolver (NOTE: using autowiring to resolve this dependency) **")
            Deployment "WebServer" is missing the following dependencies: