In Windows NT, just go into your environmental settings and add your
path to the PATH statement.

Right-click My Computer->properties->Advanced->Environmental Variables

(Windows XP specific directions, but it's in a similar place on NT)

- Andrew

-----Original Message-----
From: Pearsall, Kyle [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 1:32 PM
To: Tomcat (E-mail)
Subject: PATH issue


I have set up Tomcat with an addition to the PATH in startup.bat ("set
PATH=..\webapps\TestServlet\dll;%PATH%").  When Tomcat starts from this
batch file, the servlet can access files in this directory.  However,
when Tomcat runs as a service, the servlet can't access the files in
this directory.  Tomcat produces javax.servlet.ServletException and
java.lang.UnsatisfiedLinkError messages.  It seems the NT Tomcat service
bypasses startup.bat.  
How can I set up the NT service to load the PATH statement above?  Is
this possible?  Considering the nature of the product, I can't update
the path manually in the Windows environment variables (although this
does work).  And I would like to keep the files inside the servlet, and
not in the Tomcat\bin directory (I tried this and it works as well).
What can I do? Thank you in advance for your help. Kyle Pearsall

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

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

Reply via email to