Jump to content
Excelsior Forums

hban

Members
  • Content count

    0
  • Joined

  • Last visited

Community Reputation

0 Neutral

About hban

  • Rank
    Newbie
  1. Hi, My "Invocation DLL" application throws a java.lang.UnsatisfiedLinkError error when it is executed on a target box. Both the target and dev boxes are running Linux. The application runs fine on my dev box, provided I build it from the command line, and not the Excelsior UI. When I build it from the UI, I get the same error. I copied the generated .so file, as well as the JET Profile folder, to the target box. The invocation C code(the sample code, tweaked), was re-compiled on the target box. On invocation, the part of the Java code that throws an error is where I instantiate "javax.crypto.SecretKeyFactory". The rest of the code appears to run fine. The JDK on the target box (1.6.0_26) is slightly different than the one on the dev box(1.6.0_13). Do you think that this might cause any problems, considering that I need to specify the JDK when compiling the C code? Any suggestions would be very appreciated. Here's the error trace thrown: Exception in thread "main" java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad at java.lang.ClassLoader$NativeLibrary.load(Unknown Source) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.<unknown>(Unknown Source) at sun.security.action.LoadLibraryAction.run(Unknown Source) at java.security.AccessController.doPrivileged(Unknown Source) at java.net.InetAddress.<clinit>(Unknown Source) at com.excelsior.jet.runtime.classload.ClassInitialization.__aj__initClass__Lcom_excelsior_jet_runtime_typedesc_ClassOrInterfTypeDesc_2(Unknown Source) at java.net.InetAddress.getLocalHost(Unknown Source) at javax.crypto.SunJCE_b.j(Unknown Source) at javax.crypto.SunJCE_b.d(Unknown Source) at javax.crypto.SunJCE_b.c(Unknown Source) at javax.crypto.SunJCE_b$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Unknown Source) at javax.crypto.SunJCE_b.<clinit>(Unknown Source) at com.excelsior.jet.runtime.classload.ClassInitialization.__aj__initClass__Lcom_excelsior_jet_runtime_typedesc_ClassOrInterfTypeDesc_2(Unknown Source) at javax.crypto.SunJCE_b.b(Unknown Source) at javax.crypto.SecretKeyFactory.a(Unknown Source) at javax.crypto.SecretKeyFactory.<unknown>(Unknown Source) at javax.crypto.SecretKeyFactory.getInstance(Unknown Source) at com.travelport.invoker.InvokeMCE.invokeAndGetResponse(Unknown Source) Thanks, Hirak
×