Re: [JBoss-user] Illegal Access Exception

2001-04-01 Thread jBoss Monkey

Thanks  Scott, that explains the problem. Let me give a try. May be we should make the error message more user friendly. 
~jm

>From: "Scott M Stark" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: <[EMAIL PROTECTED]>
>Subject: Re: [JBoss-user] Illegal Access Exception 
>Date: Fri, 30 Mar 2001 02:41:19 -0800 
> 
> 
>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 
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


Re: [JBoss-user] Illegal Access Exception

2001-04-01 Thread jBoss Monkey

That will be great. Looking forward for  this fix.  Thanks,   ~jm

>From: Dan Christopherson <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: [EMAIL PROTECTED] 
>Subject: Re: [JBoss-user] Illegal Access Exception 
>Date: Fri, 30 Mar 2001 16:19:53 -0600 (CST) 
> 
>On Fri, 30 Mar 2001, jBoss Monkey wrote: 
> 
> > 
> > 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. 
>Oops. That should give you the name of the method. I'll fix this and 
>update CVS tonight. 
> 
> > 
> > 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 
> 
>-- 
>Dan Christopherson (danch) 
>nVisia Technical Architect (www.nvisia.com) 
> 
>Opinions expressed are mine and do not neccessarily reflect any 
>position or opinion of nVISIA. 
> 
>--- 
>If you're a capitalist and you have the best goods and they're 
>free, you don't have to proselytize, you just have to wait. 
>-Eben Moglen 
> 
> 
> 
>___ 
>JBoss-user mailing list 
>[EMAIL PROTECTED] 
>http://lists.sourceforge.net/lists/listinfo/jboss-user 
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


Re: [JBoss-user] Illegal Access Exception

2001-03-30 Thread Dan Christopherson

On Fri, 30 Mar 2001, jBoss Monkey wrote:

> 
> 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.
Oops. That should give you the name of the method. I'll fix this and
update CVS tonight.

> 
> 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

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen



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



Re: [JBoss-user] Illegal Access Exception

2001-03-30 Thread Scott M Stark


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



[JBoss-user] Illegal Access Exception

2001-03-30 Thread jBoss Monkey

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.MethodInvocation@f1a31[LocatorBean] TRANSACTION ROLLBACK EXCEPTION:checkSecurityAssociation; nestedexception is:java.lang.SecurityException: Illegal access exception; nested exceptionis:java.rmi.RemoteException: checkSecurityAssociation; nested exception is:
java.lang.SecurityException: Illegal access exception[LocatorBean] java.rmi.RemoteException: checkSecurityAssociation; nested exception is:[LocatorBean] java.lang.SecurityException: Illegal access exception[LocatorBean] java.lang.SecurityException: Illegal access exception[LocatorBean] at org.jboss.ejb.plugins.SecurityInterceptor.checkSecuriGet 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