0 Replies Latest reply on Jul 16, 2005 2:48 AM by Rajendra Kumar

    Help needed to deploy .ear file in jboss4.0.3RC1.

    Rajendra Kumar Newbie

      How to deploy ear file in jboss4.0.3RC1????
      After copying .ear file in deploy dir of jboss4.0.3RC1 the J2EE server is starting("11:47:23,344 INFO [EARDeployer] Started J2EE application: file:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/EJB 3.0egs.ear") and whenever i add suffix .ejb3 to name of the .ear file, JBoss thows the following exception,

      11:47:23,344 INFO [EARDeployer] Started J2EE application: file:/C:/Program File
      s/jboss-4.0.3RC1/server/default/deploy/EJB 3.0egs.ear
      11:52:39,684 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil
      e:/C:/Program Files/jboss-4.0.3RC1/server/default/deploy/EJB 3.0egs.ear
      11:52:39,684 WARN [DeploymentInfo] Could not delete file:/C:/Program Files/jbos
      s-4.0.3RC1/server/default/tmp/deploy/tmp14313EJB 3.0egs.ear restart will delete
      it
      11:52:39,793 WARN [verifier] EJB spec violation:
      Bean : HelloWorld
      Section: 7.10.2
      Warning: A Session bean must implement, directly or indirectly, the javax.ejb.Se
      ssionBean interface.

      11:52:39,793 WARN [verifier] EJB spec violation:
      Bean : HelloWorld
      Section: 7.10.3
      Warning: A Session bean must define at least one ejbCreate method.

      11:52:39,793 WARN [verifier] EJB spec violation:
      Bean : HelloWorld
      Section: 7.10.1
      Warning: The session bean must implement either a remote home and remote, or a l
      ocal home and a local interface.

      11:52:39,793 ERROR [MainDeployer] Could not create deployment: file:/C:/Program
      Files/jboss-4.0.3RC1/server/default/tmp/deploy/tmp14314EJB 3.0egs.ear.ejb3-conte
      nts/EJB 3.0egs-ejb.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
      d, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:564)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
      .java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy32.create(Unknown Source)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:919)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:909)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:773)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:325)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:501)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:215)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:194)