<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Hi All,<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Can please anyone help me this out. I am still not able to find any solution to this.<br clear="all"></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:verdana,sans-serif"><br><font style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br><a href="https://sites.google.com/site/homepagerana/" target="_blank">Anurag Rana</a></font></span><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-family:verdana,sans-serif">M.Tech CSE, IIIT-Delhi, </span></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-family:verdana,sans-serif"></span></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span><span style="font-family:verdana,sans-serif"><a href="https://sites.google.com/site/homepagerana/" style="color:rgb(17,85,204)" target="_blank"><font>https://sites.google.com/site/homepagerana/</font></a></span></span></div><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(255,255,255)"><font size="4"><font size="4"><font><br></font><br></font></font></span></span><div><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(255,255,255)"><br></span></span></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Anurag Rana</b> <span dir="ltr">&lt;<a href="mailto:anuragrana31189@gmail.com">anuragrana31189@gmail.com</a>&gt;</span><br>Date: Thu, Feb 19, 2015 at 5:22 AM<br>Subject: Class not found Exception : mod_java<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br><br><br><div dir="ltr"><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Hi,<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">I installed mod_java module. <br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">When I am trying to call it from within en extension it throws the error classNotFoundException : PhoneTest<br><br>****************************************<br>2015-02-19 05:16:04.421064 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/<a href="mailto:1001@192.168.64.197" target="_blank">1001@192.168.64.197</a>!<br>2015-02-19 05:16:04.421064 [NOTICE] mod_dptools.c:1258 Channel [sofia/internal/<a href="mailto:1001@192.168.64.197" target="_blank">1001@192.168.64.197</a>] has been answered<br>Exception in thread &quot;Thread-2&quot; java.lang.ClassNotFoundException: PhoneTest<br>    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)<br>    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)<br>    at java.security.AccessController.doPrivileged(Native Method)<br>    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)<br>    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)<br>    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)<br>    at java.lang.Class.forName0(Native Method)<br>    at java.lang.Class.forName(Class.java:274)<br>    at org.freeswitch.Launcher.launch(Launcher.java:65)<br>************************************************************<br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><b>here is my dialplan - </b><br><br>-------------------------------<br>&lt;extension name=&quot;java_demo&quot;&gt; <br>        &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9005)$&quot;&gt; <br>            &lt;action application=&quot;answer&quot;/&gt; <br>            &lt;action application=&quot;java&quot; data=&quot;/usr/local/freeswitch/scripts/java/jar1.jar PhoneTest&quot;/&gt; <br>            &lt;action application=&quot;sleep&quot; data=&quot;2000&quot;/&gt; <br>        &lt;/condition&gt; <br>    &lt;/extension&gt;<br>-------------------------<br><br><br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Class file is placed exactly at the path mentioned in dialplan. Still it is complaining.<br><br>Any point I might be missing here?<br></div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><br clear="all"></div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:verdana,sans-serif"><br><font style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><div style="font-family:verdana,sans-serif;color:rgb(0,0,0);display:inline">​Thanks​</div><span class="HOEnZb"><font color="#888888"><br><a href="https://sites.google.com/site/homepagerana/" target="_blank">Anurag Rana</a></font></span></font></span><span class="HOEnZb"><font color="#888888"><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-family:verdana,sans-serif">M.Tech CSE, IIIT-Delhi, </span></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span style="font-family:verdana,sans-serif"></span></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span><span style="font-family:verdana,sans-serif"><a href="https://sites.google.com/site/homepagerana/" style="color:rgb(17,85,204)" target="_blank"><font>https://sites.google.com/site/homepagerana/</font></a></span></span></div><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(255,255,255)"><font size="4"><font size="4"><font><br></font><br></font></font></span></span><div><span style="font-family:verdana,sans-serif"><span style="background-color:rgb(255,255,255)"><br></span></span></div></font></span></div></div></div></div></div></div></div></div></div>
</div>
</div><br></div>