|
From: Dan B. <dh...@ri...> - 2004-05-07 16:19:17
|
Hello All, I have a service that starts up and loads a native library, which in turn is dependent on other native libraries. I have all these native libraries in my C:\Dlls\ directory. I have the: wrapper.java.library.path.2=C:/Dlls property set in my wrapper.conf file When I run the application using the batch file(the one that came with the service wrapper) it works fine! However when I run the application by typing net start myservice I get an UnsatisfiedLinkError, because it cannot find dependent libraries. Does anyone know why this would be the case that it works when run through the wrapper, but not as a service? I assume it has something to do with working directories or path's, but I cant deduce where the problem is Any help would be appreciated. Dan |