[jboss-user] [EJB 3.0] - Re: @Service bug

matt10 do-not-reply at jboss.com
Thu Jul 27 11:49:00 EDT 2006


I have this same problem and it's frustrating.

On redeploy of a @Service mbean, I get:

javax.ejb.EJBAccessException: Authentication failure
        at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:68)
        at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:71)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
        at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:199)
        at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:167)
        at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:168)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
        at $Proxy0.stop(Unknown Source)
        at org.jboss.system.ServiceController.stop(ServiceController.java:508)
        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

...

This is since I started to use a SecurityDomain on some other EJB3 beans.

I get this error whether or not on the @Service bean I declare @SecurityDomain, @PermitAll on methods, no security annotation at all, etc.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961326#3961326

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961326



More information about the jboss-user mailing list