This content has been marked as final.
Show 4 replies
-
1. Re: 4.2 to 5.0 upgrade: UNRESOLVED Demands 'jboss.ejb:servic
jaikiran Feb 10, 2009 5:20 AM (in response to djr667)jboss.ejb:service=EJBTimerService is deployed through %JBOSS_HOME%/server/< serverName>/deploy/ejb2-timer-service.xml. I would expect this file to be present in the AS. Is this a clean JBoss AS or has it been modified? Any idea if someone removed that file?
-
2. Re: 4.2 to 5.0 upgrade: UNRESOLVED Demands 'jboss.ejb:servic
djr667 Feb 10, 2009 5:30 AM (in response to djr667)Do you mean ejb3-timer-service.xml? - we do not use EJB2
The service is deployed - but deployed .ear files with no defined dependency on EJB3TimerService fail on it.
Are there annotations that cause it to be 'sucked in'? Any reason why this would behave differently to JBoss 4.2?
Dave -
3. Re: 4.2 to 5.0 upgrade: UNRESOLVED Demands 'jboss.ejb:servic
jaikiran Feb 10, 2009 5:46 AM (in response to djr667)"drichm" wrote:
Do you mean ejb3-timer-service.xml? - we do not use EJB2
Nope, i meant ejb2-timer-service.xml :)
Currently EJB3 is not using the EJB3TimerService being deployed through ejb3-timer-service.xml."drichm" wrote:
Are there annotations that cause it to be 'sucked in'?
Not annotations, but hidden within the code:protected void registerEJBContainer(Container container) throws Exception { ObjectName on = container.getObjectName(); String name = on.getCanonicalName(); DependencyPolicy dependsPolicy = container.getDependencyPolicy(); dependsPolicy.addDependency("jboss.ejb:service=EJBTimerService");
To understand what exactly is going on with the deployments, you will have to tell us if you removed the ejb2-timer-service.xml :) And if possible please post the console logs. -
4. Re: 4.2 to 5.0 upgrade: UNRESOLVED Demands 'jboss.ejb:servic
djr667 Feb 10, 2009 6:38 AM (in response to djr667)No need to post logs
I had removed ejb2-timer-service.xml
Put it back, restarted, problem solved
Thanks
Dave