Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » shared native library
shared native library [message #638837] Fri, 12 November 2010 12:43 Go to previous message
Stefan Harjes is currently offline Stefan Harjes
Messages: 3
Registered: November 2010
Junior Member
Hi,

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??

Best

p.s. I tried the native library entry in the Deployment Assembly properties without success



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Helios jar with Main-class attribute in manifest only deploys to one location
Next Topic:Eclipse - Cannot create a Tomcat 6.0 Server
Goto Forum:
  


Current Time: Sun May 26 03:45:13 EDT 2013

Powered by FUDForum. Page generated in 0.05766 seconds