4 Replies Latest reply on May 14, 2002 9:46 PM by Slava

    problem with running CMP bean

    Slava Newbie

      When I deploy my CMP.jar it deploys Ok.
      But when I run it from web client I
      get next error messages.
      Can anybody help me with this?
      18:37:31,721 INFO [STDOUT] There are 3 line items
      18:37:31,722 INFO [STDOUT] OrderBean: ejbCreate
      18:37:31,738 INFO [STDOUT] CustomerBean: ejbLoad
      18:37:31,742 INFO [STDOUT] LineItemBean: ejbCreate
      18:37:31,750 ERROR [LogInterceptor] TransactionRolledbackException, causedBy:
      javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=setOrder
      at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:110)
      at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
      at LineItemBean$Proxy.setOrder()
      at LineItemBean.ejbPostCreate(LineItemBean.java:46)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)