[Freeswitch-users] Error Loading mod_java.so

srinivasula reddy srinivas.ksvreddy at gmail.com
Mon Dec 13 14:24:08 MSK 2010


Hi All,

Currently i am using JDK1.06.0_23 and jre also same version for using
mod_java module in freeswith,

i can able to generate mod_java.so and freeswitch.jar. and building and
installation had succussful without any proble.

when i am trying to run the freeswitch, i am gettig the following error.


2010-12-13 16:43:56.988097 [NOTICE] modjava.c:342 Java Framework Loading...
2010-12-13 16:43:57.042698 [CRIT] switch_loadable_module.c:928 Error Loading
module /usr/local/freeswitch/mod/mod_java.so
**Module load routine returned an error**
2010-12-13 16:43:57.043603 [CONSOLE] switch_loadable_module.c:946
Successfully Loaded [mod_lua]


and please find the following java.conf.xml file.

<configuration name="java.conf" description="Java Plug-Ins">
  <!-- Path to the Java 1.6 virtual machine to use -->
 <!--  <javavm
path="/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/x86_64/client/libjvm.so"/>
-->
  <javavm
path="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so"/>
  <!-- Options to pass to Java -->
  <options>
    <!-- Your class path (make sure freeswitch.jar is on it) -->
    <option
value="-Djava.class.path=/usr/local/freeswitch/scripts/freeswitch.jar
"/>
    <!-- Enable remote debugging -->
    <!-- <option
value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=
127.0.0.1:8001"/> -->
  </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>


Any Idea why i am getting the error?

Thanks
Srinivasula Reddy K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101213/5031226a/attachment.html 


More information about the FreeSWITCH-users mailing list