java.rmi.RemoteException: Security violation: insufficient permission to access method at weblogic.ejb20.internal.BaseEJBHome.preHomeInvoke(BaseEJBHome.java:300) at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:241) at mypackage.MyBeanHomeImpl.create(MyBeanHomeImpl.java:96) at mypackage.MyBeanHomeImpl_ServiceStub.create(MyBeanHomeImpl_ServiceStub.java, Compiled Code) at myservletpackage.TestServlet.doGet(TestServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:744) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:692) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:251) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)

Oracle Community | 3004 | 2 decades 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

    Problems with Access-protected methods in EJB

    Oracle Community | 2 decades ago | 3004
    java.rmi.RemoteException: Security violation: insufficient permission to access method at weblogic.ejb20.internal.BaseEJBHome.preHomeInvoke(BaseEJBHome.java:300) at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:241) at mypackage.MyBeanHomeImpl.create(MyBeanHomeImpl.java:96) at mypackage.MyBeanHomeImpl_ServiceStub.create(MyBeanHomeImpl_ServiceStub.java, Compiled Code) at myservletpackage.TestServlet.doGet(TestServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:744) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:692) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:251) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)

    Root Cause Analysis

    1. java.rmi.RemoteException

      Security violation: insufficient permission to access method at weblogic.ejb20.internal.BaseEJBHome.preHomeInvoke(BaseEJBHome.java:300) at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:241) at mypackage.MyBeanHomeImpl.create(MyBeanHomeImpl.java:96) at mypackage.MyBeanHomeImpl_ServiceStub.create(MyBeanHomeImpl_ServiceStub.java, Compiled Code) at myservletpackage.TestServlet.doGet(TestServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:744) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:692) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:251) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)

      at weblogic.socket.MuxableSocketHTTP.execute()
    2. weblogic.socket
      MuxableSocketHTTP.execute
      1. weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
      1 frame