[Freeswitch-users] Mod_java loading error
Szymon Olko
solko at gcdf.pl
Tue Apr 14 05:11:19 PDT 2009
Baskar pisze:
> Hi,
>
>
> My Java.conf.xml
>
>
> <configuration name="java.conf" description="Java Plug-Ins">
> <!-- Path to the Java 1.6 virtual machine to use -->
> <javavm path="/usr/java/jdk1.6.0/jre/lib/i386/client/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
> <http://127.0.0.1:8000>"/>
> </options>
> </configuration>
>
> *This is runtime configuration not build configuration. Set right javavm
> path.
> It must point to your libjvm.so file.*
>
> But still i have the same error .
>
You wrote that Java is installed in
/usr/java/jdk1.6.0_04/bin
so make this config file to point to it. Don't you see you are pointing wrong directory ?
<javavm path="/usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so"/>
Find libjvm.so and put path to it in that tag. I did not gave you right configuration I just wanted to show you where to put this
config value.
Where is you libjvm.so located?
> 2009-04-14 17:18:56 [ERR] modjava.c:133 load_config() Error loading
> /usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so
> 2009-04-14 17:18:56 [CRIT] switch_loadable_module.c:871
> switch_loadable_module_load_file() Error Loading module
> /usr/local/freeswitch/mod/mod_java.so
> **Module load routine returned an error**
>
> How to over come this problem. Some one help me to solve it.
>
> --
> Warm Regards,
> N.Baskar
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list