I want to deploy my application on to tomcat which has a pcap parsing ability. The module was running fine on eclipse / terminal. On tomcat i see the error as below.
I have tried the following steps to resolve this issue:
- Add jnetpcap.jar and *.so (2 files for 1.4r1425 version) into $PATH
- Add jnetpcap.jar in tomcat lib folder
- In JAVA i tried using
System.loadLibrary("path/to/so/files");
None of them worked. Also how does tomcat load native libraries is something i have no knowledge about. Kindly suggest a solution to make this work on tomcat.