]
Tom Jenkinson commented on JBTM-2845:
-------------------------------------
Is it expected to be using jersey in the app server?
REST-AT bridge recovery test hanging because of missing client api
------------------------------------------------------------------
Key: JBTM-2845
URL:
https://issues.jboss.org/browse/JBTM-2845
Project: JBoss Transaction Manager
Issue Type: Bug
Components: REST
Reporter: Gytis Trikleris
Assignee: Gytis Trikleris
Priority: Blocker
Fix For: 5.next
REST-AT bridge recovery test is hanging in all environments.
It seems that the cause is a change in WildFly modules. Following errors appears in a
test log:
{code}
c (finder: local module finder @5443d039 (roots:
/Users/gytis/Workspace/wildfly/build/target/wildfly-11.0.0.Alpha1-SNAPSHOT/modules,/Users/gytis/Workspace/wildfly/build/target/wildfly-11.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
^[[0m^[[31m11:32:31,304 ERROR [stderr] (Periodic Recovery) at
javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:103)
^[[0m^[[31m11:32:31,304 ERROR [stderr] (Periodic Recovery) at
javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114)
^[[0m^[[31m11:32:31,304 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.integration.RecoveryManager.synchronizeParticipantUrlWithCoordinator(RecoveryManager.java:239)
^[[0m^[[31m11:32:31,305 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.integration.RecoveryManager.recreateParticipantInformation(RecoveryManager.java:202)
^[[0m^[[31m11:32:31,305 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.integration.RecoveryManager.recoverParticipants(RecoveryManager.java:153)
^[[0m^[[31m11:32:31,305 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.integration.RecoveryManager.registerDeserializer(RecoveryManager.java:62)
^[[0m^[[31m11:32:31,305 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.integration.ParticipantsManagerImpl.registerDeserializer(ParticipantsManagerImpl.java:105)
^[[0m^[[31m11:32:31,305 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.bridge.inbound.InboundBridgeManager.<init>(InboundBridgeManager.java:60)
^[[0m^[[31m11:32:31,306 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.bridge.inbound.InboundBridgeManager.getInstance(InboundBridgeManager.java:50)
^[[0m^[[31m11:32:31,306 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.bridge.inbound.InboundBridgeRecoveryModule.addBridgesToMapping(InboundBridgeRecoveryModule.java:164)
^[[0m^[[31m11:32:31,306 ERROR [stderr] (Periodic Recovery) at
org.jboss.narayana.rest.bridge.inbound.InboundBridgeRecoveryModule.periodicWorkSecondPass(InboundBridgeRecoveryModule.java:109)
^[[0m^[[31m11:32:31,306 ERROR [stderr] (Periodic Recovery) at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:811)
^[[0m^[[31m11:32:31,306 ERROR [stderr] (Periodic Recovery) at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:377)
^[[0m^[[31m11:32:31,307 ERROR [stderr] (Periodic Recovery) Caused by:
java.lang.ClassNotFoundException: org.glassfish.jersey.client.JerseyClientBuilder from
[Module "javax.ws.rs.api" from local module loader @a87f8ec (finder: local
module finder @5443d039 (roots:
/Users/gytis/Workspace/wildfly/build/target/wildfly-11.0.0.Alpha1-SNAPSHOT/modules,/Users/gytis/Workspace/wildfly/build/target/wildfly-11.0.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
^[[0m^[[31m11:32:31,307 ERROR [stderr] (Periodic Recovery) at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:200)
^[[0m^[[31m11:32:31,307 ERROR [stderr] (Periodic Recovery) at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
^[[0m^[[31m11:32:31,307 ERROR [stderr] (Periodic Recovery) at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
^[[0m^[[31m11:32:31,308 ERROR [stderr] (Periodic Recovery) at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
^[[0m^[[31m11:32:31,308 ERROR [stderr] (Periodic Recovery) at
java.lang.Class.forName0(Native Method)
^[[0m^[[31m11:32:31,308 ERROR [stderr] (Periodic Recovery) at
java.lang.Class.forName(Class.java:264)
^[[0m^[[31m11:32:31,308 ERROR [stderr] (Periodic Recovery) at
javax.ws.rs.client.FactoryFinder.newInstance(FactoryFinder.java:113)
^[[0m^[[31m11:32:31,308 ERROR [stderr] (Periodic Recovery) at
javax.ws.rs.client.FactoryFinder.find(FactoryFinder.java:206)
^[[0m^[[31m11:32:31,309 ERROR [stderr] (Periodic Recovery) at
javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:86)
^[[0m^[[31m11:32:31,309 ERROR [stderr] (Periodic Recovery) ... 12 more
{code}