0 Replies Latest reply on Dec 2, 2013 5:08 PM by Darrell Wu

    deployment errors after migrating our EAR app from seam 2.2.2 to 2.3.1:Services with missing/unavailable dependencies ValidatorFactory Validator ORB HandleDelegate

    Darrell Wu Newbie

      Hi,

       

      I'm trying to migrate our seam 2.2.2 ear app to seam 2.2.3 to run on JBoss AS 7.1.1.Final so we can use  JPA 2, EJB 3.1, JSF2 and Bean Validation etc.

       

      I've followed the  seam migration guide and the developer guide but i keep on getting the following deployment errors

      
      10:15:35,106 ERROR [org.jboss.as] (MSC service thread 1-5) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 6878ms - Started 372 of 1898 services (1435 services failed or missing dependencies, 90 services are passive or on-demand)
      10:15:35,369 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "mysql-connector-java-5.1.27-bin.jar" was rolled back with no failure message
      10:15:35,375 DEBUG [org.jboss.jca.core.connectionmanager.TxConnectionManager] (MSC service thread 1-16) java:/onePlaceDatasource: shutdown
      10:15:35,376 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (MSC service thread 1-16) onePlaceDatasource_pool: shutdown
      10:15:35,382 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-12) JBAS015877: Stopped deployment mysql-connector-java-5.1.27-bin.jar in 12ms
      10:15:35,471 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015877: Stopped deployment 1place.war in 100ms
      10:15:35,459 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment jboss-seam.jar in 88ms
      10:15:35,457 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment 1place.jar in 87ms
      10:15:35,407 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "1place.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.1place.\"1place.jar\".BankLinkBankTransactionSummaryAction.ValidatorFactoryjboss.naming.context.java.comp.1place.\"1place.jar\".BankLinkBankTransactionSummaryActionMissing[jboss.naming.context.java.comp.1place.\"1place.jar\".BankLinkBankTransactionSummaryAction.ValidatorFactoryjboss.naming.context.java.comp.1place.\"1place.jar\".BankLinkBankTransactionSummaryAction]","jboss.naming.context.java.comp.1place.\"1place.jar\".EditFranchiseAccountCategoryAction.ValidatorFactoryjboss.naming.context.java.comp.1place.\"1place.jar\".EditFranchiseAccountCategoryActionMissing[jboss.naming.context.java.comp.1place.\"1place.jar\".EditFranchiseAccountCategoryAction.ValidatorFactoryjboss.naming.context.java.comp.1place.\"1place.jar\".EditFranchiseAccountCategoryAction]","jboss.naming.context.java.comp.1place.\"1place.jar\".AgencyServiceAction.ORBjboss.naming.context.java.comp.1place.\"1place.jar\".AgencyServiceActionMissing[jboss.naming.context.java.comp.1place.\"1place.jar\".AgencyServiceAction.ORBjboss.naming.context.java.comp.1place.\"1place.jar\".AgencyServiceAction]","jboss.naming.context.java.comp.1place.\"1place.jar\".UserSessionManagerAction.ORBjboss.naming.context.java.comp.1place.
      

       

      ...(i cut out some content on the above line. see attached for full server.log)

      10:15:36,096 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment 1place.ear in 726ms
      10:15:36,153 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "1place-prod-ds.xml" was rolled back with no failure message
      10:15:36,154 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010409: Unbound data source [onePlaceDatasource]
      10:15:36,154 DEBUG [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) Removed JDBC Data-source [onePlaceDatasource]
      10:15:36,154 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment 1place-prod-ds.xml in 1ms
      10:15:36,168 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.naming.context.java.comp.1place."1place.jar".AccessToKenServiceAction (missing) dependents: [service jboss.naming.context.java.comp.1place."1place.jar".AccessToKenServiceAction.ValidatorFactory, service jboss.naming.context.java.comp.1place."1place.jar".AccessToKenServiceAction.Validator, service jboss.naming.context.java.comp.1place."1place.jar".AccessToKenServiceAction.ORB, service jboss.naming.context.java.comp.1place."1place.jar".AccessToKenServiceAction.HandleDelegate]
      
      

       

      I'm not sure while every session bean is missing the ValidatorFactory, Validator, ORB, HandleDelegate dependencies.

       

      Does anyone have an idea where i went wrong?

       

      Regards