[Freeswitch-users] Mod_java loading error

Szymon Olko solko at gcdf.pl
Tue Apr 14 00:59:40 PDT 2009


Baskar pisze:
> *Hi Brian West,*
> 
> 
> *  I have installed the latest SVN Freeswitch trunk but still i get the
> same error. How can i over come this problem.
> 
> 2009-04-14 12:44:26 [NOTICE] modjava.c:244 mod_java_load() Java
> Framework Loading...
> 2009-04-14 12:44:26 [ERR] modjava.c:133 load_config() Error loading
> /usr/java/jdk1.6.0/jre/lib/i386/client/libjvm.so

First of all do you have java installed in that path? If not edit configuration path.

I do not use java mod for some time but I had no problem to load them, only reloading was a problem.

> 2009-04-14 12:44:26 [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**
> *2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:889
> switch_loadable_module_load_file() Successfully Loaded [mod_lua]
> 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:248
> switch_loadable_module_process() Adding Application 'lua'
> 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:270
> switch_loadable_module_process() Adding API Function 'luarun'
> 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:270
> switch_loadable_module_process() Adding API Function 'lua'
> 2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:889
> switch_loadable_module_load_file() Successfully Loaded [mod_say_en]
> 2009-04-14 12:44:26 [NOTICE] switch_loadable_module.c:395
> switch_loadable_module_process() Adding Say interface 'en'
> 2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:120
> switch_loadable_module_runtime() Starting runtime thread for
> CORE_SOFTTIMER_MODULE
> 2009-04-14 12:44:26 [CONSOLE] switch_loadable_module.c:120
> switch_loadable_module_runtime() Starting runtime thread for
> mod_event_socket
> 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
> switch_load_network_lists() Created ip list dl-candidates default (allow)
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 10.0.0.0/8 <http://10.0.0.0/8> (deny)
> to list dl-candidates
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 172.16.0.0/12 <http://172.16.0.0/12>
> (deny) to list dl-candidates
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 192.168.0.0/16
> <http://192.168.0.0/16> (deny) to list dl-candidates
> 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
> switch_load_network_lists() Created ip list rfc1918 default (deny)
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 10.0.0.0/8 <http://10.0.0.0/8>
> (allow) to list rfc1918
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 172.16.0.0/12 <http://172.16.0.0/12>
> (allow) to list rfc1918
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 192.168.0.0/16
> <http://192.168.0.0/16> (allow) to list rfc1918
> 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
> switch_load_network_lists() Created ip list lan default (allow)
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 192.168.42.0/24
> <http://192.168.42.0/24> (deny) to list lan
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 192.168.42.42/32
> <http://192.168.42.42/32> (allow) to list lan
> 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
> switch_load_network_lists() Created ip list strict default (deny)
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:981
> switch_load_network_lists() Adding 208.102.123.124/32
> <http://208.102.123.124/32> (allow) to list strict
> 2009-04-14 12:44:26 [CONSOLE] switch_core.c:898
> switch_load_network_lists() Created ip list domains default (deny)
> 2009-04-14 12:44:26 [NOTICE] switch_core.c:965
> switch_load_network_lists() Adding 192.0.2.0/24 <http://192.0.2.0/24>
> (allow) [brian at 192.168.1.140 <mailto:brian at 192.168.1.140>] to list domains
> 2009-04-14 12:44:26 [CONSOLE] switch_core.c:1322
> switch_core_init_and_modload()
> *FreeSWITCH Version 1.0.trunk (13013M) Started.
> Crash Protection [Disabled]
> Max Sessions[1000]
> Session Rate[30]
> SQL [Enabled]
> 
> Specify what is the error why i cant able to load Mod_java.
> 
> -- 
> 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