7 Replies Latest reply on Jun 7, 2006 5:03 PM by Jarkko Lietolahti

    Seam 1.0.0.CR3 and JBoss AS 4.0.4.GA  - Deployment exception

    True Man Newbie

      I downloaded jboss-4.0.4.GA.zip and installed it by extrating the zip file.
      Also I downloaded Seam 1.0.0.CR3 and ran the build scripts for booking example.

      Upon starting JBOSS, I got the foll error:


      16:38:02,726 INFO [EARDeployer] Init J2EE application: file:/E:/jboss-4.0.4.GA/server/default/deploy/jboss-seam-booking.ear
      16:38:03,337 ERROR [MainDeployer] Could not create deployment: file:/E:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp47255jboss-seam-booking.ear-contents/jboss-seam-booking.jar
      org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:339)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541)

      Any help would be appreciated.