1 Reply Latest reply on May 18, 2010 11:31 AM by Daniel Lechner

    EJBAccessException when Seam calls @Remove method

    Daniel Lechner Novice


      I've an EJB which is also a Seam component. We use the EJB-containers security mechanisms to restrict access to the EJBs.
      More or less, the application is running and there are no problems with access-restrictions during operation. But when I shut down the application server (JBoss), I get the following exception:

      WARN  [org.jboss.seam.Component] Exception calling stateful session bean default @Remove method: someSFSB

      javax.ejb.EJBAccessException: Authentication failure

      Is there a possibility to log in to the containers security framework when the @Remove-methods are called in order to avoid this exception? Or is there any other suggestion to get rid of this problem?