6 Replies Latest reply on Aug 13, 2015 2:47 PM by joyousjavadev

    JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB

    joyousjavadev Newbie

      Hello, I have been getting this JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB.  This is with JDK1.8_0_51, Wildfly 8.2 (also 9.0), Java EE7, PostgreSQL 9.4, my project is built with ant and ivy into .ear. The project can be deployed successfully in Glassfish 4.1. I have other test projects using similar setup but with maven working fine.


      I have googled and found this thread https://developer.jboss.org/thread/255903?_sscc=t
      and https://developer.jboss.org/message/917600but not resolution.

       

      I have also tried this on Wildfly 9.0 hoping the DEFECT  https://issues.jboss.org/browse/WFLY-4316 had something to do with it but no resolution.

       

      This JTA PU works ok with other projects that deploy on Wildfly 8.2.

       

      At this point, I am thinking it is mis-configuration issue but the error message sure does not help.

       

      Thank you.

       

       

      <persistence-unit name="TestJTAPU-Wildfly"

              transaction-type="JTA">

              <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>

              <jta-data-source>java:jboss/jdbc/testDS</jta-data-source>

       

              <properties>

                  <property name="hibernate.show_sql" value="true" />

                  <property name="hibernate.format_sql" value="true" />

                  <property name="hibernate.default_schema" value="myschema" />

                  <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />

                  <property name="wildfly.jpa.twophasebootstrap" value="false"/>

              </properties>

          </persistence-unit>

       

      I have replaced certain strings with "Test".

       

      12:53:02,524 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) JBAS016008: Starting weld service for deployment TestEAR.ear

      12:53:03,963 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "TestEAR.ear")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => [

          "jboss.deployment.subunit.\"TestEAR.ear\".\"TestWeb.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START is missing [jboss.persistenceunit.\"TestEAR.ear/TestBus.jar#TestJTAPU-Wildfly\"]",

          "jboss.naming.context.java.comp.Test.TestBus.TestServiceImpl.InAppClientContainer is missing [jboss.naming.context.java.comp.Test.TestBus.TestServiceImpl]",

          "jboss.naming.context.java.comp.Test.TestBus.EMailer.HandleDelegate is missing [jboss.naming.context.java.comp.Test.TestBus.EMailer]",

      ....

      ....

          "jboss.naming.context.java.comp.Test.TestBus.AppTableBean.InstanceName is missing [jboss.naming.context.java.comp.Test.TestBus.AppTableBean]",

          "jboss.naming.context.java.comp.Test.TestBus.TestServiceImpl.HandleDelegate is missing [jboss.naming.context.java.comp.Test.TestBus.TestServiceImpl]",

          "jboss.deployment.subunit.\"TestEAR.ear\".\"TestWeb.war\".component.\"com.test.Test.web.filters.AuthFilter\".START is missing [jboss.persistenceunit.\"TestEAR.ear/TestBus.jar#TestJTAPU-Wildfly\"]",

      ....

      ....

      \".LOCAL]",

      ....

      ....

       

          "jboss.naming.context.java.comp.Test.TestBus.EMailer.Validator is missing [jboss.naming.context.java.comp.Test.TestBus.EMailer]",

          "jboss.deployment.subunit.\"TestEAR.ear\".\"TestWeb.war\".component.\"com.sun.faces.config.ConfigureListener\".START is missing [jboss.persistenceunit.\"TestEAR.ear/TestBus.jar#TestJTAPU-Wildfly\"]",

          "jboss.naming.context.java.comp.Test.TestBus.TestServiceImpl.ValidatorFactory is missing [jboss.naming.context.java.comp.Test.TestBus.TestServiceImpl]",\".LOCAL]",

        • 1. Re: JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB
          jaikiran pai Master

          How exactly is your application packaged and where is that persistence.xml located? Post the output of:

           

          jar -tf TestEAR.ear

           

          and

           

          jar -tf TestBus.jar

          • 2. Re: JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB
            joyousjavadev Newbie

            $ jar -tf Test.ear

            META-INF/

            META-INF/MANIFEST.MF

            lib/

            lib/TestCore.jar

            lib/antlr-2.7.7.jar

            lib/cal10n-api-0.8.1.jar

            lib/cdi-api-1.1.jar

            lib/commons-lang-2.4.jar

            lib/dom4j-1.6.1.jar

            lib/el-api-2.2.jar

            lib/hibernate-commons-annotations-4.0.4.Final.jar

            lib/hibernate-core-4.3.5.Final.jar

            lib/hibernate-entitymanager-4.3.5.Final.jar

            lib/hibernate-jpa-2.1-api-1.0.0.Final.jar

            lib/jandex-1.1.0.Final.jar

            lib/javassist-3.4.GA.jar

            lib/javax.el-api-2.2.1.jar

            lib/javax.faces-api-2.2.jar

            lib/javax.inject-1.jar

            lib/javax.servlet-api-3.0.1.jar

            lib/javax.servlet.jsp-api-2.2.1.jar

            lib/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar

            lib/jboss-logging-3.1.3.GA.jar

            lib/jboss-logging-annotations-1.2.0.Beta1.jar

            lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar

            lib/jsp-api-2.1.jar

            lib/jsr250-api-1.0.jar

            lib/jstl-api-1.2.jar

            lib/log4j-api-2.3.jar

            lib/log4j-core-2.3.jar

            lib/log4j-slf4j-impl-2.3.jar

            lib/omnifaces-2.1.jar

            lib/primefaces-5.2.jar

            lib/rewrite-servlet-2.0.12.Final.jar

            lib/servlet-api-2.5.jar

            lib/slf4j-api-1.7.12.jar

            lib/slf4j-ext-1.7.12.jar

            lib/validation-api-1.0.0.GA.jar

            lib/xml-apis-1.0.b2.jar

            TestBus.jar

            TestWeb.war

             

             

            $ jar -tf TestBus.jar

            META-INF/

            META-INF/MANIFEST.MF

            .......

            .......

            .......

            META-INF/persistence.xml

            app-config.properties

            log4j2.xml

             

             

            Thank you.

            • 3. Re: JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB
              Tomaz Cerar Master

              you almost packed whole app server with your app didn't you

               

              Joyous Javadev wrote:

               

              $ jar -tf Test.ear

              META-INF/

              META-INF/MANIFEST.MF

              lib/

              lib/TestCore.jar

              lib/antlr-2.7.7.jar <-- remove, dep of hibernate

              lib/cal10n-api-0.8.1.jar <-- remove

              lib/cdi-api-1.1.jar <-- remove part of app server

              lib/commons-lang-2.4.jar <-- probably should be removed

              lib/dom4j-1.6.1.jar <-- probably dependancy of hibernate, remove

              lib/el-api-2.2.jar <-- remove par of app server

              lib/hibernate-commons-annotations-4.0.4.Final.jar <-- remove part of app server

              lib/hibernate-core-4.3.5.Final.jar <-- remove part of app server

              lib/hibernate-entitymanager-4.3.5.Final.jar <-- remove part of app server

              lib/hibernate-jpa-2.1-api-1.0.0.Final.jar <-- remove part of app server

              lib/jandex-1.1.0.Final.jar <-- remove part of app server, and shouldn't really be in user deployment

              lib/javassist-3.4.GA.jar <-- remove

              lib/javax.el-api-2.2.1.jar <-- remove part of app server

              lib/javax.faces-api-2.2.jar <-- remove part of app server

              lib/javax.inject-1.jar <-- remove part of app server

              lib/javax.servlet-api-3.0.1.jar <-- remove part of app server

              lib/javax.servlet.jsp-api-2.2.1.jar <-- remove part of app server

              lib/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar <-- remove part of app server

              lib/jboss-logging-3.1.3.GA.jar <-- remove part of app server

              lib/jboss-logging-annotations-1.2.0.Beta1.jar <-- remove part of app server

              lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar <-- remove part of app server

              lib/jsp-api-2.1.jar <-- remove part of app server

              lib/jsr250-api-1.0.jar <-- remove part of app server

              lib/jstl-api-1.2.jar <-- remove part of app server

              lib/log4j-api-2.3.jar <-- remove part of app server

              lib/log4j-core-2.3.jar <-- remove part of app server

              lib/log4j-slf4j-impl-2.3.jar <-- remove part of app server

              lib/omnifaces-2.1.jar

              lib/primefaces-5.2.jar

              lib/rewrite-servlet-2.0.12.Final.jar

              lib/servlet-api-2.5.jar <-- remove, this is part of app server, and you also include server 3.0 jar...

              lib/slf4j-api-1.7.12.jar <-- remove

              lib/slf4j-ext-1.7.12.jar  <-- remove

              lib/validation-api-1.0.0.GA.jar <-- remove

              lib/xml-apis-1.0.b2.jar <-- probably safe to remove

              TestBus.jar

              TestWeb.war

               

               

              $ jar -tf TestBus.jar

              META-INF/

              META-INF/MANIFEST.MF

              .......

              .......

              .......

              META-INF/persistence.xml

              app-config.properties

              log4j2.xml

               

               

              Thank you.

               

              you probably just need to set your maven dependencies to use scope=provided for all above problematic deps inside your deployment.

               

              best way to see where dep creeps is by running

              mvn dependency:tree

              • 4. Re: JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB
                joyousjavadev Newbie

                My app must run on Glassfish 4.1 and Wildfly 8.2 or 9.0. I am using Ant and IvyDE.

                Wildfly 8.2 comes with Hibernate so no issue there but I need it (v4.3.5.Final) for Glassfish 4.1.

                 

                Add transitive=false to omnifaces 32 - 22

                 

                My App deploys to Glassfish v4.1

                 

                Add transitive=false to hibernate-entitymanager 4.3.5 22 - 12

                Add hibernate-core 4.3.5 22 - 13

                Add jandex 1.1.0.Final 13 - 16

                Add dom4j 1.6.1 16 - 16 - 32

                Add hibernate-commons-annotations 4.0.4 17 - 20

                Add antlr 2.7.7 20 - 19

                 

                My App finally deploys to Glassfish v4.1

                 

                Add transitive=false to log4j-slf4j-impl 19 - 19

                My App deploys to Glassfish v4.1

                 

                Add transitive=false to slf4j-ext and add slf4j-api-1.7.12 19 -16

                Other libs are already using transitive=false

                 

                My App deploys to Glassfish v4.1 from 32 jars to 16 GOOD!

                 

                 

                $ jar -tf Test.ear

                META-INF/

                META-INF/MANIFEST.MF

                lib/

                lib/TestCore.jar

                lib/ant-1.8.1.jar

                lib/ant-launcher-1.8.1.jar

                lib/antlr-2.7.7.jar

                lib/dom4j-1.6.1.jar

                lib/hibernate-commons-annotations-4.0.4.Final.jar

                lib/hibernate-core-4.3.5.Final.jar

                lib/hibernate-entitymanager-4.3.5.Final.jar

                lib/jandex-1.1.0.Final.jar

                lib/log4j-api-2.3.jar

                lib/log4j-core-2.3.jar

                lib/log4j-slf4j-impl-2.3.jar

                lib/omnifaces-2.1.jar

                lib/primefaces-5.2.jar

                lib/rewrite-servlet-2.0.12.Final.jar

                lib/slf4j-api-1.7.12.jar

                lib/slf4j-ext-1.7.12.jar

                TestBus.jar

                TestWeb.war

                 

                Deploy to Wildfly 8.2 - No Go yet, same errors.

                Deploy to Wildfly 9.0 - No Go yet, same errors.

                 

                Thank you.

                • 5. Re: JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB
                  joyousjavadev Newbie

                  I tried to deploy the .ear form Wildfly console directly and got additional exception on my server console.

                   

                       

                        01:36:26,810 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Critical error during deployment: : com.sun.faces.config.ConfigurationException: Factory 'javax.faces.lifecycle.ClientWindowFactory' was not configured properly.

                      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:330) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:193) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]

                      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]

                  Caused by: javax.faces.FacesException: com.sun.faces.lifecycle.ClientWindowFactoryImpl

                      at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:417) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

                      at javax.faces.FactoryFinderInstance.getImplementationInstance(FactoryFinderInstance.java:248) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

                      at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:488) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

                      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:287) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

                      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      ... 12 more

                  Caused by: java.lang.UnsupportedOperationException: java.lang.reflect.InvocationTargetException

                      at org.omnifaces.config.BeanManager.getReference(BeanManager.java:154) [omnifaces-2.1.jar:2.1]

                      at org.omnifaces.application.OmniApplication.<init>(OmniApplication.java:69) [omnifaces-2.1.jar:2.1]

                      at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89) [omnifaces-2.1.jar:2.1]

                      at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54) [omnifaces-2.1.jar:2.1]

                      at com.sun.faces.application.InjectionApplicationFactory.getApplication(InjectionApplicationFactory.java:93) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:144) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at com.sun.faces.lifecycle.ClientWindowFactoryImpl.<init>(ClientWindowFactoryImpl.java:62) [jsf-impl-2.2.8-jbossorg-1.jar:]

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_51]

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_51]

                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_51]

                      at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [rt.jar:1.8.0_51]

                      at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_51]

                      at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:415) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

                      ... 16 more

                  Caused by: java.lang.reflect.InvocationTargetException

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_51]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_51]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_51]

                      at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_51]

                      at org.omnifaces.config.BeanManager.getReference(BeanManager.java:150) [omnifaces-2.1.jar:2.1]

                      ... 28 more

                  Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization

                      at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerState(BeanManagerProxy.java:246) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]

                      at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:88) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]

                      ... 33 more

                   

                  01:36:26,810 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./MyStoryWeb: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./MyStoryWeb: Failed to start service

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]

                      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]

                  Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.lifecycle.ClientWindowFactory' was not configured properly.

                      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:222)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:87)

                      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]

                      ... 3 more

                  Caused by: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.lifecycle.ClientWindowFactory' was not configured properly.

                      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:280)

                      at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:173)

                      at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:193)

                      ... 7 more

                  Caused by: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.lifecycle.ClientWindowFactory' was not configured properly.

                      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:330)

                      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:236)

                      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)

                      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)

                      ... 9 more

                  Caused by: javax.faces.FacesException: com.sun.faces.lifecycle.ClientWindowFactoryImpl

                      at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:417)

                      at javax.faces.FactoryFinderInstance.getImplementationInstance(FactoryFinderInstance.java:248)

                      at javax.faces.FactoryFinderInstance.getFactory(FactoryFinderInstance.java:488)

                      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:287)

                      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:328)

                      ... 12 more

                  Caused by: java.lang.UnsupportedOperationException: java.lang.reflect.InvocationTargetException

                      at org.omnifaces.config.BeanManager.getReference(BeanManager.java:154)

                      at org.omnifaces.application.OmniApplication.<init>(OmniApplication.java:69)

                      at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)

                      at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)

                      at com.sun.faces.application.InjectionApplicationFactory.getApplication(InjectionApplicationFactory.java:93)

                      at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:144)

                      at com.sun.faces.lifecycle.ClientWindowFactoryImpl.<init>(ClientWindowFactoryImpl.java:62)

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_51]

                      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_51]

                      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_51]

                      at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [rt.jar:1.8.0_51]

                      at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_51]

                      at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl(FactoryFinderInstance.java:415)

                      ... 16 more

                  Caused by: java.lang.reflect.InvocationTargetException

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_51]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_51]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_51]

                      at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_51]

                      at org.omnifaces.config.BeanManager.getReference(BeanManager.java:150)

                      ... 28 more

                  Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getReference() is not available during application initialization

                      at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerState(BeanManagerProxy.java:246)

                      at org.jboss.weld.bean.builtin.BeanManagerProxy.getReference(BeanManagerProxy.java:88)

                      ... 33 more

                  • 6. Re: JBAS014771: Services with missing/unavailable dependencies error with HandleDelegate, InstanceName, , Validator, ValidatorFactory, ORB
                    joyousjavadev Newbie

                    I Mavenized my build and I was able to deploy to Wildfly 9.0 ok. Later, I updated my Ant/Ivy build to match Maven build, but no luck deploying to Wildfly 9.0.

                     

                    In my Ant/Ivy build's application.xml I removed the <initialize-in-order>true</initialize-in-order>  and then I was able to deploy.

                     

                    Thank you to those who helped.