From jira-events at lists.jboss.org Mon Jan 11 15:09:32 2010 Content-Type: multipart/mixed; boundary="===============0870780842636186768==" MIME-Version: 1.0 From: David Allen (JIRA) To: weld-issues at lists.jboss.org Subject: [weld-issues] [JBoss JIRA] Commented: (WELD-337) Unable to run cdi-tck (dist) tests against JBoss AS 6.0.x Date: Mon, 11 Jan 2010 15:09:31 -0500 Message-ID: <522951180.1263240571762.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 675687857.1260347197338.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com --===============0870780842636186768== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/WELD-337?page=3Dcom.atlassian.jira= .plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12503472#= action_12503472 ] = David Allen commented on WELD-337: ---------------------------------- Actually, since I tested against the build from 2010-01-08, it is not possi= ble that that build could have worked before my checkins. Just verify that= this now works on any subsequent build since that date. > Unable to run cdi-tck (dist) tests against JBoss AS 6.0.x > --------------------------------------------------------- > > Key: WELD-337 > URL: https://jira.jboss.org/jira/browse/WELD-337 > Project: Weld > Issue Type: Bug > Affects Versions: 1.0.0.GA > Reporter: Martin Gencur > Assignee: David Allen > Priority: Critical > Fix For: 1.0.1.CR1 > > > cdi-tck tests are executed in this job: http://hudson.qa.jboss.com/hudson= /view/Weld/job/Weld-tck-dist-incontainer-jboss-6.0.x > Last successfull build is taken from JBossAS 6.0.x job and jsr299-tck-1.0= .0-dist.zip is used. > After starting the test run, the following exception is thrown (Cannot fi= nd any implementations of TestLauncher, check that org.jboss.testharness.ap= i.TestLauncher is specified) : > 16:42:04,214 INFO [htmlunit.WebClient] statusCode=3D[500] contentType=3D= [text/html] > 16:42:04,214 INFO [htmlunit.WebClient] JBoss Web/3.0.= 0.alpha-22 - Error report

HTTP Status 500 -=


type Exception report

message

description The server encounter= ed an internal error () that prevented it from fulfilling this request.=

exception

javax.servlet.ServletException: Cannot find an=
y implementations of TestLauncher, check that org.jboss.testharness.api.Tes=
tLauncher is specified
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)
> 	org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(Conversati=
onPropagationFilter.java:68)
> 

root cause

java.lang.IllegalArgumentException: C=
annot find any implementations of TestLauncher, check that org.jboss.testha=
rness.api.TestLauncher is specified
> 	org.jboss.testharness.properties.PropertiesManager.getClassValue(Propert=
iesManager.java:150)
> 	org.jboss.testharness.properties.PropertiesManager.getInstanceValue(Prop=
ertiesManager.java:169)
> 	org.jboss.testharness.impl.PropertiesBasedConfigurationBuilder.getInstan=
ceValue(PropertiesBasedConfigurationBuilder.java:62)
> 	org.jboss.testharness.impl.PropertiesBasedConfigurationBuilder.init(Prop=
ertiesBasedConfigurationBuilder.java:53)
> 	org.jboss.jsr299.tck.impl.JSR299PropertiesBasedConfigurationBuilder.init=
(JSR299PropertiesBasedConfigurationBuilder.java:33)
> 	org.jboss.jsr299.tck.impl.JSR299PropertiesBasedConfigurationBuilder.init=
(JSR299PropertiesBasedConfigurationBuilder.java:16)
> 	org.jboss.testharness.impl.ConfigurationFactory.get(ConfigurationFactory=
.java:22)
> 	org.jboss.jsr299.tck.tests.context.conversation.client.ConversationTestP=
haseListener.beforePhase(ConversationTestPhaseListener.java:34)
> 	com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
> 	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
> 	com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:1=
10)
> 	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:310)
> 	org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(Conversati=
onPropagationFilter.java:68)
> 

note The full stack trace of the root cause is ava= ilable in the JBoss Web/3.0.0.alpha-22 logs.


JBoss Web/3.0.0.alpha-22

> This exception causes almost all the tests fail. I tried to run this job = locally with the same result. > org.jboss.testharness.api.TestLauncher property is really specified in a = file jsr299/weld/jboss-tck-runner/src/main/resources/META-INF/jboss-test-ha= rness.properties (and jsr299/weld/jboss-tck-runner/target/classes/META-INF/= jboss-test-harness.properties) and the implementation of the TestLauncher i= s in directory jsr299/lib/jboss-test-harness.jar -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira = --===============0870780842636186768==--