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 <depends> tag on the -service.xml file.
This is what I try to do :


<service>
<mbean code="org.sigea.ibatis.deployer.Ibatis" name="ibatis:service=IbatisDeployer">
<depends>jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=Sigea-Util.ear</depends>
<attribute name="DataSourceName">java:/InfoBrDS</attribute>
</mbean>
</service>


 But this do not work. It ignores the depends tag.
 This is a bug or am I doing something wrong here ?

Danilo.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to