4 Replies Latest reply on Mar 8, 2013 6:40 AM by Martin Keller

    Failed to start service jboss.deployment.subunit javax.resource.ResourceException: IJ000852: Validation exception

    Martin Keller Newbie

      When starting a message Endpoit an Exception ocours:

       

      Failed to start service jboss.deployment.subunit javax.resource.ResourceException: IJ000852: Validation exception when starting at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:147)


      Summary:

       

       

      When using the JCA 1.6 compliant resource adapter „BeanConnect“ a message driven bean using this resource adapter fails to start with IJ000852: Validation exception.

      With the JCA1.5 resource adapter configuration it works ok.

       

       

       

      Details:

      • Configuration: JDK-Version: 1.6.0_33
      • Operating System: Windows 7 (32 Bit)
      • JBoss Application Server 7.1.1 Codename: Brontes Release version: 7.1.1.Final
      • JDK-Version: 1.6.0_33
      • Resource Adapter: BeanConnect 3.0 developed by our Company (Fujitsu)

       

      Questions:

      Case someone please help me?

      Can we switch of this validation as work-around, because it works using JCA 1.5?

       

      Exception stack is:

       

      2012-12-14 10:05:31,812 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.subunit."BCSamplePfa.ear"."1stBCEJBs.jar".component.CallEISOltpMdb.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."BCSamplePfa.ear"."1stBCEJBs.jar".component.CallEISOltpMdb.START: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

      at

      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_33]

      at

      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_33]

      at

      java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]

      Caused by:

      java.lang.RuntimeException: javax.resource.ResourceException: IJ000852: Validation exception at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:171)

      at

      org.jboss.as.ee.component.ComponentStartService.start(ComponentStartService.java:44) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

      at

      org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

      ... 3 more Caused by:

      javax.resource.ResourceException: IJ000852: Validation exception at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:147)

      at

      org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:169)

      ... 6 more Caused by:

      javax.validation.ValidationException: Unable to find a default provider

      at

      javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)

      at

      org.jboss.jca.core.bv.BeanValidationUtil.createValidatorFactory(BeanValidationUtil.java:51)

      at

      org.jboss.jca.core.bv.BeanValidationUtil.createValidator(BeanValidationUtil.java:63)

      at

      org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:135)

      ... 7 more

      More details in attached logfile

       

      More Info: The BeanConnect 3.0 Resource Adapter was not yet released.

        • 3. Re: Failed to start service jboss.deployment.subunit javax.resource.ResourceException: IJ000852: Validation exception
          Martin Keller Newbie

          We did run the test again with

           

          jboss-as-7.2.0.Alpha1-SNAPSHOT (build Dec. 19th 2012)

           

          and we still get the same exception:

           

          15:04:02,128 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC00001: Failed to start service jboss.deployment.subunit."BCSamplePfa.ear"."1stBCEJBs.jar".component.CallEISOltpMdb.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."BCSamplePfa.ear"."1stBCEJBs.jar".component.CallEISOltpMdb.START: java.lang.RuntimeException: javax.resource.ResourceException: IJ000852: Validation exception
          at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57) [jboss-as-ee-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_33]
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_33]
          at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_33]
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_33]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_33]
          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]
          at org.jboss.threads.JBossThread.run(JBossThread.java:122)
          Caused by: java.lang.RuntimeException: javax.resource.ResourceException: IJ000852: Validation exception
          at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:177)
          at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54) [jboss-as-ee-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
          ... 7 more
          Caused by: javax.resource.ResourceException: IJ000852: Validation exception
          at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:147)
          at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.start(MessageDrivenComponent.java:175)
          ... 8 more
          Caused by: javax.validation.ValidationException: Unable to find a default provider
          at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264) [validation-api-1.0.0.GA.jar:]
          at org.jboss.jca.core.bv.BeanValidationUtil.createValidatorFactory(BeanValidationUtil.java:51)
          at org.jboss.jca.core.bv.BeanValidationUtil.createValidator(BeanValidationUtil.java:63)
          at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:135)
          ... 9 more

          Any Ideas ?

          Thank you

          • 4. Re: Failed to start service jboss.deployment.subunit javax.resource.ResourceException: IJ000852: Validation exception
            Martin Keller Newbie

            Hello,

             

            we did solve this problem by inserting  in the config file "standalone.xml" or "domain.xml" after </extensions>

            this system property:

             

                <system-properties>

                    <property name="ironjacamar.bv.inflow" value="false"/>

                </system-properties>

             

             

            If worked then fine for our message driven bean consuming the messages from our inbound resource adapter.

             

            Hope that hint will also help others.