4 Replies Latest reply on Oct 30, 2007 8:15 AM by Carlo de Wolf

    PreDestroy callback is not being called by container

    rajiv konkimalla Newbie

      We use JBOSS 4.2.1.GA. My statefule session bean has different methods for different callback methods like @PostConstruct, @PostActivate, @PrePassivate and @PreDestroy. Except the method with @PreDestroy all the methods are being called.

      I did some clean up in method having @PreDestroy so that when I complete my work or shutdown the JBOSS, this method will be cleaned. In either case this is not being used.

      Can somebody please let me know the way to take care of this issue?