[jboss-user] [EJB] - Using an old EJB ?1.2? in a jboss 5.1

spotlight2001 do-not-reply at jboss.com
Thu Nov 5 11:53:53 EST 2009


I got an old application which I am moving to Jboss AS 5.1GA for security reasons mainly.

history:
orion
jboss 3.2.3
jboss 3.2.8.SP1

On startup jboss tells me:
FileNotFoundException: http://java.sun.com/j2ee/dtds/ejb-jar_1_2.dtd

So I looked into my JARs and found an ejb-jar.xml with this header: (I also have some 2.0 ejb-jar.xml which do work):

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

On jboss 5.1 it complains for not being able to resolve this DTD. 

1) Where can I find this DTD?

2) Is there another DTD to which I can safely move?
The XML seems not to be compatible with DTD 2.0 or 1.1

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264171#4264171

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264171



More information about the jboss-user mailing list