2 Replies Latest reply on Aug 22, 2002 10:21 AM by John-Luc Bakker

    method not found? expected 'remove()'?

    John-Luc Bakker Newbie


      [jboss 3.0.1/jdk1.4.0-01]

      I think I have a weird problem. I have ejb-jar.xml that lists 2 SL session beans and 1 entity bean. The first one mentioned is "Traffic".

      I pack the three beans in one file with ext. jar and deploy it default/deploy. Then I get a method not found exception:

      [ObjectName: jboss.j2ee:service=EJB,jndiName=com.blabla.traffic.TrafficHome
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.NoSuchMethodException: Method not found in bean class:

      So, why does it expect remove? None of the three beans has a remove(...) (they all have ejbRemove()). What message is hidden behind this exception?

      Thanks for insight!