[weld-issues] [JBoss JIRA] Created: (CDITCK-216) ContainerEventTest and missing ejb-jar.xml file

David Blevins (JIRA) jira-events at lists.jboss.org
Thu Jun 9 00:06:59 EDT 2011


ContainerEventTest and missing ejb-jar.xml file
-----------------------------------------------

                 Key: CDITCK-216
                 URL: https://issues.jboss.org/browse/CDITCK-216
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: David Blevins
             Fix For: 1.0.4.Final


Actually pertains to [1.0.4.SP2]

The ContainerEventTest has an ejb-jar.xml file that defines a stateful session bean which is otherwise not annotated and discoverable.  The harness is not including this ejb-jar.xml in the 'deploy(InputStream archive, String name)' call on the Containers implement.  The contents are as follows:

{code}
     2 Wed Jun 08 20:54:02 PDT 2011 META-INF/MANIFEST.MF
     0 Wed Jun 08 20:54:02 PDT 2011 META-INF/beans.xml
   237 Wed Jun 08 20:54:02 PDT 2011 META-INF/jboss-test-harness.properties
   243 Wed Jun 08 20:54:02 PDT 2011 META-INF/services/javax.enterprise.inject.spi.Extension
  9369 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/AbstractJSR299Test.class
   860 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/api/JSR299Configuration.class
   824 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/DeploymentFailure.class
  2712 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/ForwardingBean.class
  3199 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/impl/JSR299ConfigurationImpl.class
  2690 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/impl/JSR299PropertiesBasedConfigurationBuilder.class
  1995 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/impl/MockCreationalContext.class
  3914 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/impl/OldSPIBridge.class
  2331 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/impl/WebProfileMethodSelector.class
   497 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/AnyLiteral.class
   521 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/DefaultLiteral.class
   482 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/InjectLiteral.class
   572 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/NamedLiteral.class
   497 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/NewLiteral.class
   524 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/RetentionLiteral.class
   506 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/literals/TargetLiteral.class
   557 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/spi/Beans.class
   684 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/spi/Contexts.class
   800 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/spi/EL.class
   398 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/spi/Managers.class
   421 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Cheese.class
  8613 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/ContainerEventTest.class
   412 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Cow.class
   151 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/CowLocal.class
   834 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Farm.class
   405 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Food.class
   415 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Milk.class
  3580 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/ProcessAnnotatedTypeObserver.class
  5054 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/ProcessBeanObserver.class
  6331 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/ProcessInjectionTargetObserver.class
   697 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Sheep.class
   786 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/SheepInterceptor.class
   235 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/SheepLocal.class
   528 Wed Jun 08 20:54:02 PDT 2011 org/jboss/jsr299/tck/tests/extensions/container/event/Tame.class
{code}

Here's the toString() value of the harness Configuration in case that helps.  Possibly there's some flag I need.

{code}
JSR 299 TCK Configuration
-----------------
	Beans: org.apache.openejb.tck.cdi.embedded.BeansImpl at 61e090ee
	Containers: org.apache.openejb.tck.cdi.embedded.ContainersImpl at 5e4b2b75
	Contexts: org.apache.openejb.tck.cdi.embedded.ContextsImpl at 19123eb0
	EL: org.apache.openejb.tck.cdi.embedded.ELImpl at 7cd1a1ab
	Managers: org.apache.openejb.tck.cdi.embedded.ManagersImpl at 35de4376

Test harness configuration
-----------------
	Containers: org.apache.openejb.tck.cdi.embedded.ContainersImpl at 5e4b2b75
	Connect Timeout: 5000
	Host: localhost:8080
	Library Directory: null
	Output Directory: /var/folders/Kp/KpmOujsB2RWdqE+BYnAOX++++TI/-Tmp-//jsr-299-tck/
	Run Integration Tests: true
	Standalone: true
	Test Launcher: org.jboss.testharness.impl.runner.local.LocalTestLauncher at 131f139b
{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list