2 Replies Latest reply on Sep 3, 2002 11:09 AM by ORTIZ

    Deployment exception

    ORTIZ Newbie

      I've just installed JBoss3.0.2 on my PC (under Windows 2000).
      I try to deploy a very simple EJB (session stateless) but while deploying, I've got this error message :

      ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@9088a9f1{ url=file:/C:/jboss/server/default/deploy/Greeter.jar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Session Bean
      GreeterEJB: transaction type should be 'Bean' or 'Container'
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
      aData.java:207)
      ---------------------------------------------------------
      the transaction type field in my ejb-jar.xml file is Bean.
      Could it be a CLASSPATH problem ? What are the minimum changes to apply to the CLASSPATH when installing/running JBoss ?
      Thanks,
      Hélène