[Freeswitch-users] Perl error when compiling
Andrea
asannucci at gmail.com
Mon Feb 16 08:57:27 PST 2009
Thank you. Now work fine
Now when i unload and load mod_java i receive this error:
-freeswitch@ unload mod_java
2009-02-16 11:51:36 [NOTICE] switch_loadable_module.c:510
switch_loadable_module_unprocess() Deleting Application 'java'
2009-02-16 11:51:36 [CONSOLE] switch_loadable_module.c:1231 do_shutdown()
Stopping: mod_java
API CALL [unload(mod_java)] output:
+OK
2009-02-16 11:51:37 [CONSOLE] switch_loadable_module.c:1244 do_shutdown()
mod_java unloaded.
freeswitch@ load mod_java
API CALL [load(mod_java)] output:
-ERR [module load file routine returned an error]
freeswitch@ 2009-02-16 11:51:41 [NOTICE] modjava.c:244 mod_java_load() Java
Framework Loading...
2009-02-16 11:51:41 [ERR] modjava.c:222 create_java_vm() Error creating Java
VM!
2009-02-16 11:51:41 [CRIT] switch_loadable_module.c:839
switch_loadable_module_load_file() Error Loading module
/usr/local/freeswitch/mod/mod_java.so
**Module load routine returned an error**
This is my java.conf.xml
<configuration name="java.conf" description="Java Plug-Ins">
<!-- Path to the Java 1.6 virtual machine to use -->
<javavm path="/opt/jdk/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"/>
</options>
</configuration>
Y have configured the PATH for jdk to point to right directory and i run
./configure with the java path options
I hope you understand. I'm new on this :)
Regards
- Andrea -
More information about the FreeSWITCH-users
mailing list