[jboss-dev-forums] [Design of POJO Server] - Regression in Smoke Test - WebIntegrationUnitTestCase

ALRubinger do-not-reply at jboss.com
Wed Jul 16 19:52:34 EDT 2008


In changing JNDI mechanisms, I've introduced regressions into the WebIntegrationTestCase:

http://jboss.hudson.alrubinger.com/job/AS_TestSuite_Smoke_Tests/lastBuild/testReport/org.jboss.test.web.test/WebIntegrationUnitTestCase/

The underlying error is:

Caused by: java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData for interface: org.jboss.test.web.interfaces.StatelessSessionLocal
  | 	at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbInterface(MappedReferenceMetaDataResolverDeployer.java:1034)
  | 	at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbLocalRefs(MappedReferenceMetaDataResolverDeployer.java:856)
  | 	at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolve(MappedReferenceMetaDataResolverDeployer.java:722)
  | 	at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:171)

My assumption is that some change needs to take place in MappedReferenceMetadataResolverDeployer.mapEjbs,but I can't seem to find the magic touch to make:

EndpointInfo info = resolver.getEndpointInfo(ifaceClass, EndpointType.EJB, vfsContext);

...not return null when given a valid interface.  I see that:

ejb at org.jboss.test.cts.interfaces.StatefulSessionLocal

...is placed into the endpointAlternateMap just fine.

Any ideas what I'm missing?

Reproduce by:

testsuite$ ./build.sh one-test -Dtest=org.jboss.test.web.test.WebIntegrationUnitTestCase

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164882#4164882

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164882



More information about the jboss-dev-forums mailing list