LD_LIBRARY_PATh for staf lib
I have deployed my application war file in tomcat. From there the application needs to access lib directory of staf.(Software Testing Automation Framework) which is inside opt/something/staf/lib. For that I have put the ld_library_path in a sh file in tomcat bin. Before running tomcat I am running the sh file. But when I run tomcat and access the webpage, I am getting a 500 error which I suppose is because of my application in tomcat not able to access staf/lib even though I set ld_lib_path. Any suggestion or thought highly appreciated.