1 Reply Latest reply on Aug 4, 2003 1:48 PM by adrian.brock

    ejbException- cannot load table in entity bean

    champagne10

      hi,

      thank you for reading my message.

      i have created a client application in frame with a button "add". successfully deployed jboss was running too. but the moment , i clicked "add" after entering data, i got the errors below:

      Errors in JBOSS server:
      ----------------------

      javax.ejb.EJBException: removeCustomer: null
      
       at sessioncallsentitybean.CustomerControllerBean.createCustomer(CustomerControllerBean.java:63)
      
       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.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
      
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      
       at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:237)
      
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:98)
      
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
      
       at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      
       at org.jboss.ejb.Container.invoke(Container.java:738)
      
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      
       at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:383)
      
       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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      
       at sun.rmi.transport.Transport$1.run(Transport.java:148)
      
       at java.security.AccessController.doPrivileged(Native Method)
      
       at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      
       at java.lang.Thread.run(Thread.java:536)
      
      


      Errors in client application (frame)
      ---------------------------------------------
      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
       java.rmi.ServerException: EJBException:; nested exception is:
       javax.ejb.EJBException: removeCustomer: null