[jboss-user] [Microcontainer] - Re: MicroContainer with external dependencies

ataylor do-not-reply at jboss.com
Mon Oct 29 05:28:14 EDT 2007


If have the following definition

  | <bean name="ServiceLocator" class="org.jboss.jms.server.microcontainer.ServiceLocator">
  |         <depends>jboss:service=TransactionManager</depends>
  |          <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  |     </bean>
  | 

i get the error anonymous wrote : jboss.jca:service=DataSourceBinding,name=DefaultDS -> ** NOT FOUND **

The dependency on the Transaction Manager is enforced correctly, however it cant seem to find the  datasource binding. Is this to do with the fact that these are deployed slightly differently in the App Server. i.e. the datasource mbean is dynamically created from the *-ds.xml file at startup time? 

Is the MC not able to enforce this?

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

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



More information about the jboss-user mailing list