Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-216

No Support for standalone EJBContainer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.0.4.Final
    • None
    • None
    • None

      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:

           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
      

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

      JSR 299 TCK Configuration
      -----------------
      	Beans: org.apache.openejb.tck.cdi.embedded.BeansImpl@61e090ee
      	Containers: org.apache.openejb.tck.cdi.embedded.ContainersImpl@5e4b2b75
      	Contexts: org.apache.openejb.tck.cdi.embedded.ContextsImpl@19123eb0
      	EL: org.apache.openejb.tck.cdi.embedded.ELImpl@7cd1a1ab
      	Managers: org.apache.openejb.tck.cdi.embedded.ManagersImpl@35de4376
      
      Test harness configuration
      -----------------
      	Containers: org.apache.openejb.tck.cdi.embedded.ContainersImpl@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@131f139b
      

              Unassigned Unassigned
              dblevins_jira David Blevins (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: