0 Replies Latest reply on Sep 27, 2013 4:13 AM by Jiorgos Janik

    Session/Singletonmg Bean JMS Factory injection failed

    Jiorgos Janik Newbie

      Hello, I'm trying to injected a jms factory like this

       

      @Resource(mappedName="java:/KNMSWSGroupSSL_ConnectionFactory")    

      private static TopicConnectionFactory factory;

       

       

      From the logs I have: 09:58:21,334 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010401: Bound JCA ConnectionFactory [java:/KNMSWSGroupSSL_ConnectionFactory]

       

       

      But if I deploy my bean I got:

       

      JBAS014775: New missing/unsatisfied dependencies:   service jboss.naming.context.java.comp.KNESB_MDB_Demo.KNESB_MDB_Demo.HelloKNESBSingletonBean.env.KNMSWSGroupSSL_ConnectionFactory (missing) dependents: [service jboss.naming.context.java.comp.KNESB_MDB_Demo.KNESB_MDB_Demo.HelloKNESBSingletonBean.env."org.HelloKNESBSingletonBean".factory]

       

      The deployment includes a rar adapter and a standard jar file without ejb-xml descriptors. No ear at all.