fix org.jboss.test.bankiiop.test.BankStressTestCase
----------------------------------------------------
Key: JBAS-5594
URL:
http://jira.jboss.com/jira/browse/JBAS-5594
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Components: Test Suite
Reporter: Dimitris Andreadis
Assigned To: Alexey Loubyansky
run -c all
&
build one-iiop-test -Dtest=org.jboss.test.bankiiop.test.BankStressTestCase
The test fails to deploy and this looks like a metadata issue. From server.log:
2008-06-06 12:11:08,046 INFO [org.jboss.deployment.MainDeployer] (RMI TCP
Connection(18)-127.0.0.1) deploy,
url=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
2008-06-06 12:11:08,046 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (RMI TCP
Connection(18)-127.0.0.1) Add deployment:
vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
2008-06-06 12:11:08,046 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (RMI TCP
Connection(18)-127.0.0.1) Scheduling deployment:
vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar parent=null
2008-06-06 12:11:08,046 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (RMI
TCP Connection(18)-127.0.0.1) Deploying
vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
2008-06-06 12:11:08,046 DEBUG [org.jboss.deployment.EjbParsingDeployer] (RMI TCP
Connection(18)-127.0.0.1) Parsing file: JarEntryHandler(a)8182754[path=META-INF/ejb-jar.xml
context=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
real=jar:file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar!/META-INF/ejb-jar.xml]
for deploymentType: class org.jboss.metadata.ejb.spec.EjbJarMetaData
2008-06-06 12:11:08,046 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1) Created parser: org.apache.xerces.jaxp.SAXParserImpl@df520e,
isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2008-06-06 12:11:08,046 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://xml.org/sax/features/validation set to: true
2008-06-06 12:11:08,062 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://xml.org/sax/features/namespaces set to: true
2008-06-06 12:11:08,062 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://apache.org/xml/features/validation/dynamic set to: true
2008-06-06 12:11:08,062 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://apache.org/xml/features/validation/schema set to: true
2008-06-06 12:11:08,062 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://xml.org/sax/features/validation set to: true
2008-06-06 12:11:08,062 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1) Created parser: org.apache.xerces.jaxp.SAXParserImpl@df520e,
isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2008-06-06 12:11:09,312 DEBUG [org.jboss.deployment.EjbParsingDeployer] (RMI TCP
Connection(18)-127.0.0.1) Parsed file: JarEntryHandler(a)8182754[path=META-INF/ejb-jar.xml
context=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
real=jar:file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar!/META-INF/ejb-jar.xml]
to: org.jboss.metadata.ejb.spec.EjbJar1xMetaData@1f
2008-06-06 12:11:09,312 DEBUG [org.jboss.deployment.JBossEjbParsingDeployer] (RMI TCP
Connection(18)-127.0.0.1) Parsing file: JarEntryHandler(a)23126736[path=META-INF/jboss.xml
context=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
real=jar:file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar!/META-INF/jboss.xml]
for deploymentType: class org.jboss.metadata.ejb.jboss.JBossMetaData
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1) Created parser: org.apache.xerces.jaxp.SAXParserImpl@1cad8db,
isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://xml.org/sax/features/validation set to: true
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://xml.org/sax/features/namespaces set to: true
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://apache.org/xml/features/validation/dynamic set to: true
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://apache.org/xml/features/validation/schema set to: false
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1)
http://xml.org/sax/features/validation set to: true
2008-06-06 12:11:09,312 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (RMI TCP
Connection(18)-127.0.0.1) Created parser: org.apache.xerces.jaxp.SAXParserImpl@1cad8db,
isNamespaceAware: true, isValidating: true, isXIncludeAware: true
2008-06-06 12:11:09,328 DEBUG [org.jboss.deployment.JBossEjbParsingDeployer] (RMI TCP
Connection(18)-127.0.0.1) Parsed file: JarEntryHandler(a)23126736[path=META-INF/jboss.xml
context=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
real=jar:file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar!/META-INF/jboss.xml]
to: org.jboss.metadata.ejb.jboss.JBoss50DTDMetaData@1f
2008-06-06 12:11:09,328 DEBUG
[org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer] (RMI TCP
Connection(18)-127.0.0.1) Dynamic class root for
vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar is
vfsmemory://5c4o0m-i7fk3s-fh4jy759-1-fh4k5dsg-31
2008-06-06 12:11:09,328 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (RMI TCP
Connection(18)-127.0.0.1) Created
BaseClassLoader@67db8a{vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar}
with policy
VFSClassLoaderPolicy@7e4b7d{name=vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
domain=null roots=[MemoryContextHandler@26088291[path=classes
context=vfsmemory://5c4o0m-i7fk3s-fh4jy759-1-fh4k5dsg-31
real=vfsmemory://5c4o0m-i7fk3s-fh4jy759-1-fh4k5dsg-31/classes], JarHandler@10157227[path=
context=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
real=file:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar]]
delegates=null exported=[META-INF, org.jboss.test.util.ejb,
org.jboss.test.bankiiop.interfaces, org.jboss.test.bankiiop.ejb]
<IMPORT-ALL>NON_EMPTY}
2008-06-06 12:11:09,328 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (RMI
TCP Connection(18)-127.0.0.1) ClassLoaderDomain@15d252d{<DEFAULT>}
registerClassLoader
BaseClassLoader@67db8a{vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar}
2008-06-06 12:11:09,328 DEBUG [org.jboss.deployment.AnnotationMetaDataDeployer] (RMI TCP
Connection(18)-127.0.0.1) Deployment is metadata-complete, skipping annotation processing,
ejbJarMetaData=org.jboss.metadata.ejb.spec.EjbJar1xMetaData@1f, jbossWebMetaData=null,
jbossClientMetaData=null, metaDataCompleteIsDefault=false
2008-06-06 12:11:09,328 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (RMI TCP
Connection(18)-127.0.0.1)
vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar endpoint
mappings:
+ ejb/#Teller ->
ContainerDependencyMetaData(deploymentPath=,componentName=Teller,containerName=bank-iiop/Teller,jndiNames=[bank-iiop/Teller],jndiAliasDepends=[],targets=[],jndiDepends=[])
+ ejb/#Account ->
ContainerDependencyMetaData(deploymentPath=,componentName=Account,containerName=bank-iiop/Account,jndiNames=[bank-iiop/Account],jndiAliasDepends=[],targets=[],jndiDepends=[])
+ ejb/#Customer ->
ContainerDependencyMetaData(deploymentPath=,componentName=Customer,containerName=bank-iiop/Customer,jndiNames=[bank-iiop/Customer],jndiAliasDepends=[],targets=[],jndiDepends=[])
+ ejb/#Bank ->
ContainerDependencyMetaData(deploymentPath=,componentName=Bank,containerName=bank-iiop/Bank,jndiNames=[bank-iiop/Bank],jndiAliasDepends=[],targets=[],jndiDepends=[])
2008-06-06 12:11:09,328 DEBUG
[org.jboss.deployment.MappedReferenceMetaDataResolverDeployer] (RMI TCP
Connection(18)-127.0.0.1) Error during deploy:
vfsfile:/X:/cvs/jboss-public/jboss-head/testsuite/output/lib/bankiiop.jar
org.jboss.deployers.spi.DeploymentException: java.lang.IllegalStateException: Failed to
find ContainerDependencyMetaData for: null
at
org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:161)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentLast(DeployersImpl.java:1112)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:913)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1394)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:786)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:914)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:836)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:674)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:456)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:812)
at org.jboss.deployment.MainDeployer.redeploy(MainDeployer.java:587)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
at
org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:815)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:416)
at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData
for: null
at
org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbInterface(MappedReferenceMetaDataResolverDeployer.java:912)
at
org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbRefs(MappedReferenceMetaDataResolverDeployer.java:821)
at
org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolve(MappedReferenceMetaDataResolverDeployer.java:606)
at
org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolve(MappedReferenceMetaDataResolverDeployer.java:629)
at
org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:157)
... 62 more
--
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