Thanks a lot,<br><br>It is very helpful to me.<br><br>But, the each event are receiving multiple times ( each event coming 3 or 4 times ).<br><br>It will happen like this or is there any way to stop this.<br><br>

<p class="MsoNormal">here am attaching my java class, where am creating a single
thread and making outbound, playing a file.<br>
<br>
The class itself is a Event Listener and am adding below event listeners from
other initiate Class.<br>
<br>
client.setEventSubscriptions(&quot;plain&quot;, &quot;all&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;, &quot;CHANNEL_CREATE&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;BACKGROUND_JOB&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;CHANNEL_STATE&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;CHANNEL_EXECUTE_COMPLETE&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;CHANNEL_HANGUP&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;CHANNEL_HANGUP_COMPLETE&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;DTMF&quot;);<br>
               
client.addEventFilter(&quot;Event-Name&quot;,&quot;HEARTBEAT&quot;);<br>
                <br>
<br>
Thanks in advance,</p>

<br>
<br><div class="gmail_quote">On Wed, Jul 18, 2012 at 7:30 PM, Hector Geraldino <span dir="ltr">&lt;<a href="mailto:Hector.Geraldino@ipsoft.com" target="_blank">Hector.Geraldino@ipsoft.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Trying to help you to solve a crash in the jvm for a multithreaded application is damn hard. Doing it using a mailing list is even harder, and without looking at your source code is almost impossible.<br>
<br>
However I want to recommend you to drop the use of this library (which is a java wrapper of the FS core lib written in C) and use the pure Java ESL Client (<a href="http://wiki.freeswitch.org/wiki/Java_ESL_Client" target="_blank">http://wiki.freeswitch.org/wiki/Java_ESL_Client</a>). You will have full access to the source code for debug, no dependencies on native libraries, and a good set of examples.<br>

<br>
Good luck!<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of bawajan<br>

Sent: Tuesday, July 17, 2012 8:55 AM<br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Subject: [Freeswitch-users] A fatal error has been detected by the Java Runtime Environment:<br>
<br>
Hi,<br>
<br>
Am using ESL inbound connection to make calls and have a below flow (written in java)<br>
<br>
a) originating 15 calls simultaneously with park function<br>
b) play audio file<br>
c) creating new thread and passing eslconnection and playing a IVR in originate call.<br>
<br>
Here while handling events getting the below error :<br>
<br>
<br>
                                          # A fatal error has been detected by the Java Runtime Environment:<br>
<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #  SIGSEGV (0xb) at<br>
pc=0x00007fc01f1d3943, pid=14759, tid=140463084390144<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # JRE version: 6.0_25-b06<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # Java VM: Java HotSpot(TM) 64-Bit<br>
Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # Problematic frame:<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # C  [libesljni.so+0xd943]  long<br>
double+0x183<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # An error report file with more<br>
information is saved as:<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #<br>
/usr/local/freeswitch/hs_err_pid14759.log<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # If you would like to submit a<br>
bug report, please visit:<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | #<br>
<a href="http://java.sun.com/webapps/bugreport/crash.jsp" target="_blank">http://java.sun.com/webapps/bugreport/crash.jsp</a><br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # The crash happened outside the<br>
Java Virtual Machine in native code.<br>
INFO   | jvm 3    | 2012/07/17 17:54:36 | # See problematic frame for where<br>
to report the bug.<br>
<br>
<br>
<br>
plz let me know, where am doing mistake and how to resolve it.<br>
<br>
Thanks in advance.<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/A-fatal-error-has-been-detected-by-the-Java-Runtime-Environment-tp7580878.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/A-fatal-error-has-been-detected-by-the-Java-Runtime-Environment-tp7580878.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>