[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-693) ResourceHandler fails to parse valid jboss-web.xml conforming to jboss-web_4_0.dtd
Scott M Stark (JIRA)
jira-events at jboss.com
Thu Aug 24 22:18:47 EDT 2006
[ http://jira.jboss.com/jira/browse/EJBTHREE-693?page=comments#action_12341824 ]
Scott M Stark commented on EJBTHREE-693:
----------------------------------------
A mappedName is not required by javaee schemas. The j2ee1.4 logic is contained in the
org.jboss.ejb.MessageDestinationMetaData resolveMessageDestination util method. This traverses that deployment metadata looking for a message-destination in jboss-web.xml based on the web.xml message-destination-link:
<message-destination-ref>
<description>consumes using a link</description>
<message-destination-ref-name>mdr/ConsumesLink</message-destination-ref-name>
<message-destination-type>javax.jms.Queue</message-destination-type>
<message-destination-usage>Consumes</message-destination-usage>
<message-destination-link>TestQueue</message-destination-link>
</message-destination-ref>
maps to:
<message-destination>
<message-destination-name>TestQueue</message-destination-name>
<jndi-name>queue/testQueue</jndi-name>
</message-destination>
> ResourceHandler fails to parse valid jboss-web.xml conforming to jboss-web_4_0.dtd
> ----------------------------------------------------------------------------------
>
> Key: EJBTHREE-693
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-693
> Project: EJB 3.0
> Issue Type: Bug
> Environment: org.jboss.test.web.test.WebIntegrationUnitTestCase
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
>
> Deployment of a valid jboss-web_4_0.dtd jboss-web.xml fails to parse with the following exception:
> 17:29:09,626 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp30208jbosstest-web.ear-contents/root-web-exp.war/
> 17:29:09,756 INFO [TomcatDeployer] deploy, ctxPath=/jbosstest, warUrl=.../tmp/deploy/tmp30208jbosstest-web.ear-contents/jbosstest-web-exp.war/
> 17:29:10,011 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of SecuredEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,012 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of ENCBean0 in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,012 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.RunAsTargetLocal and ejbLink of UnsecureRunAsServletWithPrincipalNameAndRolesTarget in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,015 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> from interface only org.jboss.test.web.interfaces.StatelessSessionLocal in web.xml of jbosstest-web.warnot used by any EJBs
> 17:29:10,016 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of websubdir/relative.jar#SessionBean in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,016 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of jbosstest-web-ejbs.jar#OptimizedEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,016 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.RunAsTargetLocal and ejbLink of UnsecureRunAsServletWithPrincipalNameTarget in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,016 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of ENCBean1 in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,016 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of OptimizedEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of ENCBean1 in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of ENCBean0 in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of SecuredEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of StatefulEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of ENCBean1 in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.cts.interfaces.CtsBmp and ejbLink of BMPBean in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,017 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of websubdir/relative.jar#SessionBean in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,018 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> from interface only org.jboss.test.web.interfaces.StatelessSession in web.xml of jbosstest-web.warnot used by any EJBs
> 17:29:10,018 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of UnsecuredEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,018 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.Entity and ejbLink of Entity in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,018 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.EntityFacade and ejbLink of EntityFacade in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,018 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of NotOptimizedEJB in web.xml of jbosstest-web.war it might not be deployed yet
> 17:29:10,019 ERROR [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(ResourceHandler.java:116)
> at org.jboss.injection.ResourceHandler.loadXml(ResourceHandler.java:126) at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:338)
> at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:75)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4204)
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
> at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava.lang.Object;(Unknown Source)
> at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at org.apache.catalina.core.StandardContext.init(StandardContext.java:5269)
> at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
> at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;J)Ljava.lang.Object;(Unknown Source)
> at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
> at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at org.jboss.web.tomcat.tc6.TomcatDeployer.performDeployInternal(TomcatDeployer.java:305)
> at org.jboss.web.tomcat.tc6.TomcatDeployer.performDeploy(TomcatDeployer.java:130)
> at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:388) at org.jboss.web.WebModule.startModule(WebModule.java:83)
> at org.jboss.web.WebModule.startService(WebModule.java:61)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
> at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
> The schema for the jboss-web.xml descriptor either needs to handle both servlet 2.4/2.5 constructs, or be conditional on the descriptor version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list