我有一個包含以下模塊的耳朵項目:Wildfly部署問題
- RedemtionService
- RedemptionWeb
- RedemtionBean
- RedemptionCache
- RedemptionCommon
在本地wildfly服務器I已經成功部署了它,但是當我時要部署該另一個生產服務器,然後它拋出一個異常如下:
2016-06-07 14:46:06,289 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 76) JBAS015870: Deploy of deployment "Test.ear" was rolled back with the following failure message:
{
"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl]",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl]",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionCache.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"Test.ear\".\"RedemptionCache.jar\".beanmanager]",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionBeans.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"Test.ear\".\"RedemptionBeans.jar\".beanmanager]",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService.HandleDelegate is missing [jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl.Validator is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl]",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionService.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"Test.ear\".\"RedemptionService.jar\".beanmanager]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl]",
"jboss.deployment.unit.\"Test.ear\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"Test.ear\".beanmanager]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl.ORB is missing [jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService.InstanceName is missing [jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService]",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl]",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl]"
],
"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available." => {
"Services that were unable to start:" => [
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionBeans.jar\".INSTALL",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionCache.jar\".INSTALL",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionService.jar\".INSTALL",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionWeb.war\".INSTALL",
"jboss.deployment.unit.\"Test.ear\".INSTALL"
],
"Services that may be the cause:" => [
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionBeans.jar\".beanmanager",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionCache.jar\".beanmanager",
"jboss.deployment.subunit.\"Test.ear\".\"RedemptionService.jar\".beanmanager",
"jboss.deployment.unit.\"Test.ear\".beanmanager",
"jboss.http-upgrade-registry.default",
"jboss.naming.context.java.comp.Test.RedemptionBeans.CacheDaoImpl",
"jboss.naming.context.java.comp.Test.RedemptionBeans.FGSFDaoImpl",
"jboss.naming.context.java.comp.Test.RedemptionBeans.GenericDAOImpl",
"jboss.naming.context.java.comp.Test.RedemptionCache.AppCacheService",
"jboss.naming.context.java.comp.Test.RedemptionService.AsyncSMSServiceImpl",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFRedeemServiceImpl",
"jboss.naming.context.java.comp.Test.RedemptionService.FGSFServiceImpl",
"jboss.remoting.remotingConnectorInfoService.http-remoting-connector"
]
我怎樣才能解決這個問題呢?我在過去2天內搜索此解決方案表單,但仍未找到任何內容。
你有什麼地方和生產wildflies的版本? – Sergio
@Sergio兩者都是一樣的8.2.0最終 –
都是在同一模式下啓動的野蠅嗎? (例如,standalone.xml vs standalone-full.xml?)是否是免費的http端口? – user140547