I am writing a java servlet which I deploy using tomcat-6. It uses native C++ code for USB access.
Depoying by hand works fine. The wrapper .jar goes to CATALINA_BASE/lib and the library libnative.so is placed in CATALINA_BASE/shared/lib. I can deploy the eclipse war file, but when I start the eclipse tomcat instance, I get an error that the native library is not in the java.library.path.
In the tomcat-6 system instance I add -Djava.library.path in the config files. Is there any way to do this in eclipse??
p.s. I tried the native library entry in the Deployment Assembly properties without success