javax.ejb.AccessLocalException: Client not authorized to access public java.util.Collection com.aep.csps.si.ws.EntityCrudWS.getAllVendors()

Oracle Community | 807581 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Securing Web Service - Basic Authentication | Oracle Community

    oracle.com | 2 years ago
    javax.ejb.AccessLocalException: Client not authorized to access public java.util.Collection com.aep.csps.si.ws.EntityCrudWS.getAllVendors()
  2. 0

    Securing Web Service - Basic Authentication

    Oracle Community | 1 decade ago | 807581
    javax.ejb.AccessLocalException: Client not authorized to access public java.util.Collection com.aep.csps.si.ws.EntityCrudWS.getAllVendors()

    Root Cause Analysis

    1. javax.ejb.AccessLocalException

      Client not authorized to access public java.util.Collection com.aep.csps.si.ws.EntityCrudWS.getAllVendors()

      at com.sun.ejb.containers.WebServiceInvocationHandler.invoke()
    2. Embedded GlassFish Web
      WebServiceInvocationHandler.invoke
      1. com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:128)
      1 frame
    3. Unknown
      $Proxy115.getAllVendors
      1. $Proxy115.getAllVendors(Unknown Source)
      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:597)
      4 frames
    5. JAX-WS RI Runtime Bundle
      PeptTie._invoke
      1. com.sun.xml.ws.server.PeptTie._invoke(PeptTie.java:61)
      1 frame
    6. com.sun.xml
      SOAPMessageDispatcher.receive
      1. com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.invokeEndpoint(SOAPMessageDispatcher.java:280)
      2. com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:588)
      3. com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:147)
      3 frames
    7. JAX-WS RI Runtime Bundle
      Tie.handle
      1. com.sun.xml.ws.server.Tie.handle(Tie.java:90)
      1 frame
    8. com.sun.enterprise
      EjbWebServiceServlet.service
      1. com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
      2. com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
      3. com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:186)
      4. com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:117)
      4 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    10. Glassfish
      AdHocContextValve.invoke
      1. com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
      1 frame
    11. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      2 frames
    12. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
      1 frame
    13. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2 frames
    14. Glassfish
      VirtualServerPipeline.invoke
      1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      1 frame
    15. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      5 frames
    16. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
      1 frame
    17. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
      7 frames