<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot create provider in linux (sometimes) in Call Control</title>
    <link>https://community.cisco.com/t5/call-control/cannot-create-provider-in-linux-sometimes/m-p/3580577#M2196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;The socket used by Cisco JTAPI to communicate with CTIManager is running into error. You may want to start the investigation on the network side by collecting the wire shark traces. You may want to pull CTIManager logs as well to see if they have any additional info.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Check if there is any firewall/anti virus s/w interfering with the port (0xABC) used by Cisco JTAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2016 18:10:33 GMT</pubDate>
    <dc:creator>mpotluri</dc:creator>
    <dc:date>2016-08-22T18:10:33Z</dc:date>
    <item>
      <title>Cannot create provider in linux (sometimes)</title>
      <link>https://community.cisco.com/t5/call-control/cannot-create-provider-in-linux-sometimes/m-p/3580576#M2195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;Hello everyone,&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;I'm developing first JTAPI application and I'm totally stuck.&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;I have written small JTAPI application to forward calls. In Windows environment (Windows 10, JRE 1.8.0_66) everything works absolutely fine.&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;But if I try to run the application in Linux environment the application works only sometimes -&amp;nbsp; let's say 1 of 4 runs are OK. &lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;If the application is not working I'm getting this exception when trying to create a JTAPI connection to CUCM:&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;SPAN style="color: #333333;"&gt;Exception in thread "main" com.cisco.jtapi.PlatformExceptionImpl: Unable to create provider -- null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #333333;"&gt;at com.cisco.jtapi.CiscoJtapiPeerImpl.getProvider(CTQF)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #333333;"&gt;at test.Redirect.&amp;lt;init&amp;gt;(Redirect.java:66)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #333333;"&gt;at test.Test.main(Test.java:22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;I'm using Red Hat x64 and JDK/JRE 1.7.0.40 - I tried many other version of Java, but without any success. I also tried other distributions without success. The absolutely same code is running without any problems in Windows.&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;I also tried to compile it in Windows and transfer to linux, compile it in Linux using different versions of JDK, running with different JRE but nothing helped me.&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;The example application from Cisco (makecall) has the same symptoms as my application. &lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;The application fails at this code:&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;provider = (CiscoProvider) peer.getProvider(providerString);&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;I'm attaching the JTAPI log. This is the most problematic part of the log, I suppose:&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;49: Aug 19 04:14:19.645 EDT %JTAPI-CTIIMPL-7-UNK:(P1-10.128.100.130) ReceiveThread: caught java.net.SocketException: Connection reset&lt;BR /&gt;50: Aug 19 04:14:19.645 EDT %JTAPI-MISC-7-UNK:(P1-10.128.100.130) ReceiveThread: exiting&lt;BR /&gt;51: Aug 19 04:14:19.645 EDT %JTAPI-MISC-7-UNK:(P1-10.128.100.130) ReceiveThread: notifying handler of demise&lt;BR /&gt;52: Aug 19 04:14:19.647 EDT %JTAPI-PROTOCOL-7-UNK:(P1-10.128.100.130) received Event: com.cisco.cti.protocol.ProviderOutOfServiceEvent {&lt;BR /&gt;eventSequence = 1&lt;BR /&gt;PROVIDER_OUT_OF_SERVICE_EVENT = 200&lt;BR /&gt;}&lt;BR /&gt;53: Aug 19 04:14:19.648 EDT %JTAPI-MISC-7-UNK:(P1-10.128.100.130) EventThread: queuing com.cisco.cti.protocol.ProviderOutOfServiceEvent&lt;BR /&gt;54: Aug 19 04:14:19.648 EDT %JTAPI-CTIIMPL-7-UNK:ResponseTable: received unexpected response sequenceNumber #-1914896383&lt;BR /&gt;55: Aug 19 04:14:19.648 EDT %JTAPI-MISC-7-UNK:(P1-10.128.100.130) ReceiveThread: shutting down&lt;BR /&gt;56: Aug 19 04:14:19.648 EDT %JTAPI-MISC-7-UNK:(P1-10.128.100.130) ReceiveThread:java.lang.NullPointerException&lt;BR /&gt;57: Aug 19 04:14:19.648 EDT %JTAPI-MISC-7-UNK:(P1-10.128.100.130) ReceiveThread: finished shutting down&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;I'm using CUCM 10.5.2.14072-1, Cisco JTAPI version 10.5(2.10000)-3 Release (downloaded from the CUCM), JRE/JDK 1.7.0_40 64bit.&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;Did anyone saw this situation before? Any help is greatly appreciated&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;Thank you in advance&lt;/P&gt;&lt;P style="margin-bottom: 10px; color: #333333; font-family: Arial, sans-serif; font-size: 14.4px;"&gt;Vojta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Aug 2016 04:25:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/cannot-create-provider-in-linux-sometimes/m-p/3580576#M2195</guid>
      <dc:creator>vojtech.koukal</dc:creator>
      <dc:date>2016-08-20T04:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create provider in linux (sometimes)</title>
      <link>https://community.cisco.com/t5/call-control/cannot-create-provider-in-linux-sometimes/m-p/3580577#M2196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;The socket used by Cisco JTAPI to communicate with CTIManager is running into error. You may want to start the investigation on the network side by collecting the wire shark traces. You may want to pull CTIManager logs as well to see if they have any additional info.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Check if there is any firewall/anti virus s/w interfering with the port (0xABC) used by Cisco JTAPI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 18:10:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/call-control/cannot-create-provider-in-linux-sometimes/m-p/3580577#M2196</guid>
      <dc:creator>mpotluri</dc:creator>
      <dc:date>2016-08-22T18:10:33Z</dc:date>
    </item>
  </channel>
</rss>

