This is just saying that access to one of your bean methods is not allowed for the
guest user. The MethodInvocation is an attempt to show which method is
being denied but it has not been printed correctly. This is probably now failing
because previously if a method did not have any security roles assigned to in the
ejb-jar.xml file anyone could access it. This was inconsistent with the ejb spec
and now every method must have a security role assigned to it in order for the
method to be callable.


----- Original Message -----
From: jBoss Monkey
To: [EMAIL PROTECTED]
Sent: Friday, March 30, 2001 1:37 AM
Subject: [JBoss-user] Illegal Access Exception


I had this project running for a while on the previous version of jBoss.  Today I did 
the build with the latest bits from cvs. I
have used the same old user and role properties files, callback handler etc... Here is 
the exception I got.
Could some one figure out, what is going on in here.  As there is illegal access on  
org.jboss.ejb.MethodInvocation@f1a31 and not on
the method on my Bean.

Thanks,
~jm
================================================
[Mail Service] Mail Service 'Mail' bound to java:/Mail
[Mail Service] Started
[Service Control] Started 25 services
[Default] JBoss 2.1-BETA-Mar-26-2001 Started in 0m:24s
[JAASSecurity] User 'guest' authenticated.
[LocatorBean] Illegal access, principal=guest method=org.jboss.ejb.MethodI
nvocation@f1a31
[LocatorBean] TRANSACTION ROLLBACK EXCEPTION:checkSecurityAssociation; nested
exception is:
java.lang.SecurityException: Illegal access exception; nested exception
is:
java.rmi.RemoteException: checkSecurityAssociation; nested exception is:
java.lang.SecurityException: Illegal access exception
[LocatorBean] java.rmi.RemoteException: checkSecurityAssociation; nested exce
ption is:
[LocatorBean] java.lang.SecurityException: Illegal access exception
[LocatorBean] java.lang.SecurityException: Illegal access exception
[LocatorBean] at org.jboss.ejb.plugins.SecurityInterceptor.checkSecuri



Get your FREE download of MSN Explorer at http://explorer.msn.com

_______________________________________________ JBoss-user mailing list 
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to