[EJB 3.0] - Re: @Service bug
by matt10
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
19 years, 9 months
[Clustering/JBoss] - Re: Data file synchronization
by mike.daleiden
If the farm service is not meant for file distribution, is there some other mechanism in JBoss that can be used for this type of service? The reason I ask is that we have a situation that is similar to what andystoy described, where we have some common configuration files that we need to automatically distribute to all servers in the cluster. The main file we want to synchronize between servers is our log4j.xml file, so that all servers have the same logging configuration. All of our other software components are deployable units and we are using farming to do distributed deployment of these components, so that we do not have to manually distribute to each node in the cluster. We would like to have some mechanism to distribute the configuration files (e.g., log4j.xml) from a "master" node to all of the other nodes in the cluster, so that we do not have to copy the files to each server manually (which will not be practical, once we go to a geographically separated environment later this year).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961321#3961321
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961321
19 years, 9 months