[Freeswitch-users] Unable to start mod_java

Brian West brian at freeswitch.org
Tue Jan 5 07:53:52 PST 2010


Are you on a 64bit platform?  If so then you're jdk is wrong.

/b

On Jan 4, 2010, at 9:34 PM, Max Bridgewater wrote:

> Hi,
> 
> I built Freeswitch with mod_java enabled. But now, when Freeswitch starts, I get the following error message:
> 
> 
> 2010-01-04 22:32:46.574770 [NOTICE] switch_loadable_module.c:271 Adding API Function 'jsrun'
> 2010-01-04 22:32:46.574811 [NOTICE] switch_loadable_module.c:271 Adding API Function 'jsapi'
> 2010-01-04 22:32:46.575306 [NOTICE] modjava.c:244 Java Framework Loading...
> 2010-01-04 22:32:46.575721 [ERR] modjava.c:133 Error loading /usr/local/java/jdk1.6.0_17/jre/lib/i386/client/libjvm.so
> 2010-01-04 22:32:46.575743 [CRIT] switch_loadable_module.c:872 Error Loading module /usr/local/freeswitch/mod/mod_java.so
> **Module load routine returned an error**
> 2010-01-04 22:32:46.576742 [CONSOLE] switch_loadable_module.c:890 Successfully Loaded [mod_lua]
> 2010-01-04 22:32:46.576748 [NOTICE] switch_loadable_module.c:209 Adding Dialplan 'LUA'
> 2010-01-04 22:32:46.576795 [NOTICE] switch_loadable_module.c:249 Adding Application 'lua'
> 
> 
> As far as I can tell the /usr/local/java/jdk1.6.0_17/jre/lib/i386/client/libjvm.so is the correct path.
> Any idea?
> 
> max.





More information about the FreeSWITCH-users mailing list