From: <sco...@jb...> - 2006-06-28 17:15:22
|
"ale...@jb..." wrote : | I was thinking about moving persistenceManager.start() to EntityContainer.createService() right after persistenceManager.create(). At this point all plugins are created and set, not started though. | The start() of the persistenceManager will use the DataSource and possibly the TransactionManager. Is this acceptable? It depends on how fine grained we want to be with dependencies. The ejb-deployer should have a dependency on the TM (and it does), but the datasouce can be deployment specific so we would have to rely on startup semantics other than dependencies for this to work. The PM should have its datasource injected via a dependency such that its not really started until the datasource is available. Back to the original JBAS-993, can't there just be better tracking of the ejbs causing the errors rather than having to start the PM differently? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954142#3954142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954142 |