0 Replies Latest reply on Jun 27, 2014 11:26 AM by raggz

    Using JCA resource adapter in application client container


      I'm trying to use HornetQ RA in client container and I'm injecting in Main class


      @Resource(lookup = "java:/JmsXA")

          private static ConnectionFactory cf;


      but I get error:


      16:19:16,003 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      16:19:16,173 INFO  [org.jboss.ws.common.management] (MSC service thread 1-11) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.2.4.Final

      16:19:16,177 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([

          ("subsystem" => "messaging"),

          ("hornetq-server" => "default")

      ]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.messaging.default is missing [jboss.http-upgrade-registry.default]"]}

      16:19:16,217 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.http-upgrade-registry.default (missing) dependents: [service jboss.messaging.default]



      16:19:16,227 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.1.0.Final "Kenny" started (with errors) in 3143ms - Started 140 of 152 services (2 services failed or missing dependencies, 18 services are lazy, passive or on-demand)


      I can't find any where any reference on how to add this jboss.http-upgrade-registry dependency to my configuration.


      I wonder if this is possible?