If you are using 3.0.1 from cvs, you can put a .sar or *-service.xml in an .ear. Specify theses jboss-specific packages in a jboss-app.xml file next to your application.xml file. It should look something like this:
<?xml version="1.0" encoding="UTF-8"?> <jboss-app> <module> <service>versantjca-service.xml</service> </module> <module> <service>admintools.sar</service> </module> </jboss-app> These get deployed before anything in application.xml. This is not yet ported to 3.1. To specify an explicit depends on the mbean level so an ejb depends on some other mbean, add a <depends>[objectname]</depends> element to jboss.xml. Put it in a bean element at the same level as say container-invoker. Hope this helps david jencks On 2002.06.21 18:33:43 -0400 Jason Dillon wrote: > The EAR ordering is really killing me. Sometimes my MDB's get started > before the beans which it depends on, which simply does not work. =[ > > > > What is the suggested way to list explicit depends for an EJB? > > > > --jason > > > <html> > > <head> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> > > > <meta name=Generator content="Microsoft Word 10 (filtered)"> > > <style> > <!-- > /* Style Definitions */ > p.MsoNormal, li.MsoNormal, div.MsoNormal > {margin:0in; > margin-bottom:.0001pt; > font-size:12.0pt; > font-family:"Times New Roman";} > a:link, span.MsoHyperlink > {color:blue; > text-decoration:underline;} > a:visited, span.MsoHyperlinkFollowed > {color:purple; > text-decoration:underline;} > span.EmailStyle17 > {font-family:Arial; > color:windowtext;} > @page Section1 > {size:8.5in 11.0in; > margin:1.0in 1.25in 1.0in 1.25in;} > div.Section1 > {page:Section1;} > --> > </style> > > </head> > > <body lang=EN-US link=blue vlink=purple> > > <div class=Section1> > > <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; > font-family:Arial'>The EAR ordering is really killing me. Sometimes > my MDB’s > get started before the beans which it depends on, which simply does not > work… > =[</span></font></p> > > <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; > font-family:Arial'> </span></font></p> > > <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; > font-family:Arial'>What is the suggested way to list explicit depends for > an > EJB?</span></font></p> > > <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; > font-family:Arial'> </span></font></p> > > <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; > font-family:Arial'>--jason</span></font></p> > > </div> > > </body> > > </html> > ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development