Hello 

I am testing for the first time Jboss and ant 1.4. I am building ejb files
with ant and i am getting the following error:
[ejbjar] 1 deployment descriptors located.
[ejbjar] Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD
Enterprise Java
Beans 1.1//EN, systemId: <http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd)> to
a local entity

I have use an example of javaworld
website(<http://www.javaworld.com/javaworld/jw-09-2000/ejbframe/jw-0929-ejbf
rame.zip> 
). So i supposse that those file are correct. I have changed the setting as
it use to be. But i have no clue what this error means.
here is what  have in mij build.xml file as target:
  <target name="jbossejb" depends="compile">
    <ejbjar srcdir="${build}"
            flatdestdir="true"
            descriptordir="${descriptor.dir}"
            destdir="${jboss.deploydir}">
            <include name="**/*-ejb-jar.xml"/>
            <exclude name="**/*weblogic*.xml"/>
    </ejbjar>
  </target>

and for the ejb-jar.xml:
<?xml version="1.0"?>

<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>

<ejb-jar>
    <enterprise-beans>
      <session>
        <ejb-name>frameworkTester</ejb-name>
        <home>framework.test.ejb.FrameworkTesterHome</home>
        <remote>framework.test.ejb.FrameworkTester</remote>
        <ejb-class>framework.test.ejb.FrameworkTesterBean</ejb-class>
        <session-type>Stateless</session-type>
        <transaction-type>Container</transaction-type>
      </session>
    </enterprise-beans>
    <assembly-descriptor>
      <container-transaction>
        <method>
          <ejb-name>frameworkTester</ejb-name>
          <method-intf>Remote</method-intf>
          <method-name>*</method-name>
        </method>
        <trans-attribute>Required</trans-attribute>
      </container-transaction>
    </assembly-descriptor>
  </ejb-jar>

Can anyone help me. please respons it to [EMAIL PROTECTED]

Thanks


Ip Ting Shing
ManiaBarco
Tramstraat 69, B-9052 Gent, Belgium 
Tel: +3292169661 
Fax: +3292169870 
E-mail: <mailto:[EMAIL PROTECTED]>
Web:    www.barco.com/ets 

Reply via email to