Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: Oliver Henning on 20-10-2011 09:56:37 AM Hi there, init with the following code fails with timeout. Ping to CallManager works! JtapiPeer peer = JtapiPeerFactory.getJtapiPeer(null); provider = peer.getProvider(providerName); Can anyone help me? Greetings, Oliver This is the JTAPI log: Cisco Jtapi version 8.0(3.22900)-2 Release 0: Okt 20 13:23:17.891 MESZ %JTAPI-MISC-7-UNKP1-) started preloading classes 1: Okt 20 13:23:17.895 MESZ %JTAPI-MISC-7-UNKP1-) finished preloading classes 2: Okt 20 13:23:17.895 MESZ %JTAPI-CTI-7-UNKP1-) JVM Field Order is onetwothree 3: Okt 20 13:23:17.895 MESZ %JTAPI-CTI-7-UNKP1-) EventThread wakeups are disabled 4: Okt 20 13:23:17.895 MESZ %JTAPI-CTI-7-UNKP1-) EventThread queue statistics are disabled 5: Okt 20 13:23:17.895 MESZ %JTAPI-CTI-7-UNKP1-) EventThread queue size threshold is 25 6: Okt 20 13:23:17.895 MESZ %JTAPI-CTI-7-UNKP1-) Provider retry interval is set to 30 seconds 7: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) Client desired server heartbeat time is set to 30 seconds 8: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) CTI request timeout is is set to 30 seconds 9: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) Provider open request timeout is set to 200 seconds 10: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) Provider priority is set to 2 11: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) Provider Reconnect attempts is set to 0 12: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) JAVA Socket Connect Timeout is set to 15 seconds 13: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) Hunt List is disabled 14: Okt 20 13:23:17.896 MESZ %JTAPI-CTI-7-UNKP1-) Call Redirect Response Timeout is set to 120 seconds 15: Okt 20 13:23:17.898 MESZ %JTAPI-CTIIMPL-7-UNKP1-) Provider.info(Entering encryptPassword) 16: Okt 20 13:23:18.165 MESZ %JTAPI-CTIIMPL-7-UNKP1-) Provider.info(Exiting encryptPassword) 17: Okt 20 13:23:18.165 MESZ %JTAPI-CTIIMPL-7-UNKP1-) application did not set appinfo, creating default 18: Okt 20 13:23:18.165 MESZ %JTAPI-JTAPIIMPL-7-UNKroviderImpl(): calling jtapiProperties.getSecurityPropertyForInstance() 19: Okt 20 13:23:18.165 MESZ %JTAPI-JTAPIIMPL-7-UNKP1-AXLuser) TraceModule: JTAPI version Cisco Jtapi version 8.0(3.22900)-2 Release 20: Okt 20 13:23:18.165 MESZ %JTAPI-JTAPIIMPL-7-UNKP1-AXLuser) Route Select Timeout is 5000 msecs 21: Okt 20 13:23:18.165 MESZ %JTAPI-JTAPIIMPL-7-UNKP1-AXLuser) Jtapi post condition timeout is set to 15 seconds 22: Okt 20 13:23:18.165 MESZ %JTAPI-JTAPIIMPL-7-UNKP1-AXLuser) IgnoreFwdDestination set to false 23: Okt 20 13:23:18.169 MESZ %JTAPI-CTIIMPL-7-UNKP1-AXLuser) Opening server "10.137.240.110" login "AXLuser" 24: Okt 20 13:23:18.169 MESZ %JTAPI-CTIIMPL-7-UNKP1-AXLuser) ProviderID = P1-AXLuser 25: Okt 20 13:23:22.672 MESZ %JTAPI-CTIIMPL-7-UNKP1-AXLuser) Trying to create normal socket connection to 10.137.240.110 26: Okt 20 13:23:22.759 MESZ %JTAPI-CTIIMPL-7-UNKP1-AXLuser) connected 27: Okt 20 13:23:22.764 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: created 28: Okt 20 13:23:22.764 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread starting up... 29: Okt 20 13:23:22.921 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) ReceiveThread starting up... 30: Okt 20 13:23:22.922 MESZ %JTAPI-PROTOCOL-7-UNKP1-10.137.240.110) sending: com.cisco.cti.protocol.ProviderOpenRequest { provider = 10.137.240.110 qbeClientVersion = Cisco JTAPI 8.0(3.22900)-2 Release login = com.cisco.cti.protocol.UnicodeString { unicodedisplayName = AXLuser count = 7 sizeofElement = 2 } filter = com.cisco.cti.protocol.ProviderEventFilter { deviceRegistered = true deviceUnregistered = true directoryChangeNotify = true deviceConfigChangeNotify = true } applicationID = PhonebookCisco desiredServerHeartbeatTime = 30 requestTimer = 0 cmAssignedApplicationID = 0 pluginName = CiscoJTAPI applicationPriority = 2 lightWeightOpen = false } 31: Okt 20 13:26:42.919 MESZ %JTAPI-CTIIMPL-7-UNK:Condition: timeout occurred time=200000 32: Okt 20 13:26:42.933 MESZ %JTAPI-CTIIMPL-7-UNK:Condition: timeout occurred time=200000 33: Okt 20 13:26:42.933 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) receiveResponse: timed out waiting 200000 milliseconds for com.cisco.cti.protocol.ProviderOpenResponse sequenceNumber= 0 34: Okt 20 13:26:42.947 MESZ %JTAPI-PROTOCOL-7-UNKP1-10.137.240.110) received Event: com.cisco.cti.protocol.ProviderOutOfServiceEvent { eventSequence = 0 PROVIDER_OUT_OF_SERVICE_EVENT = 200 } 35: Okt 20 13:26:42.950 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: queuing com.cisco.cti.protocol.ProviderOutOfServiceEvent 36: Okt 20 13:26:42.952 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) ReceiveThread: shutting down 37: Okt 20 13:26:42.952 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) EventThread handling event com.cisco.cti.protocol.ProviderOutOfServiceEvent[0] 38: Okt 20 13:26:42.953 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) deviceMap is empty? -true 39: Okt 20 13:26:42.954 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) lineMap is empty? -true 40: Okt 20 13:26:42.955 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) callMap is empty? -true 41: Okt 20 13:26:42.957 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) clearing park DN map 42: Okt 20 13:26:42.958 MESZ %JTAPI-JTAPI-7-UNKP1-AXLuser)[(P1-10.137.240.110) EventThread](P1-AXLuser) Request: getCalls 43: Okt 20 13:26:42.958 MESZ %JTAPI-CTIIMPL-7-UNKP1-10.137.240.110) ReceiveThread: caught java.net.SocketException: socket closed 44: Okt 20 13:26:42.958 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) ReceiveThread: exiting 45: Okt 20 13:26:42.958 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) ReceiveThread: waiting for exit 46: Okt 20 13:26:42.959 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) ReceiveThread: notifying handler of demise 47: Okt 20 13:26:42.959 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) ReceiveThread: finished shutting down 48: Okt 20 13:26:42.960 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: shutting down 49: Okt 20 13:26:42.960 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: waiting for exit 50: Okt 20 13:26:42.960 MESZ %JTAPI-MISC-7-UNK:[com.cisco.cti.util.BlockingQueue@969c29]BlockingQueue:takeAll() Threadname=(P1-10.137.240.110) EventThread Thread interrupted 51: Okt 20 13:26:42.961 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: interrupted java.lang.InterruptedException 52: Okt 20 13:26:42.961 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: exiting 53: Okt 20 13:26:42.961 MESZ %JTAPI-MISC-7-UNKP1-10.137.240.110) EventThread: finished shutting down 54: Okt 20 13:26:42.962 MESZ %JTAPI-JTAPI-7-UNK:PlatformExceptionImpl caught: Unable to create provider -- null
Subject: RE: JTAPI init fails with timeout Replied by: Mohan Potluri on 21-10-2011 02:27:52 PM The server doesn't seem to be responding. Check the state of CTIManager service on 10.137.240.110. If it is up and running, I would check the connectivity between your machine and CUCM node for firewalls etc. Restarting CTIManager service did not help?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: