1 Reply Latest reply on Oct 2, 2008 9:02 PM by jelid

    Problem deploying entity bean

      Hi,

      I'm trying to deploy an entity bean on Jboss-4.2.2 using MyEclipse IDE ( 6.0.1 GA) and i have the following error. a warning and no other indication on the origin of the error. Can someone gives me indication on how to move for a rapid resolution of that kind of errors?

      19:10:13,359 WARN [verifier] EJB spec violation:
      Bean : SavingsAccountEJB
      Section: 10.6.2
      Warning: CMP entity beans may not define the implementation of a finder.

      19:10:13,359 ERROR [MainDeployer] Could not create deployment: file:/C:/JBoss/jboss-4.2.2.GA/server/default/deploy/savingsaccount.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      etc...

      thanks

        • 1. Re: Problem deploying entity bean

          Excuse my youth on this argument. I read some documents on the entity-bean type and realize that the error was in the warning message. I use the Container persistence type instead of the Bean one. My classes don't math the container persistence rules.
          I resolve the problem following the bean-managed-persitence rules.

          By ;-)