-
1. Re: Native library usage
nickarls May 13, 2013 1:46 AM (in response to pi4630)and lib is under main and not on the same level?
-
2. Re: Native library usage
pi4630 May 13, 2013 2:49 AM (in response to nickarls)Yes, lib (with linux-i686 subfolder and its native libraries content) is under main directory.
-
3. Re: Native library usage
nickarls May 13, 2013 2:59 AM (in response to pi4630)How is the client called? If it's a completely external call I don't think it will even go through JBoss Modules.
-
4. Re: Native library usage
ksreen May 13, 2013 4:18 AM (in response to pi4630)You should set the LD_LIBRARY_PATH or use
-Djava.library.path=/path/to/my/dll in the java invocation so that your jar will be able to load the native library.
-
5. Re: Native library usage
pi4630 May 14, 2013 7:44 AM (in response to ksreen)That one is set, but stil yields the same error.
I then move the CumulusJC.jar to the same path, I get a slightly different (?) error:
javax.ejb.EJBException: Unexpected Error (...)
Caused by: java.lang.UnsatisfiedLinkError: com.canto.cumulus.Server.connectToServer1(Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/canto/cumulus/Server;
-
6. Re: Native library usage
nickarls May 14, 2013 8:17 AM (in response to pi4630)There is no chance you are picking up incompabile versions of the jar/dll?