[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuring dependencies in Services

Marcelo.S_ do-not-reply at jboss.com
Fri Jul 4 10:00:32 EDT 2008

"jaikiran" wrote : "Marcelo.S_" wrote : 
  |   | That means, I cannot have hibernate-service.sar since it will fail to load because of the datasource; 
  | The sar approach with datasource dependency should work. As i already mentioned, its all about getting the "depends" attribute right. Here's what the dependency in the jboss-service.xml should look like:
  |   | 
  |   | <depends>jboss.jca:service=RARDeployer</depends>
  |   | <depends>jboss.jca:service=LocalTxCM,name=hibernate-ds</depends>
  |   | <depends>jboss.jca:name=hibernate-ds,service=DataSourceBinding</depends>
  |   | 
  | Try it out and see if it  works.

There we go! I was missing this line:

  | <depends>jboss.jca:name=hibernate-ds,service=DataSourceBinding</depends>

So it would simply not work. Thanks for the help!

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

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

More information about the jboss-user mailing list