Enterprise JavaBeans - strange web.xml tag error deploying on jBoss 4.0.5 / java5 / ejb3 : local

Hi.

We have an ejb3 / jsf / Java5 app that lives quite happily on OC4J standalone.

When i try to deploy it on BEA 10 (tech preview) or jBoss 4.0.5 - ejb3 it throws the following:

[org.jboss.web.tomcat.tc5.Tomcat5] Problem in init

org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: expected one local-home tag)

It's asking for the local-home tag.

We have quite a few <local> tags spread around, but no need for <local-home> (that seems to me as a ejb 2.x web.xml DTD tag for me).

Why doesn't oc4j bother me, and bea or jboss do ?

What is the standard ? And/Or why isn't it implemented the same way ?

Any clues ..?

servlet motor (2.4, 2.5 ?)

Thanks a lot.

js.

[847 byte] By [jsebastian_cla] at [2007-11-26 23:23:45]
# 1

Do your standard deployment descriptors (ejb-jar.xml, web.xml, etc.) refer to the latest

Java EE 5 schema versions? The ejb-ref element was changed in

Java EE 5 to make local-home optional, since it's not needed to express a business interface

dependency.It's either that or the schema versions in the tech preview itself are not up to date.

--ken

ksaksa at 2007-7-10 14:29:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks Ken, good pointer. I have actually http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd versus http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd I'm gonna work on it !! (is jboss supporting now these new schemas ?)
jsebastian_cla at 2007-7-10 14:29:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

right, should be this one if you're using any Java EE 5 functionality

I'm gonna work on it !!

(is jboss supporting now these new schemas ?)

Not sure. There have been other postings about servlet injection not working yet.

ksaksa at 2007-7-10 14:29:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...