3 Replies Latest reply on Nov 23, 2003 9:41 PM by 2cat

    deploying error!

    2cat Newbie

      I am doing some exercises in jboss-3.2.1_tomcat-4.1.24. And after having built my ejb, the system showed me errors when I copied my *.jar into the directory of /server/default/deploy.

      the errors:

      09:21:54,302 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.
      2.1_tomcat-4.1.24/server/default/deploy/interest.jar
      org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYP
      E!
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet
      aData.java:206)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:433)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)

      where is my mistake,please help me!