javax.ejb.EJBAccessException: secureCall(): User CN=gauss, OU=GlassFish, O=Oracle Corporation, L=Santa Clara, ST=California, C=US does not have any granted role for MethodauthenticateCustomer

Oracle Community | brzhk | 6 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

    [GF 3.1] Failed permission: please help explaining this error message

    Oracle Community | 6 years ago | brzhk
    javax.ejb.EJBAccessException: secureCall(): User CN=gauss, OU=GlassFish, O=Oracle Corporation, L=Santa Clara, ST=California, C=US does not have any granted role for MethodauthenticateCustomer

    Root Cause Analysis

    1. javax.ejb.EJBAccessException

      secureCall(): User CN=gauss, OU=GlassFish, O=Oracle Corporation, L=Santa Clara, ST=California, C=US does not have any granted role for MethodauthenticateCustomer

      at com.mycompany.myapp.auth.CustomEjbInterceptor.secureCall()
    2. com.mycompany.myapp
      CustomEjbInterceptor.secureCall
      1. com.mycompany.myapp.auth.CustomEjbInterceptor.secureCall(CustomEjbInterceptor.java:40)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    4. Embedded GlassFish Web
      SystemInterceptorProxy.aroundInvoke
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)
      3. com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)
      4. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)
      5. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)
      5 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    6. Embedded GlassFish Web
      WebServiceInvocationHandler.invoke
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:862)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:801)
      3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:371)
      4. com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5339)
      5. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5327)
      6. com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:193)
      6 frames
    7. Unknown
      $Proxy226.authenticateCustomer
      1. $Proxy226.authenticateCustomer(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    9. JSR-109 implementation to deploy Metro
      EjbInvokerImpl.invoke
      1. org.glassfish.webservices.InvokerImpl.invoke(InvokerImpl.java:82)
      2. org.glassfish.webservices.EjbInvokerImpl.invoke(EjbInvokerImpl.java:82)
      2 frames
    10. JAX-WS RI Runtime Bundle
      AbstractTubeImpl.process
      1. com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:150)
      2. com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:261)
      3. com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:100)
      4. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      5. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      6. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      7. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      8. com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
      8 frames
    11. JSR-109 implementation to deploy Metro
      MonitoringPipe.process
      1. org.glassfish.webservices.MonitoringPipe.process(MonitoringPipe.java:142)
      1 frame
    12. JAX-WS RI Runtime Bundle
      AbstractTubeImpl.process
      1. com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
      2. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      3. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      4. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      5. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      6. com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:116)
      6 frames
    13. com.sun.enterprise
      CommonServerSecurityPipe.process
      1. com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:212)
      2. com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:144)
      2 frames
    14. JAX-WS RI Runtime Bundle
      ServletAdapter.handle
      1. com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
      2. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:641)
      3. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:600)
      4. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:585)
      5. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:482)
      6. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:314)
      7. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:608)
      8. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:259)
      9. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:162)
      9 frames
    15. JSR-109 implementation to deploy Metro
      EjbWebServiceServlet.service
      1. org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:120)
      2. org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:91)
      3. org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:200)
      4. org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:131)
      4 frames
    16. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      1 frame
    17. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1002)
      2. com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:942)
      3. com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:404)
      4. com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:354)
      5. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
      5 frames
    18. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
      2 frames
    19. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:679)
      1 frame