1 Reply Latest reply on Nov 8, 2006 12:21 PM by leo richard

    Specs problems during deployment of EAR

    Daniel Salvat Newbie

      Hi!!

      I have a big problem and I don't know how to solve it. Mi app's got some EJB's and works well, but when I deploy it to a JBoss AS, I got this error, and only with one of all the EJB.


      [EARDeployer] Init J2EE application: file:/C:/jboss-405/server/default/deploy/enterprisev2.ear
      16:28:19,613 WARN [verifier] EJB spec violation:
      Bean : UventaBean
      Section: 10.6.2
      Warning: The entity bean class must define a get accessor for each CMP field.
      Info : Field: idsap

      16:28:19,613 WARN [verifier] EJB spec violation:
      Bean : UventaBean
      Section: 10.6.2
      Warning: The entity bean class must define a set accessor for each CMP field.
      Info : Field: idsap

      16:28:19,613 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-405/server/default/tmp/deploy/tmp52992habitatenterprisev2.ear-contents/HabitatEnterpriseV2-EJBModule.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:61 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:9 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:23 at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:7 at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:4 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:18 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:9 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy26.create(Unknown Sourc at org.jboss.deployment.MainDeployer.create(MainDeployer.java:96 at org.jboss.deployment.MainDeployer.create(MainDeployer.java:95 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:81 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:78 at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Sourc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2 at java.lang.reflect.Method.invoke(Method.java:58 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:15 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:9 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:13 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:14 at org.jboss.mx.server.Invocation.invoke(Invocation.java:8 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:26 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:65 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:21 at $Proxy8.deploy(Unknown Sourc at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:42 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:63 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:27 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:22


      What kind of problem it is? Which specs files must I fix?

      Thank you all!!!

      DSalvat