Scott Marlow
Scott Marlow
Would be good to understand more about the `java.lang.ClassNotFoundException: org.glassfish.jndi.cosnaming.CNCtxFactory not found by org.glassfish.main.common.glassfish-naming [108]` error. The glassfish8/glassfish/modules/glassfish-corba-orb.jar contains the org/glassfish/jndi/cosnaming/CNCtxFactory.class so either that is not on the classpath or...
We are using a ts.jte from EE 10. If there are any dependency changes in GlassFish 8 we may be setting the classpath incorrectly in the ts.jte file.
Note that the `ClassNotFoundException: org.glassfish.jndi.cosnaming.CNCtxFactory` does not show up in the GlassFish server.log even though I saw that with the debugger. In attached [server.log](https://github.com/user-attachments/files/17588379/server.log), I see: > [2024-10-31T09:29:28.904810-04:00] [GF 8.0.0-JDK17-M7]...
A subset of output from GlassFish server.log for the test deployment: > java:global/jpa_core_EntityGraph_appmanaged_vehicles/jpa_core_EntityGraph_appmanaged_vehicle_ejb/AppManagedVehicleBean!com.sun.ts.tests.common.vehicle.appmanaged.AppManagedVehicleIF, java:global/jpa_core_EntityGraph_appmanaged_vehicles/jpa_core_EntityGraph_appmanaged_vehicle_ejb/AppManagedVehicleBean]]] > > [2024-10-31T09:29:30.078672-04:00] [GF 8.0.0-JDK17-M7] [INFO] [AS-EJB-00055] [jakarta.enterprise.ejb.container] [tid: _ThreadID=72 _ThreadName=admin-listener(3)] [levelValue: 800] [[ > Glassfish-specific...
Trying ^ via https://github.com/scottmarlow/jakartaee-tck/commit/e73b28b4aa5fe6808bf4ddda2fd9f55d081149aa
> Trying ^ via [scottmarlow/jakartaee-tck@e73b28b](https://github.com/scottmarlow/jakartaee-tck/commit/e73b28b4aa5fe6808bf4ddda2fd9f55d081149aa) I'm trying the appclient @EJB approach via https://github.com/scottmarlow/jakartaee-tck/commit/e73b28b4aa5fe6808bf4ddda2fd9f55d081149aa but getting: AppManagedVehicleRunner could not inject the @EJB AppManagedVehicleBean AppManagedNoTxVehicleRunner could not inject the @EJB AppManagedNoTxVehicleBean Stateful3VehicleRunner...
`ee.jakarta.tck.persistence.core.EntityGraph.ClientAppmanagedTest` and others
> That is using the same structure as ClientStateless3Test. Where do you see that 'could not inject the' msg? Just in the test output as per a null check I...
I pushed updated code that doesn't mention `inject`, I had in mind to try CDI but I was actually just trying @EJB like you used in the standalone client.
Agreed that something is missing from the appclient environment (for both @inject + @EJB).