The error (&quot;Module load routine returned an error&quot;) means the module itself has an error during its startup there are 4 places in the module loading that it would error out:<br>switch_core_new_memory_pool<br>load_config<br>

create_java_vm<br>exec_user_method<br><br>Most likely obviously one of the last 3, load_config will always log something before returning an error status same for create_java_vm,  add some additional output to modjava.c should be able to help you track it down.  Additionally turn your console log level to debug, and try reloading mod_java to make sure you are not missing any error messages.<br>

<br>~Mitch<br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 9:00 AM, Derrick Albers <span dir="ltr">&lt;<a href="mailto:derrick.albers@gmail.com">derrick.albers@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I am trying to load the mod_java, I get the following error:<br>
[ERR] modjava.c:124 Error loading<br>
/usr/java/jdk1.6.0_23/jre/lib/i386/client/libjvm.so<br>
2011-02-08 10:52:37.540045 [CRIT] switch_loadable_module.c:882 Error Loading<br>
<div class="im">module /usr/local/freeswitch/mod/mod_java.so<br>
<br>
</div>I have verified that the libjvm.so does exist and is in that location, I have<br>
tried everything I can to force this load, please help!<br>
<br>
Thanks<br>
<font color="#888888">-Derrick<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>