javax.ejb.EJBAccessException: [EJB:010160]Security violation: User <anonymous> has insufficient permission to access EJB type=<ejb>, application=Shopping-1, module=Shopping-1.war, ejb=HelloWorldResource, method=getMsg, methodInterface=Local, signature={java.lang.String,java.lang.String,javax.ws.rs.core.SecurityContext}.
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Stack Overflow by Jimy Weiss
, 1 year agojavax.ejb.EJBAccessException: [EJB:010160]Security violation: User <anonymous> has insufficient permission to access EJB type=<ejb>, application=Shopping-1, module=Shopping-1.war, ejb=HelloWorldResource, method=getMsg, methodInterface=Local, signature={java.lang.String,java.lang.String,javax.ws.rs.core.SecurityContext}.
at weblogic.ejb.container.internal.InvocationWrapper.checkMethodPermissionsBusiness(InvocationWrapper.java:415)
at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:110)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_preInvoke(BaseLocalObject.java:69)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:22)
at ch.shopping.resource.HelloWorldResource_94mzfg_NoIntfViewImpl.getMsg(Unknown Source)