[jboss-user] [Microcontainer] - JBossTransactionServices and WebBeans

alesj do-not-reply at jboss.com
Tue Mar 3 05:32:15 EST 2009


Moving this to forum.

"david.allen" wrote : 
  | how to best inject the RealTransactionManager bean into one of our
  | beans.
  | 
  | I modified webbeans-ejb-jboss-beans.xml to also have the following bean
  | declaration:
  | 
  |   
  |      
  |           
  |   
  | 
  | That class/bean just needs the javax.transaction.TransactionManager that
  | the AS is using.
  | 
  | However, since this is a deployer perhaps, the TM is not ready or
  | loaded?  I get the following error:
  | 
  | DEPLOYMENTS MISSING DEPENDENCIES:
  |   Deployment "JBossTransactionServices" is missing the following
  | dependencies:
  |     Dependency "RealTransactionManager" (should be in state
  | "Configured", but is actually in state "** NOT FOUND Depends on
  | 'RealTransactionManager' **")
  | 
  | 
  | I also tried adding a jboss-dependency.xml, but I really do not know
  | what name to use for the  element, or for that matter any of the
  | attributes.  Is this the correct approach?  Do you know the exact values
  | to put into jboss-dependency.xml elements for this case?
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214462#4214462

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214462



More information about the jboss-user mailing list