From: <ale...@jb...> - 2006-06-28 22:03:58
|
"Scott" wrote : but the datasouce can be deployment specific so we would have to rely on startup semantics other than dependencies for this to work. I think, a datasource should always be deployed before EJBs. EJBs may need a datasource to start but datasources don't need EJBs. "Scott" wrote : The PM should have its datasource injected via a dependency such that its not really started until the datasource is available. There are cyclic dependencies: EntityContainer cannot start until its PM is started while the PM is started from the EntityContainer.startService(). PM.start() should be called before EntityContainer.startService(). Maybe, EjbModule.createService() after the loop that creates all the containers, there should be another one that starts PMs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954199#3954199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954199 |