[Freeswitch-users] Unable to load mod_java.

John vainnkiitta at gmail.com
Tue Apr 21 16:31:33 MSD 2015


Somehow the error message gone now!!

Thanks,
John

On Sat, Feb 7, 2015 at 3:34 PM, John <vainnkiitta at gmail.com> wrote:
> Hi All
>
> I have built mod_java and have mod_java.so in  /usr/local/freeswitch/mod/
> but when I am  trying to load mod_java from freeswitch terminal
> like : load mod_java  getting following error :
>
> 2015-02-07 15:01:13.175331 [INFO] mod_enum.c:880 ENUM Reloaded
> 2015-02-07 15:01:13.175331 [NOTICE] modjava.c:366 Java Framework Loading...
> 2015-02-07 15:01:13.175331 [INFO] switch_time.c:1411 Timezone reloaded
> 1781 definitions
>
> +OK Reloading XML
> -ERR [module load file routine returned an error]
>
> 2015-02-07 15:01:13.215310 [CRIT] switch_loadable_module.c:1447 Error
> Loading module /usr/local/freeswitch/mod/mod_java.so
> **Module load routine returned an error**
>
> I am using OpenJDK version :
>
> java version "1.6.0_33" OpenJDK Runtime Environment (IcedTea6 1.13.5)
> (6b33-1.13.5-1ubuntu0.14.04) OpenJDK 64-Bit Server VM (build
> 23.25-b01, mixed mode)
>
> and my conf/autoload_configs/java.
> conf.xml reads as :
>
> <configuration name="java.conf" description="Java Plug-Ins">
>   <javavm path="/usr/lib/jvm/java-6-
> openjdk-amd64/jre/lib/amd64/jamvm/libjvm.so"/>
>   <options>
>     <option value="-Djava.class.path=/usr/local/freeswitch/scripts/freeswitch.jar"/>
>     <option value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8000"/>
>   </options>
>   <startup class="org/freeswitch/example/ApplicationLauncher" method="startup"/>
> </configuration>
>
> Can someone help me to resolve this error? I tried googling this issue
> and accordingly made above config changes.
>
> Thanks,
> John



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list