3 Replies Latest reply on Jun 16, 2011 3:26 AM by jaikiran pai

    Caused by: javax.naming.NameNotFoundException: com not bound

    Niraj Adhikary Newbie

      Hi all,

           I am new to @LocalBinding(jndiBinding="") to this annotation tag from jboss. I am facing some critical bug or issue whatever you want to say, by using this tag. I am unable to bound my ejb to different name other the default one. Every time when I am running jboss it deploy my app properly and then when I am trying to access the ejb it throws the error as above mentioned.

       

       

      Thanks,

       

      Niraj

        • 1. Re: Caused by: javax.naming.NameNotFoundException: com not bound
          jaikiran pai Master

          Please post the exact exception stacktrace, the relevant code, the version of Java and JBoss AS and other relevant details.

          • 2. Re: Caused by: javax.naming.NameNotFoundException: com not bound
            Niraj Adhikary Newbie

            Full Stack Trace of the error masg is as below :

             

             

            ERROR [STDERR] com.allegiant.are.framework.exception.AllegiantException: javax.naming.NameNotFoundException: AirportsEAO not bound

            ERROR [STDERR]     at com.allegiant.are.framework.ServiceLocator.getService(ServiceLocator.java:65)

            ERROR [STDERR]     at com.allegiant.are.product.lookup.LookupAirport.getAirportLocationName(LookupAirport.java:47)

            ERROR [STDERR]     at com.allegiant.are.product.validator.product.ProductAvailValidator.validateInput(ProductAvailValidator.java:61)

            ERROR [STDERR]     at com.allegiant.are.product.handler.product.ProductAvailReplicativeHandler.getProductAvail(ProductAvailReplicativeHandler.java:41)

            ERROR [STDERR]     at com.allegiant.are.product.handler.product.ProductShoppingHandler.getProductAvail(ProductShoppingHandler.java:29)

            ERROR [STDERR]     at com.allegiant.are.product.service.ProductsService.getProductAvail(ProductsService.java:44)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:138)

            ERROR [STDERR]     at com.jamonapi.aop.JAMonEJBInterceptor.intercept(JAMonEJBInterceptor.java:26)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:83)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:70)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)

            ERROR [STDERR]     at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)

            ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_26827930.invoke(InvocationContextInterceptor_z_fillMethod_26827930.java)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)

            ERROR [STDERR]     at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_26827930.invoke(InvocationContextInterceptor_z_setup_26827930.java)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

            ERROR [STDERR]     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)

            ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:325)

            ERROR [STDERR]     at org.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:693)

            ERROR [STDERR]     at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:106)

            ERROR [STDERR]     at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:240)

            ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)

            ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)

            ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)

            ERROR [STDERR]     at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)

            ERROR [STDERR]     at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

            ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

            ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

            ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

            ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

            ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

            ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

            ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

            ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

            ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

            ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

            ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

            ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

            ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

            ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

            ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

            ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

            ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

            ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

            ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)

            ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: AirportsEAO not bound

            ERROR [STDERR]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)

            ERROR [STDERR]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)

            ERROR [STDERR]     at org.jnp.server.NamingServer.getObject(NamingServer.java:785)

            ERROR [STDERR]     at org.jnp.server.NamingServer.lookup(NamingServer.java:396)

            ERROR [STDERR]     at org.jnp.server.NamingServer.lookup(NamingServer.java:399)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)

            ERROR [STDERR]     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

            ERROR [STDERR]     at sun.rmi.transport.Transport$1.run(Transport.java:159)

            ERROR [STDERR]     at java.security.AccessController.doPrivileged(Native Method)

            ERROR [STDERR]     at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

            ERROR [STDERR]     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

            ERROR [STDERR]     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

            ERROR [STDERR]     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

            ERROR [STDERR]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

            ERROR [STDERR]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

            ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)

            ERROR [STDERR]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)

            ERROR [STDERR]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)

            ERROR [STDERR]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)

            ERROR [STDERR]     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)

            ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)

            ERROR [STDERR]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)

            ERROR [STDERR]     at javax.naming.InitialContext.lookup(InitialContext.java:392)

            ERROR [STDERR]     at com.allegiant.are.framework.ServiceLocator.getService(ServiceLocator.java:62)

            ERROR [STDERR]     ... 96 more

            ERROR [SOAPFaultHelperJAXWS] SOAP request exception

            BException: java.lang.NullPointerException

            rg.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:77)

            rg.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)

            rg.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:182)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:325)

            rg.jboss.ejb3.stateless.StatelessContainer.invokeEndpoint(StatelessContainer.java:693)

            rg.jboss.wsf.container.jboss50.invocation.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:106)

            rg.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:240)

            rg.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:468)

            rg.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:293)

            rg.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)

            rg.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)

            rg.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)

            avax.servlet.http.HttpServlet.service(HttpServlet.java:717)

            rg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

            rg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            rg.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

            rg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

            rg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

            rg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

            rg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

            rg.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

            rg.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

            rg.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

            rg.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

            rg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

            rg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

            rg.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

            rg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

            rg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

            rg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

            rg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

            rg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

            ava.lang.Thread.run(Thread.java:619)

            ava.lang.NullPointerException

            om.allegiant.are.product.builder.dto.AbstractResponseBuilder.buildErrorResponse(AbstractResponseBuilder.java:31)

            om.allegiant.are.product.service.ProductsService.getProductAvail(ProductsService.java:47)

            un.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            un.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            un.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ava.lang.reflect.Method.invoke(Method.java:597)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

            rg.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:72)

            rg.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:138)

            om.jamonapi.aop.JAMonEJBInterceptor.intercept(JAMonEJBInterceptor.java:26)

            un.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            un.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            un.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ava.lang.reflect.Method.invoke(Method.java:597)

            rg.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:83)

            rg.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:70)

            rg.jboss.ejb3.interceptors.container.ContainerMethodInvocationWrapper.invokeNext(ContainerMethodInvocationWrapper.java:62)

            rg.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:76)

            rg.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:62)

            un.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            un.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            un.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            ava.lang.reflect.Method.invoke(Method.java:597)

            rg.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72)

            rg.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_26827930.invoke(InvocationContextInterceptor_z_fillMethod_26827930.java)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88)

            rg.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_26827930.invoke(InvocationContextInterceptor_z_setup_26827930.java)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68)

            rg.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

            rg.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

            50 more

             

             

            @Stateless(name = "AirportsEAOBean")

            @Local(AirportsEAO.class)

            public class AirportsEAOBean implements AirportsEAO {

             

            ..............................................my code goes here .................

             

             

             

            }

             

             

            Java version 6

             

            Jboss eap 5.1.0

             

            I am using maven build to build and deploy the app in jboss

             

            I am new to ejb3 and this annotations, so it may happen i am wrong in posting and my subject line and everything might not be standard. Please forgive me abt that.

            • 3. Re: Caused by: javax.naming.NameNotFoundException: com not bound
              jaikiran pai Master

              ERROR [STDERR] com.allegiant.are.framework.exception.AllegiantException: javax.naming.NameNotFoundException: AirportsEAO not bound

              ERROR [STDERR]     at com.allegiant.are.framework.ServiceLocator.getService(ServiceLocator.java:65)

              ERROR [STDERR]     at com.allegiant.are.product.lookup.LookupAirport.getAirportLocationName(LookupAirport.java:47)

              Show us the part of the code which does this lookup. Also the code you posted doesn't show any references to @LocalBinding usage.