]
Scott M Stark updated EJBTHREE-693:
-----------------------------------
Assignee: (was: Scott M Stark)
Initial support for message-destination-link resolution has been added, and the
jbosstest-web.ear now deploys. There are several jboss-web.xml items still not being
handled.
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
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: