]
Richard Achmatowicz edited comment on WFLY-13723 at 8/3/20 7:56 PM:
--------------------------------------------------------------------
[~cfang] [~smarlow] Pretty sure I found the problem. The thread pool capabilities are
dynamic. When the capability requirement for the thread pool is defined for the remote
service, the capability requirement method uses the static form of the method and not the
dynamic form, so instead of looking for a capability with name
org.wildfly.threads.executor.ejb3.default, it looks for org.wildfly.threads.executor.ejb3,
which does not exist as a static capability. This is a one line fix.
It didn't show up in the Wildfly testsuite as we don't seem to have a test which
exercises execute-in-worker="false" on the remote element, whereas the CTS does.
was (Author: rachmato):
[~cfang] [~smarlow] Pretty sure I found the problem. The thread pool capabilities are
dynamic. When the capability requirement for the thread pool is defined for the remote
service, the capability requirement method uses the static form of the method and not the
dynamic form, so instead of looking for a capability with name
org.wildfly.threads.executor.ejb3.default, it looks for org.wildfly.threads.executor.ejb3,
which does not exist as a static capability. This is a one line fix.
It didn't show up in the Wildfly testsuite as we don't seem to have a test which
exercises execute-in-worker="false", whereas the CTS does.
Many Jakarta EE 8 TCK tests are failing due to "Unknown service
name jboss.ejb"
-------------------------------------------------------------------------------
Key: WFLY-13723
URL:
https://issues.redhat.com/browse/WFLY-13723
Project: WildFly
Issue Type: Bug
Components: EJB
Reporter: Scott Marlow
Assignee: Cheng Fang
Priority: Major
I am now able to publicly discuss Jakarta EE 8 TCK failures, so am creating this issue to
request a fix for the below "Unknown service name jboss.ejb" error.
{code}
\u001b[0m\u001b[0m22:18:24,546 INFO [org.jboss.as.server] (Thread-41) WFLYSRV0010:
Deployed "jta_ejb_vehicle.ear" (runtime-name : "jta_ejb_vehicle.ear")
\u001b[0m\u001b[0m22:18:24,580 INFO [stdout] (Thread-186)
************************************************************
\u001b[0m\u001b[0m22:18:24,580 INFO [stdout] (Thread-186) * props file set to
"/tmp/hudson-cts-props.txt"
\u001b[0m\u001b[0m22:18:24,580 INFO [stdout] (Thread-186)
************************************************************
\u001b[0m\u001b[0m22:18:24,628 INFO [org.wildfly.naming] (Thread-186) WildFly Naming
version 1.0.13.Final
\u001b[0m\u001b[0m22:18:24,687 INFO [org.jboss.ejb.client] (Thread-186) JBoss EJB Client
version 4.0.33.Final
\u001b[0m\u001b[0m22:18:25,082 INFO [stdout] (Thread-186) 07-30-2020 22:18:25: ERROR:
Test failed
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) 07-30-2020 22:18:25: ERROR:
javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request
for EJB StatelessEJBLocator for
"jta_ejb_vehicle/jta_ejb_vehicle_ejb/com_sun_ts_tests_common_vehicle_ejb_EJBVehicle",
view is interface com.sun.ts.tests.common.vehicle.ejb.EJBVehicleHome, affinity is None
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:622)
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:57)
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:148)
\u001b[0m\u001b[0m22:18:25,084 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:137)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:87)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:212)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:624)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:553)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:995)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:191)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
com.sun.proxy.$Proxy19.create(Unknown Source)
\u001b[0m\u001b[0m22:18:25,085 INFO [stdout] (Thread-186) at
com.sun.ts.tests.common.vehicle.ejb.EJBVehicleRunner.run(EJBVehicleRunner.java:66)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
com.sun.ts.lib.harness.EETest.run(EETest.java:285)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
java.lang.reflect.Method.invoke(Method.java:498)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:99)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
java.lang.Thread.run(Thread.java:748)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) Suppressed:
org.jboss.remoting3.ServiceOpenException: Unknown service name jboss.ejb
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:440)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:49)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
\u001b[0m\u001b[0m22:18:25,086 INFO [stdout] (Thread-186) at
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
\u001b[0m\u001b[0m22:18:25,087 INFO [stdout] (Thread-186) at
org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
\u001b[0m\u001b[0m22:18:25,087 INFO [stdout] (Thread-186) at
org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
\u001b[0m\u001b[0m22:18:25,087 INFO [stdout] (Thread-186)
\u001b[0m\u001b[31m22:18:26,087 ERROR [stderr] (Thread-186) STATUS:Failed.Test run in ejb
vehicle failed
{code}