- 
        1. Re: CMP remove() questiondsundstrom Apr 18, 2002 2:50 PM (in response to roysun)Try this: 
 public void ejbRemove() { }
- 
        2. Re: CMP remove() questionroysun Apr 18, 2002 3:00 PM (in response to roysun)yes. I have this on EntityBean class. 
 I don't need to write abstract method for remove on EntityBean class. Am I right?
 Roy
- 
        3. Re: CMP remove() questiondsundstrom Apr 18, 2002 4:52 PM (in response to roysun)> I don't need to write abstract method for remove on 
 > EntityBean class. Am I right?
 yes
- 
        4. Re: CMP remove() questionroysun Apr 18, 2002 5:19 PM (in response to roysun)I tried 3.0beta as well. It has the same problem. The error message is as the follow. How should I deal with it? 
 Roy
 ============
 org.jboss.ejb.DeploymentException: Could not find matching method for public abstract void com.inquent.iqos.ejb.log.persistence.LogParameterLocal.remove() throw
 s javax.ejb.RemoveException,javax.ejb.EJBException, Cause: java.lang.NoSuchMethodException: remove
 at org.jboss.ejb.EntityContainer.setupBeanMappingImpl(EntityContainer.java:924)
 at org.jboss.ejb.EntityContainer.setupBeanMapping(EntityContainer.java:942)
 at org.jboss.ejb.EntityContainer.start(EntityContainer.java:353)
 at org.jboss.ejb.Application.start(Application.java:200)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:381)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:307)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:467)
 at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:444)
 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:215)
 at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:633)
 at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:308)
 at java.lang.Thread.run(Thread.java:536)
 Caused by: java.lang.NoSuchMethodException: remove
 at java.lang.Class.getMethod0(Class.java:1742)
 at java.lang.Class.getMethod(Class.java:951)
 at org.jboss.ejb.EntityContainer.setupBeanMappingImpl(EntityContainer.java:913)
 ... 22 more
- 
        5. Re: CMP remove() questiondsundstrom Apr 18, 2002 6:36 PM (in response to roysun)You don't need to declare the method on your remote or local interfaces; it is automatically declared by EJBObject or EJBLocalObject. 
 
    