From: Sacha L. <Sac...@ml...> - 2002-09-30 17:10:36
|
Hello, just add you sar in your ear, it will be deployed. You don't need anything in jboss-app.xml for your sar. Cheers, sacha > -----Message d'origine----- > De : jbo...@li... > [mailto:jbo...@li...]De la part de > Jonathan.O'Co...@xc... > Envoye : lundi, 30 septembre 2002 19:09 > A : jbo...@li... > Objet : [JBoss-user] Deploying MBean SAR in an EAR > > > Folks, > I'm having great fun with MBeans. I now have an MBean which I use to > initialize my system session beans. It does two things in start(). 1. It > reads from the database using JDBC and a datasource. This always > works. 2. > It invokes a method on a local session bean. This works at initial > deployment but not during redeployment. > > I originally had my ear separate from the sar. But now I want to merge > these into one ear, with SAR inside it. I have added a jboss-app.xml to > my.ear/META-INF, but it does not get invoked. I have used the examples > from the JBoss 3.0 book as my guide. > > > Ciao, > Jonathan O'Connor > Ph: +353 1 872 3305 > Mob: +353 86 824 9736 > Fax: +353 1 873 3612 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user > |