1 Reply Latest reply on Mar 2, 2015 2:06 AM by Martin Kouba

    WELD-000019 Error destroying an instance Managed Bean

    Claudio Miranda Expert

      every time the application uses some DAO, it prints

       

      17:23:16,800 ERROR [org.jboss.weld.Bean] (http-localhost/127.0.0.1:8080-5) WELD-000019 Error destroying an instance Managed Bean [class br.com.company.consulting.dao.PartnerOrganizationDao] with qualifiers [@Any @Default] of br.com.company.consulting.dao.PartnerOrganizationDao$Proxy$_$$_WeldSubclass@46a25be5
      

       

      The class is

       

      Rest calls Service calls Dao
      @RequestScoped
      @Path("/organization")
      @RolesAllowed({"redhat_manager", "admin"})
      @Authenticated
      public class PartnerOrganizationRest {
      

       

      public class PartnerOrganizationService {
      

       

      @RequestScoped
      public class PartnerOrganizationDao extends BaseDao<PartnerOrganization, PartnerOrganizationSearchFilter> {
      

       

      The application keeps working good.

       

      Perhaps, those instances are being retained and later can throw OOME ?

       

      Thanks

       

      Claudio