---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- In case anybody's interested, I finally understand how to make my JNI work completely in my NT environment. First of all, I still have to copy all my JNI DLLs and the native DLLs that they use to winnt\system32. Second of all, I must run Apache from the command line instead of as a service. I haven't yet tried running it using the log on as "System Account and Allow Service to Interact with Desktop" yet. The part of our JNI that is broken when Apache runs as a service is a fairly complex subsystem that we use in a commercial product for doing multiprotocol IPC (Interprocess Communication, in case that acronym isn't as common as I think it is) for communications to other processes running either on the same box or on other networked boxes. I debugged way down into the guts of some of our most complex native code and determined that it must have something to do with access privileges or the use of different logon IDs. Anyhow, when I run Apache from a command line using the same ID that the service was running under, everything works fine. I'll try one more test running Apache as a service using the system account. If it works, great. If not, I'll set things up to runn Apache from a command line. The odd thing is that even when I run Apache from the command line, it can't find the JNI DLLs unless they are in winnt\system32. I've tried running a test Java application from the same command prompt, it works just fine. So, when JServ launches its JVM, it must be doing something odd to the environment. I'd really like to find out how to configure JServ to allow the servlets to find the DLLs where our product installs them. Thanks, Danny Levenson -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]