having problem using java with esl library
I am new to freeswitch and am using java app with esl library to make outbound calls and am getting the error is "Create additional event dispatch thread 2". After that in the freeswitch logs its printing - Event 0 Blocking and its keeps printing. 2012-12-05 13:46:02.179956 [WARNING] switch_event.c:607 Create additional event dispatch thread 2 2012-12-05 13:46:19.919951 [WARNING] switch_event.c:607 Create additional event dispatch thread 3 2012-12-05 13:46:46.159954 [WARNING] switch_event.c:607 Create additional event dispatch thread 4 2012-12-05 13:47:03.679956 [WARNING] switch_event.c:607 Create additional event dispatch thread 5 2012-12-05 13:47:24.999950 [WARNING] switch_event.c:607 Create additional event dispatch thread 6 2012-12-05 13:47:40.299950 [WARNING] switch_event.c:607 Create additional event dispatch thread 7 2012-12-05 13:47:54.879950 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.079953 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.139957 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.639950 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.819960 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.859950 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.939953 [WARNING] switch_event.c:348 Event Thread 0 is blocking Kindly let me know where am doing mistake and how to resolve it. Thanks in Advance, Bawajan -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/having-problem-using-java-with... Sent from the freeswitch-users mailing list archive at Nabble.com.
I haven't used the java esl library, I'm more familiar with the Java ESL Client [http://wiki.freeswitch.org/wiki/Java_ESL_Client] which I highly recommend. As you're just starting, I think you should take a look on this java implementation, which has no dependencies on the native FreeSWITCH library and relies on the netty java.nio implementation. Give it a try and let us know how it goes! From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of bawajan Sent: Thursday, December 06, 2012 5:30 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] having problem using java with esl library I am new to freeswitch and am using java app with esl library to make outbound calls and am getting the error is "Create additional event dispatch thread 2". After that in the freeswitch logs its printing - Event 0 Blocking and its keeps printing. 2012-12-05 13:46:02.179956 [WARNING] switch_event.c:607 Create additional event dispatch thread 2 2012-12-05 13:46:19.919951 [WARNING] switch_event.c:607 Create additional event dispatch thread 3 2012-12-05 13:46:46.159954 [WARNING] switch_event.c:607 Create additional event dispatch thread 4 2012-12-05 13:47:03.679956 [WARNING] switch_event.c:607 Create additional event dispatch thread 5 2012-12-05 13:47:24.999950 [WARNING] switch_event.c:607 Create additional event dispatch thread 6 2012-12-05 13:47:40.299950 [WARNING] switch_event.c:607 Create additional event dispatch thread 7 2012-12-05 13:47:54.879950 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.079953 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.139957 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.639950 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.819960 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.859950 [WARNING] switch_event.c:348 Event Thread 0 is blocking 2012-12-05 13:47:55.939953 [WARNING] switch_event.c:348 Event Thread 0 is blocking Kindly let me know where am doing mistake and how to resolve it. Thanks in Advance, Bawajan ________________________________ View this message in context: having problem using java with esl library<http://freeswitch-users.2379917.n2.nabble.com/having-problem-using-java-with-esl-library-tp7585250.html> Sent from the freeswitch-users mailing list archive<http://freeswitch-users.2379917.n2.nabble.com/> at Nabble.com.
Thanks, I will try this out. Also i want to mentioned that, i saw one warning when restarting the freeswitch ie., switch_event.c:632 Activate Eventing Engine. 2012-12-08 11:09:39.570194 [WARNING] switch_event.c:607 Create additional event dispatch thread 0 But i have added the parameter initial-event-threads in switch.conf.xml and still getting this warning. So, kindly let me know where to configure it and how to resolve it. Thanks in Advance -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/having-problem-using-java-with... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
bawajan
-
Hector Geraldino