geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <...@toolazydogs.com>
Subject Re: OpenEJB Integration tests fail with java.rmi.AccessException: access denied
Date Sun, 27 Feb 2005 17:20:08 GMT
Those are normal and required by the EJB spec.  Any AccessException 
needs to be logged.


Regards,
Alan

Jacek Laskowski wrote:

> Hi,
>
> Just did maven m:update and maven m:rebuild afterwards. All went fine 
> until OpenEJB Integration Tests failed with the following errors. 
> There're loads of these errors, but included only a few to track down 
> the issue.
>
> 18:00:51,630 WARN  [SystemExceptionInterceptor] BasicStatelessBean
> java.rmi.AccessException: access denied 
> (javax.security.jacc.EJBMethodPermission BasicStatelessBean 
> lowSecurityMethod,Remote,java.lang.String,java.lang.String)
>         at 
> org.openejb.security.EJBSecurityInterceptor.invoke(EJBSecurityInterceptor.java:102) 
>
>         at 
> org.openejb.slsb.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:98)

>
>         at 
> org.openejb.transaction.ContainerPolicy$TxSupports.invoke(ContainerPolicy.java:201) 
>
>         at 
> org.openejb.transaction.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:80)

>
>         at 
> org.openejb.SystemExceptionInterceptor.invoke(SystemExceptionInterceptor.java:82) 
>
>         at 
> org.openejb.GenericEJBContainer$DefaultSubjectInterceptor.invoke(GenericEJBContainer.java:542)

>
>         at 
> org.openejb.GenericEJBContainer.invoke(GenericEJBContainer.java:222)
>         at 
> org.openejb.server.ejbd.EjbRequestHandler.invoke(EjbRequestHandler.java:282) 
>
>         at 
> org.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:310)

>
>         at 
> org.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:185)

>
>         at org.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:134)
>         at org.openejb.server.ejbd.EjbServer.service(EjbServer.java:83)
>         at 
> org.openejb.server.ejbd.EjbServer$$FastClassByCGLIB$$d379d2ff.invoke(<generated>)

>
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>         at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)

>
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) 
>
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:710) 
>
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at 
> org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperationInvoker.java:36)

>
>         at 
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:92)

>
>         at 
> org.openejb.server.ServerService$$EnhancerByCGLIB$$65fa3200.service(<generated>)

>
>         at org.openejb.server.ServicePool$1.run(ServicePool.java:86)
>         at java.lang.Thread.run(Thread.java:595)
> 18:00:51,960 WARN  [SystemExceptionInterceptor] BasicStatelessBean
> java.rmi.AccessException: access denied 
> (javax.security.jacc.EJBMethodPermission BasicStatelessBean 
> mediumSecurityMethod,Remote,java.lang.String)
>         at 
> org.openejb.security.EJBSecurityInterceptor.invoke(EJBSecurityInterceptor.java:102) 
>
>         at 
> org.openejb.slsb.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:98)

>
>         at 
> org.openejb.transaction.ContainerPolicy$TxSupports.invoke(ContainerPolicy.java:201) 
>
>         at 
> org.openejb.transaction.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:80)

>
>         at 
> org.openejb.SystemExceptionInterceptor.invoke(SystemExceptionInterceptor.java:82) 
>
>         at 
> org.openejb.GenericEJBContainer$DefaultSubjectInterceptor.invoke(GenericEJBContainer.java:542)

>
>         at 
> org.openejb.GenericEJBContainer.invoke(GenericEJBContainer.java:222)
>         at 
> org.openejb.server.ejbd.EjbRequestHandler.invoke(EjbRequestHandler.java:282) 
>
>         at 
> org.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:310)

>
>         at 
> org.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:185)

>
>         at org.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:134)
>         at org.openejb.server.ejbd.EjbServer.service(EjbServer.java:83)
>         at 
> org.openejb.server.ejbd.EjbServer$$FastClassByCGLIB$$d379d2ff.invoke(<generated>)

>
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
>         at 
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)

>
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) 
>
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:710) 
>
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>         at 
> org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperationInvoker.java:36)

>
>         at 
> org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:92)

>
>         at 
> org.openejb.server.ServerService$$EnhancerByCGLIB$$65fa3200.service(<generated>)

>
>         at org.openejb.server.ServicePool$1.run(ServicePool.java:86)
>         at java.lang.Thread.run(Thread.java:595)
>
> Jacek



Mime
View raw message