-
1. Re: Error when deploy .jar
adrian.brock Jul 22, 2003 8:43 AM (in response to olof)You have misdeclared your dtd.
Regards,
Adrian -
2. Re: Error when deploy .jar
olof Jul 22, 2003 9:07 AM (in response to olof)Hi,
it's strange because I can validate my xml files with success !!!
JBoss.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
<enterprise-beans>
<ejb-name>HelloServer</ejb-name>
<jndi-name>ejb/HelloServer</jndi-name>
</enterprise-beans>
And ejb-jar.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Entreprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
Hello world Session bean example
<display-name>HelloWorldServerDisplayName</display-name>
<ejb-name>HelloServer</ejb-name>
ch.olof.model.HelloServerHome
ch.olof.model.HelloServer
<ejb-class>ch.olof.model.HelloServerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
</ejb-jar>
Thank you ! -
3. Re: Error when deploy .jar
adrian.brock Jul 22, 2003 10:13 AM (in response to olof)You cannot spell enterprise.
Because the public id doesn't match the known value,
it is using the system id to retrieve the dtd which is
failing.
Regards,
Adrian -
4. Re: Error when deploy .jar
olof Jul 23, 2003 12:00 AM (in response to olof)Thank you warjort !
English and french are sometime similar and sometime different !!!