Are you guys aware that the LocalHome interface can be called from someone
without enough permissions and the exception thrown should be of type
EJBException, not RemoteException?

I interpreted the following as the Security Interceptor throwing a
RemoteException when it should throw an EJBException. From this on the
exception chaining become some kind of a chaos. I assigned method
permissions and everything worked fine.

[2001-11-20 20:49:25,032,LogInterceptor,ERROR]
TransactionRolledbackException, causedBy:
java.lang.reflect.UndeclaredThrowableException
        at $Proxy18.findByPrimaryKey(Unknown Source)
.
.
.
Caused by: java.rmi.RemoteException: checkSecurityAssociation; nested
exception is:
        java.lang.SecurityException: No method permissions assigned to
method=findByPrimaryKey


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to