Hi All,Can please anyone help me this out. I am still not able to find any solution to this.---------- Forwarded message ----------
From: Anurag Rana <anuragrana31189@gmail.com>
Date: Thu, Feb 19, 2015 at 5:22 AM
Subject: Class not found Exception : mod_java
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>Hi,I installed mod_java module.When I am trying to call it from within en extension it throws the error classNotFoundException : PhoneTest
****************************************
2015-02-19 05:16:04.421064 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1001@192.168.64.197!
2015-02-19 05:16:04.421064 [NOTICE] mod_dptools.c:1258 Channel [sofia/internal/1001@192.168.64.197] has been answered
Exception in thread "Thread-2" java.lang.ClassNotFoundException: PhoneTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
at org.freeswitch.Launcher.launch(Launcher.java:65)
************************************************************here is my dialplan -
-------------------------------
<extension name="java_demo">
<condition field="destination_number" expression="^(9005)$">
<action application="answer"/>
<action application="java" data="/usr/local/freeswitch/scripts/java/jar1.jar PhoneTest"/>
<action application="sleep" data="2000"/>
</condition>
</extension>
-------------------------Class file is placed exactly at the path mentioned in dialplan. Still it is complaining.
Any point I might be missing here?Thanks
Anurag RanaM.Tech CSE, IIIT-Delhi,
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org