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

Oracle Community | 807574 | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    ldap query with logical not

    apache.org | 1 year ago
    javax.naming.NamingException: OID '2.5.4.3' was not found within the OID registry] at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.getUserIndex( JdbmPartition.java:522) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getNegationScan( DefaultOptimizer.java:219) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:148) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getConjunctionScan( DefaultOptimizer.java:187) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:145) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getConjunctionScan( DefaultOptimizer.java:187) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:145) at org.apache.directory.server.core.partition.impl.btree.DefaultSearchEngine.search( DefaultSearchEngine.java:135) at org.apache.directory.server.core.partition.impl.btree.BTreePartition.search( BTreePartition.java:367) at org.apache.directory.server.core.partition.DefaultPartitionNexus.search( DefaultPartitionNexus.java:863) at org.apache.directory.server.core.interceptor.InterceptorChain$1.search( InterceptorChain.java:139) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.interceptor.BaseInterceptor.search( BaseInterceptor.java:202) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.collective.CollectiveAttributeService.search( CollectiveAttributeService.java:318) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.operational.OperationalAttributeService.search( OperationalAttributeService.java:293) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.subtree.SubentryService.search( SubentryService.java:232) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.schema.SchemaService.search( SchemaService.java:447) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.exception.ExceptionService.search( ExceptionService.java:394) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authz.DefaultAuthorizationService.search( DefaultAuthorizationService.java:495) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authz.AuthorizationService.search( AuthorizationService.java:978) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.referral.ReferralService.search( ReferralService.java:985) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authn.AuthenticationService.search( AuthenticationService.java:417) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.normalization.NormalizationService.search( NormalizationService.java:326) at org.apache.directory.server.core.interceptor.InterceptorChain.search( InterceptorChain.java:828) at org.apache.directory.server.core.partition.PartitionNexusProxy.search( PartitionNexusProxy.java:478) at org.apache.directory.server.core.partition.PartitionNexusProxy.search( PartitionNexusProxy.java:423) at org.apache.directory.server.core.jndi.ServerDirContext.search( ServerDirContext.java:609) at org.apache.directory.server.ldap.support.SearchHandler.messageReceived( SearchHandler.java:313) at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived( DemuxingIoHandler.java:144) at org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived( LdapProtocolProvider.java:403) at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived( AbstractIoFilterChain.java:703) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived( AbstractIoFilterChain.java:362) at org.apache.mina.common.support.AbstractIoFilterChain.access$1200( AbstractIoFilterChain.java:54) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived( AbstractIoFilterChain.java:800) at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush( SimpleProtocolDecoderOutput.java:60) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived( ProtocolCodecFilter.java:190) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived( AbstractIoFilterChain.java:362) at org.apache.mina.common.support.AbstractIoFilterChain.access$1200( AbstractIoFilterChain.java:54) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived( AbstractIoFilterChain.java:800) at org.apache.mina.filter.executor.ExecutorFilter.processEvent( ExecutorFilter.java:243) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run( ExecutorFilter.java:305) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask( ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:690)

    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