mod_java is'nt loading (Debian x64)
Hello. I've compiled & configured freeswitch with option --with-java=/path/to/jdk/include/ concerning http://wiki.freeswitch.org/wiki/Mod_java It successfuly compiled, but at start freeswitch writes to log "2012-07-31 23:38:14.247729 [CRIT] switch_loadable_module.c:1310 Error Loading module /usr/local/freeswitch/mod/mod_java.so **Module load routine returned an error** My java.conf.xml is : <configuration name="java.conf" description="Java Plug-Ins"> <!-- Path to the Java 1.6 virtual machine to use --> <javavm path="/usr/lib/jvm/java/jre/lib/i386/server/libjvm.so"/> <!-- Options to pass to Java --> <options> <!-- Your class path (make sure freeswitch.jar is on it) --> <option value="-Djava.class.path=$${base_dir}/scripts/freeswitch.jar"/> --> <!-- Enable remote debugging --> <option value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:8000"/> </options> <startup class="net/cog/fs/system/Control" method="startup" arg="start up arg"/> <shutdown class="net/cog/fs/system/Control" method="shutdown" arg="shutdown arg"/> </configuration> libjvm.so is from stable debian package sun-java6-jdk (1.6.0_26). It's successfuly linking. I checked another JVM from oracle site (jdk-6u33-linux-x64.bin) and got this: 2012-07-31 23:38:14.247690 [ERR] modjava.c:211 Error loading /usr/local/freeswitch/jdk1.6.0_33/jre/lib/amd64/server/libjvm.so So I believe that problem is somewhere in mod_java but I have no more debug messages to find out what is happened. Please Help!
http://jira.freeswitch.org. /Peter daemonserj TVC <daemonserj@gmail.com> skrev: Hello. I've compiled & configured freeswitch with option --with-java=/path/to/jdk/include/ concerning http://wiki.freeswitch.org/wiki/Mod_java It successfuly compiled, but at start freeswitch writes to log "2012-07-31 23:38:14.247729 [CRIT] switch_loadable_module.c:1310 Error Loading module /usr/local/freeswitch/mod/mod_java.so **Module load routine returned an error** My java.conf.xml is : <configuration name="java.conf" description="Java Plug-Ins"> <!-- Path to the Java 1.6 virtual machine to use --> <javavm path="/usr/lib/jvm/java/jre/lib/i386/server/libjvm.so"/> <!-- Options to pass to Java --> <options> <!-- Your class path (make sure freeswitch.jar is on it) --> <option value="-Djava.class.path=$${base_dir}/scripts/freeswitch.jar"/> --> <!-- Enable remote debugging --> <option value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:8000"/> </options> <startup class="net/cog/fs/system/Control" method="startup" arg="start up arg"/> <shutdown class="net/cog/fs/system/Control" method="shutdown" arg="shutdown arg"/> </configuration> libjvm.so is from stable debian package sun-java6-jdk (1.6.0_26). It's successfuly linking. I checked another JVM from oracle site (jdk-6u33-linux-x64.bin) and got this: 2012-07-31 23:38:14.247690 [ERR] modjava.c:211 Error loading /usr/local/freeswitch/jdk1.6.0_33/jre/lib/amd64/server/libjvm.so So I believe that problem is somewhere in mod_java but I have no more debug messages to find out what is happened. Please Help! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org !DSPAM:50189a3b32762193214602!
participants (2)
-
daemonserj TVC
-
Peter Olsson