java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=metro, module=metro.jar, ejb=MySessionBean, method=create, methodInterface=Home, signature={}.

Google Groups | Suni | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Not able to access a secured method of a session bean from a servlet's init() method..

    Google Groups | 1 decade ago | Suni
    java.rmi.AccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=metro, module=metro.jar, ejb=MySessionBean, method=create, methodInterface=Home, signature={}.

    Root Cause Analysis

    1. java.rmi.AccessException

      [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=metro, module=metro.jar, ejb=MySessionBean, method=create, methodInterface=Home, signature={}.

      at weblogic.ejb20.internal.Method­Descriptor.checkMethodPermissi­onsRemote()
    2. weblogic.ejb20.internal
      Statel­essEJBHome.create
      1. weblogic.ejb20.internal.Method­Descriptor.checkMethodPermissi­onsRemote(MethodDescriptor.jav­a:550)
      2. weblogic.ejb20.internal.Statel­essEJBHome.create(StatelessEJB­Home.java:157)
      2 frames
    3. com.sunny.metro
      StartTim­erServlet.init
      1. com.sunny.metro.server.ejb.MyS­essionBean_tc67pu_HomeImpl.cre­ate(MySessionBean_tc67pu_HomeI­mpl.java:66)
      2. com.sunny.metro.timer.StartTim­erServlet.init(StartTimerServl­et.java:35)
      2 frames