My services classes are packaged in a JAR, and this JAR is inside a EAR.
My service definition is in a -service.xml file.
Sometimes, when I start the server, jboss try to deploy the service before the deployment the EAR. So I got a class not found error.
I think I must use the tag on -service.xml.
This is what I try to do :
But this do not work. It ignores the depends tag.
This is a bug or am I doing something wrong here ?
Dependencies do not affect when components are created. The service either needs to be moved into the ear or the service classes moved out of the ear.