javax.naming.NamingException: Only the application that has the embedded resourceadapter can access the resource adapter

Oracle Community | 807574 | 9 years ago
  1. 0

    Exception while deploying application

    Oracle Community | 9 years ago | 807574
    javax.naming.NamingException: Only the application that has the embedded resourceadapter can access the resource adapter
  2. 0

    Jboss 4.2.3 No valid JNDI binding after successful bounded datasource

    Stack Overflow | 9 months ago | baayfall
    org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: jdbc/puma has no valid JNDI binding. Check the jboss-web/resource-ref.)
  3. 0

    Problem with servlets - finding context

    Oracle Community | 1 decade ago | 217795
    javax.naming.NamingException: META-INF/application-client.xml resource not found (see J2EE spec, application-client chapter for requirements and format of the file)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Websphere JNDI lookup fails in a Quartz job

    Stack Overflow | 2 years ago | Mindaugas
    javax.naming.NamingException: CWNEN1000E: A JNDI operation on a java:comp/env name cannot be completed because the current thread is not associated with a Java Enterprise Edition application component. This condition can occur when the JNDI client using the java:comp/env name does not occur on the thread of a server application request. Make sure that a Java EE application does not run JNDI operations on java:comp/env names within static code blocks or in threads created by that application. Such code does not necessarily run on the thread of a server application request and therefore is not supported by JNDI operations on java:comp/env names.
  6. 0

    Truoble looking up a JNDI Datasource

    Oracle Community | 1 decade ago | 42075
    javax.naming.NamingException: META-INF/application-client.xml resource not found (see J2EE spec, application-client chapter for requirements and format of the file)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      Only the application that has the embedded resourceadapter can access the resource adapter

      at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance()
    2. com.sun.enterprise
      ConnectorObjectFactory.getObjectInstance
      1. com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:77)
      1 frame
    3. Java RT
      NamingManager.getObjectInstance
      1. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      1 frame
    4. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
      1 frame
    5. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:351)
      1 frame
    6. Glassfish Naming
      NamingManagerImpl.bindObjects
      1. com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:338)
      1 frame
    7. Embedded GlassFish Web
      ContainerFactoryImpl.createContainer
      1. com.sun.ejb.containers.BaseContainer.setupEnvironment(BaseContainer.java:1874)
      2. com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:388)
      3. com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:134)
      4. com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:209)
      4 frames
    8. com.sun.enterprise
      ApplicationManager.applicationDeployed
      1. com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:488)
      2. com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:148)
      3. com.sun.enterprise.server.HttpServiceApplicationLoader.load(HttpServiceApplicationLoader.java:97)
      4. com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:229)
      5. com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:164)
      6. com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:500)
      6 frames
    9. admin-util
      AdminEventMulticaster.multicastEvent
      1. com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:872)
      2. com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:856)
      3. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:424)
      4. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
      4 frames
    10. com.sun.enterprise
      ServerRuntimeMBean.forwardEvent
      1. com.sun.enterprise.ee.admin.mbeans.ServerRuntimeMBean.forwardEvent(ServerRuntimeMBean.java:64)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor668.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    12. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)
      1 frame
    13. com.sun.enterprise
      BaseRuntimeMBean.invoke
      1. com.sun.enterprise.admin.runtime.BaseRuntimeMBean.invoke(BaseRuntimeMBean.java:386)
      1 frame
    14. Java RT
      Thread.run
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      5. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
      6. javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
      7. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
      8. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1343)
      9. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
      10. sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
      11. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      12. java.lang.reflect.Method.invoke(Method.java:585)
      13. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      14. sun.rmi.transport.Transport$1.run(Transport.java:153)
      15. java.security.AccessController.doPrivileged(Native Method)
      16. sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      17. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
      18. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
      19. java.lang.Thread.run(Thread.java:595)
      19 frames