users@glassfish.java.net

[gf-users] Re: Glassfish 4 Memory Leaks

From: <forums_at_java.net>
Date: Thu, 17 Jul 2014 09:41:17 -0500 (CDT)

You have a beans.xml file in your project. That will cause CDI to be enabled.
The bottom line is if CDI is enabled then you cannot use tag files with
parameters without getting a memory leak. By default GlassFish 4 will enable
CDI even if you don't have a beans.xml file. That is what the whole implict
CDI thing is about. However, the old way (which still works) of enabling CDI
is by including a beans.xml file in your project.

--
[Message sent by forum member 'slominskir']
View Post: http://forums.java.net/node/903479