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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by C2S, 1 year ago
A Resource Adapter may only be accessed from within the same application from which it was deployed.
via hivmr.com by Unknown author, 1 year ago
A Resource Adapter may only be accessed from within the same application from which it was deployed.
via Oracle Community by 666705, 1 year ago
A Resource Adapter may only be accessed from within the same application from which it was deployed.
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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.