Hi Richard, I have attached the source files here:
leak2.zip <http://tomee-openejb.979440.n4.nabble.com/file/t376354/leak2.zip> Maybe it is worth a note that the injection of SecurityContext still works. So as a workaround the following will do the Job: @Context private SecurityContext securityCtx; public String userName(){ return securityCtx.getUserPrincipal().getName(); } Thanks for investigating this! Marcus -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html
