users@glassfish.java.net

Re: Remote EJB Calls = Glassfish running out of heap space

From: <forums_at_java.net>
Date: Tue, 28 Jun 2011 12:23:16 -0500 (CDT)

 Ok I left out a detail which turns out to the the cause of the problem.
 The EJB method has the @RollsAllowed annotation on it.  In the test I
login using ProgrammaticLogin, then in a loop call the remote method, then
log out when finished.  If I remove the login and the @RollsAllowed then it
flies through the loop with no problems at all.  So the problem seems to be
with how the authorization on the EJB method is handled.  Login only happens
once so I can't see that being the problem.


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