RE: JNI InvocationTargetException w/Tomcat service (solved).

2004-02-13 Thread Mark
In my case, java.library.path is null for both the standalone and service modes of Tomcat. It seems that when TC's running as a service, it ignores the drive prefix on the windows PATH. The DLLs were on drive D: and even though that's what was in the PATH, they still couldn't be found. I was

RE: JNI InvocationTargetException w/Tomcat service

2004-02-13 Thread Jonathan Melvin
For JNI the dlls need to be in the VM's java.library.path . This is usually set when the vm is started on the command line with something like -Djava.library.path="C:\my dll folder" . I have no idea where you set this for tomcat, and I don't think you can set it in java either. Jon M -Origina