Author Message
JeffWerner
Joined: Nov 18, 2013
Messages: 11
Offline
We have an application that uses the ecsjtapi library version 7.0.0.64. We recently upgraded to Java 11. After that, we get an error:

2023-05-17 09:27:58,135 [ERROR] [pool-14-thread-3]{JTAPIService$ProviderReInitializer} Failed to start the provider...
java.lang.IllegalArgumentException
at java.base/java.util.concurrent.ThreadPoolExecutor.setCorePoolSize(ThreadPoolExecutor.java:1535)
at com.avaya.jtapi.tsapi.impl.core.JtapiEventThreadManager.execute(JtapiEventThreadManager.java:61)
at com.avaya.jtapi.tsapi.impl.monitor.TsapiProviderMonitor.deliverEvents(TsapiProviderMonitor.java:204)
at com.avaya.jtapi.tsapi.impl.core.TSProviderImpl.sendSnapshot(TSProviderImpl.java:1490)
at com.avaya.jtapi.tsapi.impl.core.TSProviderImpl.addMonitor(TSProviderImpl.java:3314)
at com.avaya.jtapi.tsapi.impl.TsapiProvider.addProviderListener(TsapiProvider.java:1029)
at com.avaya.jtapi.tsapi.impl.LucentV11ProviderImpl.addProviderListener(LucentV11ProviderImpl.java:23)
at com.ini.cti.jtapi.JTAPIService.login(JTAPIService.java:190)
at com.ini.cti.jtapi.JTAPIService$ProviderReInitializer.run(JTAPIService.java:293)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)

Does this mean that we need a different version of the ecsjtapi library, or is it something else?

Thanks.

Jeff Werner
Interactive Northwest, Inc
503-454-1303
JohnBiggs
Joined: Jun 20, 2005
Messages: 1141
Location: Rural, Virginia
Offline
Java 11 is not supported with the JTAPI R7 Client
JTAPI R7 client has been out of support since 2018
JTAPI Client R7 was only tested against Java R8.
See
https://www.devconnectprogram.com/fileMedia/download/844e6f85-dd8d-4d7f-87d7-6a41c02a80b7
JeffWerner
Joined: Nov 18, 2013
Messages: 11
Offline
Is there another JTAPI version (after R7) that does support Java 11? Or is JTAPI dead and so won't ever support Java 11?
JohnBiggs
Joined: Jun 20, 2005
Messages: 1141
Location: Rural, Virginia
Offline
JTAPI isnt dead Avaya continues to add content/ build new versions of the client and SDK, but the product team isnt keeping up with Java versions. I am not sure what the hold up is other than Java 8 is still being maintained.
UmeshC
Joined: Apr 18, 2011
Messages: 89
Offline
You can try with latest version -
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/releases/8_1_3/index.gsp#download-8
JeffWerner
Joined: Nov 18, 2013
Messages: 11
Offline
Thank you for the suggestion. However, looking at the ecsjtapia.jar included in the jtapi-sdk-8.1.3.6.0.8 bundle, the method in question (JtapiEventThreadManager) is still setting the core pool size before the maximum pool size, which is what is causing the issue when run with Java 11.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1141
Location: Rural, Virginia
Offline
I repeat. Java 11 is not supported with JTAPI 10.1
Go to:   
Mobile view