Hey all, I was able to get rid of some warnings on my session bean by adding 'local-class' attributes, but now I'm getting a NoSuchMethodException on removeHome() when my server initializes it. Shouldn't it be generated automatically?
--- jboss server output --- 10:04:31,718 ERROR [StatelessSessionContainer] Initialization failed jboss.j2ee:jndiName=ejb/comp/RegisterDevice,service=EJB java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.removeHome() at java.lang.Class.getMethod(Class.java:978) at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:488) at org.jboss.ejb.StatelessSessionContainer.createService(StatelessSessionContainer.java:142) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) at ... And below are my session bean attributes, anyone see anything wrong? --- /** * * @ejb.bean * name="comp/RegisterDevice" * display-name="Register Device Bean" * type="Stateless" * view-type="both" * jndi-name="ejb/comp/RegisterDevice" * primkey-field="id" * * @ejb.home * extends="javax.ejb.EJBHome" * local-extends="javax.ejb.EJBLocalHome" * local-class="com.company.management.ejb.session.RegisterDeviceLocalHome" * remote-class="com.company.management.ejb.session.RegisterDeviceHome" * * @ejb.interface * extends="javax.ejb.EJBObject" * local-extends="javax.ejb.EJBLocalObject" * local-class="com.company.management.ejb.session.RegisterDeviceLocal" * remote-class="com.company.management.ejb.session.RegisterDevice" */ public class RegisterDeviceBean implements SessionBean { private transient SessionContext context = null; public void setSessionContext(SessionContext ctx) { context = ctx; } public void unsetSessionContext() throws EJBException { context = null; } /** * * @throws CreateException * * @ejb.create-method */ public void ejbCreate() throws CreateException { } /** * @ejb.home-method */ public void ejbPostCreate() { } /** * @ejb.home-method */ public void ejbLoad() throws EJBException { } /** * @ejb.home-method */ public void ejbStore() throws EJBException { } /** * @ejb.home-method */ public void ejbRemove() throws EJBException { } /** * @ejb.home-method */ public void ejbActivate() throws EJBException { } /** * @ejb.home-method */ public void ejbPassivate() throws EJBException { } /** * @ejb.interface-method */ public boolean register(Device dev) { return true; } } _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user