1 Reply Latest reply on May 2, 2005 9:36 AM by Darran Lofthouse

    Unable to insert/retrieve  values in/from database Error :ja

    Arun Kumar Newbie

      Dear Alex and other JBOSS gurus
      I am facing problem of Unable to insert/retrieve values in/from database . What could be the possible cause of Error below In STACK TRACE:

      javax.ejb.ObjectNotFoundException: No such entity!


      0:58:32,859 ERROR [STDERR] javax.ejb.ObjectNotFoundException: No such entity!
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:50)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:589)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:300)
      10:58:32,859 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:298)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1086)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:663)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:58:32,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:58:32,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      10:58:32,859 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
      10:58:32,859 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:891)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
      10:58:32,859 ERROR [STDERR] at $Proxy56.findByRemoteUserId(Unknown Source)
      10:58:32,859 ERROR [STDERR] at au.com.chimo.nextidserver.service.AdminNextIDServiceBean.registerUser(Unknown Source)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:58:32,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:58:32,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      10:58:32,859 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
      10:58:32,859 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
      10:58:32,859 ERROR [STDERR] at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:122)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
      10:58:32,859 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:870)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:58:32,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:58:32,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      10:58:32,859 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      10:58:32,859 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      10:58:32,859 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      10:58:32,859 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      10:58:32,859 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      10:58:32,859 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
      10:58:32,859 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:58:32,859 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      10:58:32,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      10:58:32,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      10:58:32,859 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      10:58:32,859 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      10:58:32,859 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
      10:58:32,859 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      10:58:32,859 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      10:58:32,859 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      10:58:32,859 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)