| 
Adding Arjan + Scott  Stark to the discussion. 
 From: Kyle Aure <kylejaure@xxxxxxxxx>Sent: 27 February 2025 22:15
 To: Gurunandan Rao <gurunandan.rao@xxxxxxxxxx>
 Cc: data developer discussions <data-dev@xxxxxxxxxxx>
 Subject: Re: [data-dev] [External] : Re: TestEngine with ID 'junit-jupiter' failed to discover tests error
   Hello Gurunandan, 
 Then I think we have our answer. The signature test has no direct dependency on the Jakarta Data API, and instead tests the signatures via reflection. Therefore Glassflish is able to install the application. The entity tests have a compile time dependency on the Jakarta Data API.  Therefore, when the application is deployed to Glassfish, if the API classes are not available, I would not expect Glassfish to be able to install the application
 and run the tests. 
 Thank you, Kyle Jon Aure 
 
Hi, 
 
regards, 
Guru 
 Gurunandan, 
 Based on `server.log`(glassfish logs), the tck apps are not deployed 
 What evidence do you have for that statement? I can see the applications being deployed and starting successfully: [2025-02-25T22:04:20.040410+05:30] [GF 8.0.0-JDK17-M9] [INFO] [] [org.glassfish.web.loader.WebappClassLoader] [tid: _ThreadID=61 _ThreadName=admin-listener(4)] [levelValue: 800] [[close(), this:
 org.glassfish.web.loader.WebappClassLoader@529af334[name=70ab76d2-cdc0-4030-b261-ae11634c37cb], urls=[
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/classes/
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-testenricher-initialcontext.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-jakarta-servlet-protocol.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-testenricher-resource-jakarta.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-testenricher-ejb-jakarta.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-core.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-testenricher-cdi-jakarta.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/arquillian-junit5.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/applications/70ab76d2-cdc0-4030-b261-ae11634c37cb/WEB-INF/lib/jakarta-data-framework.jar
 file:/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/domains/domain1/generated/ejb/70ab76d2-cdc0-4030-b261-ae11634c37cb/
 ][delegate=true, context=70ab76d2-cdc0-4030-b261-ae11634c37cb, status=RUNNING, antiJARLocking=false, repositories=RepositoryManager[WEB-INF/classes/], notFound.size=0, pathTimestamps.size=8, resourceEntryCache.size=0]]]
 
 [2025-02-25T22:04:20.067281+05:30] [GF 8.0.0-JDK17-M9] [INFO] [AS-WEB-GLUE-00172] [jakarta.enterprise.web] [tid: _ThreadID=61 _ThreadName=admin-listener(4)] [levelValue: 800] [[
 Loading application [70ab76d2-cdc0-4030-b261-ae11634c37cb] at [/70ab76d2-cdc0-4030-b261-ae11634c37cb]]]
 
 [2025-02-25T22:04:20.083910+05:30] [GF 8.0.0-JDK17-M9] [INFO] [] [jakarta.enterprise.system.core] [tid: _ThreadID=61 _ThreadName=admin-listener(4)] [levelValue: 800] [[
 70ab76d2-cdc0-4030-b261-ae11634c37cb was successfully deployed in 497 milliseconds.]]
 
 Based on the output from the signature test: Warning: incorrect classpath parameter: /home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/modules/jakarta.data-api.jar (/home/g/tck/data/platform-tck/glassfish-runner/data-tck/target/glassfish8/glassfish/modules/jakarta.data-api.jar).
 This directory or jar file will be ignored!
 Missing Classes
 ---------------
 
 jakarta.data.Direction
 jakarta.data.Limit
 jakarta.data.Order
 jakarta.data.Sort
 
 I'm wondering if your server has the Jakarta Data API available at runtime. It could be possible that Arquillian is attempting to load the test class, but is failing to because the Jakarta Data API is unavailable. You could enable additional tracing on your server to help you debug an Arquillian issue.  Both Arquillian and the TCK use java.util.logging try enabling: org.jboss.arquillian=all ee.jakarta.tck.data="">
 
 Hope that helps, Kyle Jon Aure 
 
Thanks for providing information on pom.xml, I have updated pom to have <testSourceDirectory>, also updated junit to 5.12. 
I am getting same error as before. 
Based on `server.log`(glassfish logs), the tck apps are not deployed and `run.log` don't have error related to deployment. Also attached `arquillian.xml` for reference. 
 
regards, 
Guru 
 |