Hi,
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 :
jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=Sigea-Util.ear
java:/InfoBrDS
But this do not work. It ignores the depends tag.
This is a bug or am I doing something wrong here ?
Danilo.
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.