4 Replies Latest reply on Jul 8, 2005 2:57 PM by Martin Hermosilla

    javax.ejb.ObjectNotFoundException: No such entity!

    Julien Martin Expert

      Hello,

      I am relatively new to Jboss and I get the following error: (javax.ejb.ObjectNotFoundException: No such entity!) even though I know for a fact that the object/row exists in the database.

      Here is the full stack trace:

      21:28:39,890 INFO [STDOUT] ------containsResults------->true
      21:28:44,906 INFO [STDOUT] javax.ejb.ObjectNotFoundException: No such entity!
      21:28:44,906 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.execute(JDBCFindByPrimaryKeyQuery.java:133)
      21:28:44,906 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:43)
      21:28:44,906 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:582)
      21:28:44,906 INFO [STDOUT] at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:310)
      21:28:44,906 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:300)
      21:28:44,906 INFO [STDOUT] at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1053)
      21:28:44,906 INFO [STDOUT] at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:643)
      21:28:44,906 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:28:44,921 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:28:44,921 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:28:44,921 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      21:28:44,921 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1080)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:194)
      21:28:44,921 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:214)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:113)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:129)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:110)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:487)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:832)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:312)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
      21:28:44,921 INFO [STDOUT] at $Proxy99.findByPrimaryKey(Unknown Source)
      21:28:44,921 INFO [STDOUT] at com.softwareag.test_guide.sessionFacadeEJB.PGSessionFacadeBean.getEstablishmentFromId(PGSessionFacadeBean.java:37)
      21:28:44,921 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:28:44,921 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:28:44,921 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:28:44,921 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      21:28:44,921 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:232)
      21:28:44,921 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:111)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:40)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:138)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:603)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:810)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:394)
      21:28:44,921 INFO [STDOUT] at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82)
      21:28:44,921 INFO [STDOUT] at $Proxy92.getEstablishmentFromId(Unknown Source)
      21:28:44,921 INFO [STDOUT] at com.softwareag.test_guide.web.temp.PGBusinessDelegate.getEstablishmentFromId(PGBusinessDelegate.java:23)
      21:28:44,921 INFO [STDOUT] at com.softwareag.test_guide.web.tags.PGSetEstablishmentTag.doStartTag(PGSetEstablishmentTag.java:27)
      21:28:44,921 INFO [STDOUT] at org.apache.jsp.displayItem_jsp._jspService(displayItem_jsp.java:91)
      21:28:44,921 INFO [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      21:28:44,921 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      21:28:44,921 INFO [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:298)
      21:28:44,921 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      21:28:44,921 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      21:28:44,921 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      21:28:44,921 INFO [STDOUT] at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
      21:28:44,921 INFO [STDOUT] at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
      21:28:44,921 INFO [STDOUT] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
      21:28:44,921 INFO [STDOUT] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
      21:28:44,921 INFO [STDOUT] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
      21:28:44,921 INFO [STDOUT] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      21:28:44,921 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      21:28:44,937 INFO [STDOUT] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:277)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      21:28:44,937 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:80)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      21:28:44,937 INFO [STDOUT] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:122)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      21:28:44,937 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      21:28:44,937 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      21:28:44,937 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
      21:28:44,937 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
      21:28:44,937 INFO [STDOUT] at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
      21:28:44,937 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
      21:28:44,937 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
      21:43:09,187 WARN [AbstractInstanceCache] failed to passivate, id=dvtudfhv-5
      javax.ejb.EJBException: Could not passivate; failed to save state; CausedByException is:
       com.softwareag.test_guide.searchEngineEJB.PGSearchEngineDAO
       at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:378)
       at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:85)
       at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:151)
       at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:419)
       at java.util.TimerThread.mainLoop(Timer.java:432)
       at java.util.TimerThread.run(Timer.java:382)
      java.io.NotSerializableException: com.softwareag.test_guide.searchEngineEJB.PGSearchEngineDAO
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
       at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
       at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
       at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
       at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
       at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:370)
       at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(StatefulSessionInstanceCache.java:85)
       at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:151)
       at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:419)
       at java.util.TimerThread.mainLoop(Timer.java:432)
       at java.util.TimerThread.run(Timer.java:382)
      
      


      Can anyone help please?

      Thanks in advance,

      Julien.

      You can browse the sources from here: http://www.parispano.org/test_guide/ejb_tier/

        • 1. Re: javax.ejb.ObjectNotFoundException: No such entity!
          Alexey Loubyansky Master

          ResultSet contained was empty. You can enable TRACE logging for org.jboss.ejb.plugins.cmp to see the SQL and parameters.

          • 2. javax.ejb.ObjectNotFoundException: No such entity!
            Julien Martin Expert

            Hello Loubyansky,
            When I add the following tag in server\default\conf\log4j.xml

             <category name="org.jboss.ejb.plugins.cmp">
             <priority value="TRACE" class="org.jboss.ejb.plugins.cmp"/>
             </category>
            

            I get this
            log4j:ERROR Could not create level [TRACE]. Reported error follows.
            java.lang.ClassNotFoundException: org.jboss.ejb.plugins.cmp
             at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
             at java.security.AccessController.doPrivileged(Native Method)
             at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
             at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
             at java.lang.Class.forName0(Native Method)
             at java.lang.Class.forName(Class.java:141)
             at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
             at org.apache.log4j.xml.DOMConfigurator.parseLevel(DOMConfigurator.java:509)
             at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:428)
             at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
             at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
             at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
             at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
             at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
             at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
             at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.java:624)
             at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.java:563)
             at org.jboss.logging.Log4jService.setup(Log4jService.java:450)
             at org.jboss.logging.Log4jService.createService(Log4jService.java:466)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
             at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
             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:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:232)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
             at $Proxy0.create(Unknown Source)
             at org.jboss.system.ServiceController.create(ServiceController.java:285)
             at org.jboss.system.ServiceController.create(ServiceController.java:218)
             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:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:232)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
             at $Proxy4.create(Unknown Source)
             at org.jboss.deployment.SARDeployer.create(SARDeployer.java:216)
             at org.jboss.deployment.MainDeployer.create(MainDeployer.java:817)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
             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:324)
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:232)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:386)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
             at org.jboss.Main.boot(Main.java:150)
             at org.jboss.Main$1.run(Main.java:395)
             at java.lang.Thread.run(Thread.java:534)
            

            Can you help?
            Thanks in advance,
            Julien.

            • 3. javax.ejb.ObjectNotFoundException: No such entity!
              Julien Martin Expert

              Hello loubyansky,
              It would be nice to follow up on your posts...
              Julien.

              • 4. Re: javax.ejb.ObjectNotFoundException: No such entity!
                Martin Hermosilla Newbie

                Hi, i've this problem:

                [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)] Started in 52s:411ms
                14:49:34,381 INFO [STDOUT] No se encontró servlet asociado al evento: listar_usuarios Error: No such entity!
                14:49:34,383 INFO [STDOUT] javax.ejb.ObjectNotFoundException: No such entity!
                14:49:34,385 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:50)
                14:49:34,386 INFO [STDOUT] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:589)
                14:49:34,387 INFO [STDOUT] at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:300)
                14:49:34,387 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:298)
                14:49:34,388 INFO [STDOUT] at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1086)
                14:49:34,389 INFO [STDOUT] at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:663)
                14:49:34,390 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                14:49:34,391 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                14:49:34,391 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                14:49:34,392 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
                14:49:34,392 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
                14:49:34,392 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:113)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
                14:49:34,392 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
                14:49:34,393 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
                14:49:34,394 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:129)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:106)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:876)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
                14:49:34,395 INFO [STDOUT] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
                14:49:34,395 INFO [STDOUT] at $Proxy60.findByPrimaryKey(Unknown Source)
                14:49:34,396 INFO [STDOUT] at
                cl.eftbanca.portaleft.ejb.PortalControlSessionBean.getServletByEvento(PortalControlSessionBean.java:189)

                Need helñp pliz