The error above is for using the 4.0.4RC1 installer directly. This time I downloaded the JBoss 4.0.4RC1 zip file. Unzip the zip file. Downloaded the EJB3. Installed EJB3 into the JBoss according to the instruction.
I can start JBoss without any error. But I got error when I deployed my web application. ObjectName: jboss.j2ee:service=EJB3,ear=emp.ear,jar=emp.ejb3,name=EmployeeManagerBean State: NOTYETINSTALLED I Depend On: persistence.units:unitName=emp --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: persistence.units:unitName=emp State: NOTYETINSTALLED At runtime the session bean not found. InitialContext ctx = new InitialContext(); ctx.lookup(EmployeeManager.getName()); will throw NameNotFoundException. public class EmployeeManagerBean implements EmployeeManager { @PersistenceContext (unitName="emp") protected EntityManager em; ... } The web application runs well with JBoss 4.0.3SP1. Did I miss anything? Thanks for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933340#3933340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933340 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user