1 Reply Latest reply on Jun 11, 2003 10:35 AM by vasset

    Deployment problem

    vasset Newbie

      Hi,

      I'm trying to deploy a simple Hello SessionBean on JBoss 3.2.1, but I get the following exception:

      org.jboss.deployment.DeploymentException:
      ejb-jar.xml must define a valid DOCTYPE!


      My ejb-jar.xml file is as follows:

      <?xml version="1.0" encoding="UTF-8"?>
      <ejb-jar>
      Hello Application
      <display-name>Hello EJB</display-name>
      <enterprise-beans>

      <ejb-name>Hello</ejb-name>
      HelloHome
      Hello
      <ejb-class>HelloBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>

      </enterprise-beans>
      </ejb-jar>


      Any idea what's wrong? The ejb-jar.xml file seems valid to me...