Re: [sleuthkit-developers] Calling Sleuth Kit From JMS
Brought to you by:
carrier
|
From: Brian C. <ca...@sl...> - 2014-11-13 14:14:18
|
I think Stuart is on the right path with his comments. Did you do a 'make install' with TSK? The JNI code assumes that the other TSK libraries are in their installed locations.
On Nov 12, 2014, at 3:00 PM, Milindu Sanoj Kumarage <age...@gm...> wrote:
> 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);
>
> }
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk_______________________________________________
> sleuthkit-developers mailing list
> sle...@li...
> https://lists.sourceforge.net/lists/listinfo/sleuthkit-developers
|