Tomcat Service and Shared Drives?

"Cook, Michael" <[email protected]>
Newsgroups gmane.text.xml.soap.devel
Message-ID <[email protected]>
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
<file://\\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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.