[weld-dev] TCK 1.0.1-Final Problems

Gurkan Erdogdu gurkanerdogdu at yahoo.com
Tue Oct 26 12:20:55 EDT 2010


Hello;

When running TCK 1.0.1-Final with Web Profile Enabled, I have faced some issues.

1* org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.ContainerEventTest 
--> ServletTestRunner servlet mapping is not correct
Must be mapped as "/*", but it is mapped as "/"

·   <servlet-mapping>
·   ·   <servlet-name>JBoss Test Harness Test Runner</servlet-name>
·   ·   <url-pattern>/</url-pattern>
·   </servlet-mapping>

Therefore tests are getting 404 from server.

2* org.jboss.jsr299.tck.tests.context.ContextTest and 
org.jboss.jsr299.tck.tests.context.ContextDestroysBeansTest

  "Class MyContextual implements Bean<MySessionBean>" is a session scoped bean 
and must be passivation capable.
  To do this, it must implement "PassivationCapable" interface. But it does not 
implement it. Actually, this issue has been reported and resolved in CR2

--Gurkan





More information about the weld-dev mailing list