1 Reply Latest reply on Sep 5, 2003 11:55 AM by Claude Glauser

    ejb-jar.xml : No valid xml schema or doctype

    Sanjay Newbie

      Hello,
      When I deployed my ejb jar file Server responded with some error in ejb-jar.xml . The error is :
      " ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!"

      below is my ejb-jar.xml :
      ---------------------

      <ejb-jar>
      Sample file Upload application
      <display-name> Activity</display-name>
      <enterprise-beans>

      <ejb-name>MyActivity</ejb-name>
      samplesession.ejb.MyActivityHome
      samplesession.ejb.MyActivity
      <ejb-class>samplesession.ejb.MyActivityBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      </enterprise-beans>
      <assembly-descriptor>
      <container-transaction>

      <ejb-name>MyActivity</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>
      ---------------------------------

      let me know if theres any thing wrong. can any one give me doctype path for ejb-jar.xml file if required.