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)
************************************************************
Class file is placed exactly at the path mentioned in dialplan. Still it is complaining.
Any point I might be missing here?