javax.ejb.AccessLocalException: jazn.com/anonymous is not allowed to call this EJB method, check your security settings (method-permission in ejb-jar.xml and security-role-mapping in orion-application.xml).

jakarta-cactus-user | Roman Heinrich | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Testing EJB methods protected with security role, Oracle Application Server

    jakarta-cactus-user | 10 years ago | Roman Heinrich
    javax.ejb.AccessLocalException: jazn.com/anonymous is not allowed to call this EJB method, check your security settings (method-permission in ejb-jar.xml and security-role-mapping in orion-application.xml).

    Root Cause Analysis

    1. javax.ejb.AccessLocalException

      jazn.com/anonymous is not allowed to call this EJB method, check your security settings (method-permission in ejb-jar.xml and security-role-mapping in orion-application.xml).

      at CMSLocalHome_StatefulSessionHomeWrapper77.create()
    2. Unknown
      CMSLocalHome_StatefulSessionHomeWrapper77.create
      1. CMSLocalHome_StatefulSessionHomeWrapper77.create(CMSLocalHome_StatefulSessionHomeWrapper77.java:235)
      1 frame
    3. sk.orange.intranet
      ssotest.testSSOSecuredEJB
      1. sk.orange.intranet.core.services.ssotest.testSSOSecuredEJB(ssotest.java:55)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      2 frames
    6. org.apache.cactus
      ServletTestRedirector.doGet
      1. org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
      2. org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
      3. org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
      4. org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224)
      5. org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
      6. org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
      7. org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224)
      8. org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
      9. org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
      10. org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224)
      11. org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
      11 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    8. com.evermind.server
      ResourceFilterChain.doFilter
      1. com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
      1 frame
    9. oracle.security.jazn
      JAZNFilter.doFilter
      1. oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
      1 frame
    10. com.evermind.server
      AJPRequestHandler.run
      1. com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
      2. com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
      3. com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
      4. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
      5. com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
      5 frames
    11. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame