users@glassfish.java.net

Re: _at_EJB annotation nightmare

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 Jun 2010 02:01:02 PDT

I deleted my Local and/or Remote interfaces.
Now i get something like http://pastebin.com/Si76CCKZ
Look especially at "Client not authorized":

Failed Permission Check, context(EAOne/EAOne-ejb_jar)- permission((javax.security.jacc.EJBMethodPermission RSSVersion getCurrentVersion,Local,))

I debugged code and I see that the field rssVersion is not of type long as I declared it. instead the type i named something like __EJB31_Generated__RSSVersion__Intf____Bean__
and thus I cannot get my verson value from it. :(
[Message sent by forum member 'glesiak']

http://forums.java.net/jive/thread.jspa?messageID=474303