Creation of CordaRPCClient hangs

Description

I have previously used successfully Corda 4.2 ENT RPC client in my app. Upon migrating to 4.3 I experience this issue:

1. This line hangs: val rpcClient = CordaRPCClient(rpcAddress, CordaRPCClientConfiguration(connectionRetryInterval = 2.seconds, connectionRetryIntervalMultiplier = 1.0))
2. Inside the init method of the CordaRPCClient class it hangs on

val customSerializers = createInstancesOfClassesImplementing(
serializationClassLoader,
SerializationCustomSerializer::class.java
)

3. Inside there it hangs on pooledScan()
4. My app has a large number of jars (214) on the classpath. It seems that in 4.3 we scan the entire classpath, whereas previously (4.2) we didn't

Assignee

James Paton

Reporter

Alex Koller

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None

Build cut

None
Configure