[sleuthkit-developers] Calling Sleuth Kit From JMS
Brought to you by:
carrier
|
From: Milindu S. K. <age...@gm...> - 2014-11-12 20:00:57
|
Hi,
I'm trying to call Sleuth Kit from a JMS MessageListener. But I'm getting
this error
*java.lang.UnsatisfiedLinkError: /tmp/libtsk_jni.so: libtsk.so.10: cannot
open shared object file: No such file or directory*
I tried coping the libtsk_jni.so to /tmp but no difference. But I can call
Sleuth Kit from from a Java console application. What could be the error?
Below is my MessageListener
public void onMessage(Message message) {
try {
String imagePath = "uploads/Cfreds001A001.dd";
try{
SleuthkitCase sk = SleuthkitCase.newCase(imagePath + ".db");
} catch (TskCoreException ex) {
}
} catch (JMSException ex) {
Logger.getLogger(WorkerBean.class.getName()).log(Level.SEVERE, null,
ex);
} catch (InterruptedException ex) {
Logger.getLogger(WorkerBean.class.getName()).log(Level.SEVERE, null,
ex);
}
|