1 Reply Latest reply on Mar 16, 2003 8:56 PM by adrian.brock

    how to remove EJB from JBoss

    gadgetman

      I want to remove an EJB from JBoss, because I want to change the bean from stateful to stateless. However, when I remove the jar file and delete it from JBoss and then redeploy it I get this error message:

      WARN [ServiceController] Problem creating service jboss.j2ee:jndiName=DPC2,service=EJB

      java.lang.NoSuchMethodException
      at java.lang.Class.getMethod0(Native Method)
      at java.lang.Class.getMethod(Class.java:883)
      at org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:457)

      So, the question is, how do I remove this EJB from the JBoss container, so that I can add to it again but this time as a stateless bean instead of stateful bean?