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
Hi Claudio,
you should enable the debug logging for Weld to get the real cause (see also http://weld.cdi-spec.org/documentation/#7).