javax.naming.NoPermissionException

A Resource Adapter may only be accessed from within the same application from which it was deployed.

Solutions on the web29

  • A Resource Adapter may only be accessed from within the same application from which it was deployed.
  • A Resource Adapter may only be accessed from within the same application from which it was deployed.
  • A Resource Adapter may only be accessed from within the same application from which it was deployed.
  • Stack trace

    • javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed. at weblogic.connector.outbound.RAOutboundManager.getConnectionFactory(RAOutboundManager.java:765) at weblogic.connector.deploy.JNDIHandler.getConnectionFactory(JNDIHandler.java:1015) at weblogic.connector.deploy.JNDIHandler.lookupObject(JNDIHandler.java:869) at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:843) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:255) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.mycompany.myEJB.initContext(myEJB.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:332) at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:326)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.