Hello,
One of my SOAP
applications needs to read in files on the disk. These files are
located
on a shared drive
(K: in this case mapped to \\myserver\files). So, for example, the
SOAP
application may have
to access a file called k:\data.txt.
I have noticed that,
whenever I run Tomcat as a service, I get the following
exception:
"The system cannot
find the file specified."
I know the file
exists and if I move the file to a local drive (c:\files\) then everything
is
fine.
The strange this is,
however, if I run Tomcat from the console (batchfile) and not
as
a service then
everything seems to work fine!?!?
The bottom line is
this. It appears that my application cannot access shared
drives
when it is run
within a Tomcat service, but it can access shared drives when run
from
the
console.
Any
ideas?
Thanks!