I have a servlet which actually act as an EJB client. The ejb server application
is running on the same server(WL 7.0 SP4). The servlet was working fine when
we were using a policy file which give all permissions to the code. Now as per
customer requirement we changed the policy file to include only the permissions
that we require. It is throwing this exception after this policy file change.
What the code is doing is that using reflection, get the findByPrimaryKey method
and invoke it on the home interface.