The dependency on classes is not supported in 3.x There is a fix for it in 4.x, but it has not been properly tested, it has some unusual side affects.
One simple solution is to use the prefix deployment sorter in conf/jboss-service.xml You can then have: 010myejb.jar 020myservice.sar But this doesn't work for redeployments. Using Russian doll packaging will solve your problem. Place the sar in the ejb-jar or the ejb-jar in the sar. They are then started/restarted together. On Tue, 2003-07-08 at 12:16, [EMAIL PROTECTED] wrote: > Hi all, > > I hava a MBean (packaged in a .sar file) which depends on a ejb (entity > beans) jar file. > > Unfortunatly when JBoss boots, it first load the .sar file that then > complains that it cannot find some classes (which is correct because the > ejb-jar is not loaded yet). > > How can I change this behaviour so first the ejb-jar is deployed and then > the .sar file? > > Thanks, > > Harm de Laat > Informatiefabriek > The Netherlands > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
