Damjan,<br><br>I did as you suggested and used the remote debugging to walk through the static constructor in Launcher.&nbsp; What I discovered was that the constructor was not finding the mod_java.so file.&nbsp; I tried setting java.library.path
 explicity in java.conf.xml and also by rebuilding with -prefix=/usr/local/java.&nbsp; Neither of these solutions were successful.&nbsp; I was able to verify that this was the issue by explicitly entering the library path into the code for the Launcher constructor and running the app.&nbsp; This was successful.&nbsp; I just need to resolve why the 
System.getProperty(&quot;java.library.path&quot;) is failing to retrieve the library path.<br><br>Jonathan<br><br><div class="gmail_quote">On Nov 25, 2007 11:55 PM, Damjan Jovanovic &lt;<a href="mailto:damjan@ecntelecoms.com">
damjan@ecntelecoms.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">X-ECN Telecoms-MailScanner-Information: Contact ECN Telecoms
<br>X-ECN Telecoms-MailScanner: Found to be clean<br>X-ECN Telecoms-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,<br></div> &nbsp; &nbsp; &nbsp; &nbsp;score=-98.357, required 6, AWL 0.61, BAYES_00 -2.60,<br> &nbsp; &nbsp; &nbsp; &nbsp;FH_HOST_ALMOST_IP 
1.75, RCVD_IN_PBL 0.91, RCVD_IN_SORBS_DUL 0.88,<br><div class="Ih2E3d"> &nbsp; &nbsp; &nbsp; &nbsp;RDNS_DYNAMIC 0.10, USER_IN_WHITELIST -100.00)<br>X-ECN Telecoms-MailScanner-From: <a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com
</a><br>X-Spam-Status: No<br><br></div><div class="Ih2E3d">On Sun, 2007-11-25 at 23:30 -0800, jonathan augenstine wrote:<br>&gt; Damjan,<br>&gt;<br>&gt; Thanks for the reply. &nbsp;I had already worked through the issues of the
<br>&gt; -D option not allowed twice and CLASSPATH being ignored. &nbsp;I am<br>&gt; successfully launching the fs_ivr class (yes, I do intend to use a jar<br>&gt; file) but I have hit another snag (see trace below). &nbsp;It appears the
<br>&gt; app is not finding the native interface library. &nbsp;Where do I declare<br>&gt; that path?<br><br></div>It&#39;s hardcoded as &quot;-Djava.library.path=&quot; SWITCH_PREFIX_DIR<br>SWITCH_PATH_SEPARATOR &quot;mod&quot;. So if you did a ./configure
<br>--prefix=/usr/local/freeswitch, it would look for mod_java.so or<br>mod_java.dll in /usr/local/freeswitch/mod.<br><br>You could try remote debugging at this stage (Netbeans, Run -&gt; Attach<br>debugger) and trace through every method (especially the static
<br>constructor) in org.freeswitch.Launcher to see where and how it looks<br>for mod_java and whether it gets loaded.<br><div class="Ih2E3d"><br>&gt; Jonathan<br>&gt;<br>&gt; 2007-11-25 23:17:53 [NOTICE] switch_core_state_machine.c:134
<br>&gt; switch_core_standard_on_execute() Execute java(fs_ivr arg1 arg2 arg3)<br>&gt; Exception in thread &quot;Thread-0&quot;<br>&gt; java.lang.reflect.InvocationTargetException<br>&gt; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)<br>&gt; &nbsp; &nbsp; at<br>&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>&gt; &nbsp; &nbsp; at<br>&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
 :25)<br>&gt; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Method.java:585)<br>&gt; &nbsp; &nbsp; at org.freeswitch.Launcher.launch(Launcher.java:80)<br>&gt; Caused by: java.lang.UnsatisfiedLinkError: console_log<br>&gt; &nbsp; &nbsp; at org.freeswitch.swig.freeswitchJNI.console_log
 (Native Method)<br>&gt; &nbsp; &nbsp; at org.freeswitch.swig.freeswitch.console_log(freeswitch.java:13)<br>&gt; &nbsp; &nbsp; at fs_ivr.run(fs_ivr.java:27)<br>&gt; &nbsp; &nbsp; ... 5 more<br>&gt; 2007-11-25 23:17:53 [NOTICE] switch_core_state_machine.c:184
<br>&gt; switch_core_standard_on_execute() Hangup PortAudio/1234 [CS_EXE<br>&gt;<br>&gt;<br><br></div><div><div></div><div class="Wj3C7c">Damjan<br><br><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>