<div class="gmail_quote"><br>Hi All,<br><br>Currently i am using JDK1.06.0_23 and jre also same version for using mod_java module in freeswith,<br><br>i can able to generate mod_java.so and freeswitch.jar. and building and installation had succussful without any proble.<br>
<br>when i am trying to run the freeswitch, i am gettig the following error.<br><br><br>Exception in thread "Thread-0" java.lang.NoClassDefFoundError: net/cog/fs/system/Control<br>Caused by: java.lang.ClassNotFoundException: net.cog.fs.system.Control<br>
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:319)<br>
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)<br> at java.lang.ClassLoader.loadClass(ClassLoader.java:264)<br> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)<br>2010-12-13 17:07:58.193373 [CRIT] switch_loadable_module.c:928 Error Loading module /usr/local/freeswitch/mod/mod_java.so<br>
**Module load routine returned an error**<br><br><br><br>and please find the following java.conf.xml file.<br><br><configuration name="java.conf" description="Java Plug-Ins"><br>
<!-- Path to the Java 1.6 virtual machine to use --><br> <!-- <javavm path="/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/x86_64/client/libjvm.so"/> --><br> <javavm path="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so"/><br>
<!-- Options to pass to Java --><br> <options><br> <!-- Your class path (make sure freeswitch.jar is on it) --><br> <option value="-Djava.class.path=/usr/local/freeswitch/scripts/freeswitch.jar<br>
"/><br> <!-- Enable remote debugging --><br> <!-- <option value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=<a href="http://127.0.0.1:8001" target="_blank">127.0.0.1:8001</a>"/> --><br>
</options><br> <startup class="net/cog/fs/system/Control" method="startup" arg="start up arg"/><br> <shutdown class="net/cog/fs/system/Control" method="shutdown" arg="shutdown arg"/><br>
</configuration><br><br clear="all"><br>Any Idea why i am getting the error?<br><br>Thanks <br><font color="#888888">Srinivasula Reddy K<br>
</font></div><br><br clear="all"><br>-- <br>Srinivasula Reddy K<br>