This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Post the contents of your latest ejb-jar.xml and jboss.xml
Joined: Sep 30, 2010
I had removed the ejb2-timer-service.xml from the all/deploy directory? Is that going to be a problem in JBoss 5.1?
By looking at the stack trace, I looked up some other posts and JBoss code and see that the "Null dependency" is thrown
if the timer is null in the deploy(function) in EjbDeployer.java.
I added the ejb2-timer-service.xml and replaced it with my Datasource name and still had a problem.
Then I changed the following in ejb2-timer-service.xml and still got the same null dependency error:
Commented the MBean:
and then changed the persistence policy from "database" to "noop" in the following mbean in the same ejb2-timer-service.xml: