1 Reply Latest reply on Sep 28, 2006 12:39 AM by visolvejboss

    Deployment error, verifier EJB spec violations

    pgarvens

      I am working through the Dukes Bank tutorial but deployment step is failing. Snapshot of log errors below. Any suggestions would be appreciated.

      .
      .
      .

      10:01:38,186 WARN [verifier] EJB spec violation:
      Bean : AccountBean
      Section: 12.2.1
      Warning: The Bean Provider must provide a remote interface and a remote home interface or
      a local interface and a local home interface for the bean.

      10:01:38,196 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.2
      Warning: The class must be defined as public and must not be abstract.

      10:01:38,206 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.5
      Warning: Every entity bean must define the ejbFindByPrimaryKey method.

      10:01:38,206 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's
      local home interface, if any, in the <local-home> element.
      Info : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders found for: com.
      sun.ebank.ejb.tx.TxHome

      10:01:38,216 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 22.2
      Warning: The bean provider must specify the fully-qualified name of the enterprise bean's
      local interface, if any, in the element.
      Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for: com.sun.
      ebank.ejb.tx.Tx

      10:01:38,226 WARN [verifier] EJB spec violation:
      Bean : TxBean
      Section: 12.2.1
      Warning: The Bean Provider must provide a remote interface and a remote home interface or
      a local interface and a local home interface for the bean.

      10:01:38,266 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jbos
      s-4.0.4.GA/server/default/tmp/deploy/tmp50719JBossDukesBank.ear-contents/bank-ejb.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)
      .
      .
      .