1 Reply Latest reply on Dec 21, 2004 10:44 AM by Russ Loucks

    Problem in deployment of an EJB Component in 3.2.6

    Senthil V Newbie

      anybody can help me to sort out the below problem in jboss 3.2.6

      i deployed an EJB component in deploy folder it gives the following error

      2004-12-18 15:15:33,710 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss-3.2.6/server/default/tmp/deploy/tmp20455ent.ear-contents/ent.jar
      org.jboss.deployment.DeploymentException: Stopping after fatal error: File "http://java.sun.com/dtd/ejb-JAR_2_0.dtd" not found.; - nested throwable: (org.xml.sax.SAXException: Stopping after fatal error: File "http://java.sun.com/dtd/ejb-JAR_2_0.dtd" not found.)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:312)

        • 1. Re: Problem in deployment of an EJB Component in 3.2.6
          Russ Loucks Newbie

          It looks like your 'ejb-jar.xml' file contains some invalid information in the header. Here's what mine looks like:

          <?xml version="1.0" encoding="UTF-8"?>
          
          <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.
          0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
          
          <ejb-jar>
          

          I'm guessing the 'ejb-JAR_2_0.dtd' is causing problems (vs. 'ejb-jar_2_0.dtd' like in mine).