1 Reply Latest reply on Jul 28, 2003 3:20 AM by t.cockle

    Unrecognized root tag in EAR deployment descriptor

    vedhas Newbie

      Hi,
      im using trying out a simple ejb.ear file
      ejb.ear
      -------
      META-INF/
      META-INF/MANIFEST.MF
      ejb.war
      META-INF/application.xml
      META-INF/jboss.xml

      ejb.war
      -------
      META-INF/
      META-INF/MANIFEST.MF
      WelcomeHome.class
      Welcome.class
      WelcomeBean.class
      WelcomeClient.class

      on deploying it on jboss 3.2.1 i get the following error
      org.jboss.deployment.DeploymentException: exception in init of file:/C:/
      ojects/jboss-3.2.1/server/default/deploy/ejb.ear; - nested throwable: (org.jboss
      .deployment.DeploymentException: Unrecognized root tag in EAR deployment descrip
      tor: [ejb-jar: null])

      previously i had a ejb-jar xml file but then i had removed it.
      any idea wot and why is the error ?
      is it taking an old ejb.jar from somewhere outside jboss installation ? coz i have deleted ejb.jar from tmp directories of jboss too

      thanks