Use regedit to add your dll path to the NT service parameter. The registry key
where service parameters can be found is

  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<service name>\Parameters

Note: Replace <service name> by the name of your Tomcat service, e.g. "Apache Tomcat 
4.1".

There's a value named "JVM Option Number ?" which starts with "-Djava.class.path". 
Append your
dll path there. Separator is a colon, i think.

Hope it works...

Andreas


*********** REPLY SEPARATOR  ***********

On 14.08.2002 at 10:29 Daniela Barreiro Claro wrote:

>What should i do to load a DLL using  Tomcat 4.0.4 as NT Service. I use the Tomcat 
>4.0.4 service default, when i installed it, but it did not load my DLL. I put the 
>ld_path inside workers.properties setting the path pointing to my .dll, but it did 
>not find the .dll. When i start the Tomcat not as NT Service, i have put my path 
>directly on the setclasspath.bat, and all things functions perfectly. Any suggestions 
>will be fine! TIA




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to