[Quickfix-developers] problems using the quickfix library loaded into a javax MBean
Brought to you by:
orenmnero
From: Mike H. <mi...@an...> - 2003-03-14 14:45:22
|
hi,=20 i have a piece of code that statically loads the quickfix_jni library into a javax MBean (NOT an ejb !!). the loadLibrary call appears to work OK: static {=20 try {=20 System.loadLibrary("quickfix_jni");=20 } catch(UnsatisfiedLinkError e) {=20 System.out.println("Could not quickfix library" + e);=20 }=20 System.out.println("Loaded library quickfix_jni");=20 }=20 when i go to use the library for the first time though, i get a java.lang.UnsatisfiedLinkError for the method invocation. i have set my runtime java.library.path and $LD_LIBRAY_PATH to ensure the library is visible to my MBean but still no joy. does anyone know what i'm missing/recognize this situation ?=20 i'm using j2sdk1.4, jboss3 and quickfix1.4.0 (built on a linux box under gcc-2.95.3) Cheers=20 Mike=20 |