[jboss-dev-forums] [Design of EJB 3.0] - Re: injection code rewrite
anil.saldhana@jboss.com
do-not-reply at jboss.com
Mon Aug 21 00:46:59 EDT 2006
Bill,
the following definition in web.xml for JEE1.4 was valid:
| <message-destination-ref>
| <description>produces using a link</description>
| <message-destination-ref-name>mdr/ProducesLink</message-destination-ref-na
| me>
| <message-destination-type>javax.jms.Topic</message-destination-type>
| <message-destination-usage>Produces</message-destination-usage>
| <message-destination-link>TestTopic</message-destination-link>
| </message-destination-ref>
|
The latest injection code chokes with:
| 2006-08-20 23:31:10,609 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
| java.lang.RuntimeException: mapped-name is required for mdr/ProducesLink of deployment jbosstest-web.war at org.jboss.injection.ResourceHandler.loadXmlMessageDestinationRefs(Res
| ourceHandler.java:116)
| at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:126)
| at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(Tom
| catInjectionContainer.java:332)
| at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:75)^M
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
| 204)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
|
Any changes in JEE5?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966360#3966360
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966360
More information about the jboss-dev-forums
mailing list