From: JD B. <br...@re...> - 2002-09-30 17:21:46
|
You might try putting the .sar inside the ejb .jar inside the .ear JD -----Original Message----- From: Jonathan.O'Co...@xc... [mailto:Jonathan.O'Co...@xc...] Sent: Monday, September 30, 2002 10:09 AM To: jbo...@li... Subject: [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 |