Re: [sleuthkit-developers] Calling Sleuth Kit From JMS
Brought to you by:
carrier
From: Milindu S. K. <age...@gm...> - 2014-11-14 01:34:44
|
Great!! Thank to you and Stuart I could solve my problem :D Thanks a lot. Now I see "SleuthkitJNI: loaded libtsk_jni" message, but gets following error. I'll try to get it solved :) Any ideas, why it could be? *org.sleuthkit.datamodel.TskCoreException: Database Error (Can't open database: unable to open database file)* On Thu, Nov 13, 2014 at 7:44 PM, Brian Carrier <ca...@sl...> wrote: > 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 > > |