If I were you I would use UNC paths if possible instead of relying on 
mapped drives.

However, having said that, you should be able to setup the service
to run as a particular user.  I believe it should be a domain user.  Then
log into the server using that domain login and map the drive 
persistently.  Then logout.  The mapped drive should be available to 
the service when it runs.

I came across a windows scheduled task just a few months ago that
was setup to write out to a file on a mapped drive like this and it 
seemed to work.  I converted it to UNC and unmapped the drive
though because I didn't like doing that.

-Dave

On Tuesday 05 July 2005 13:40, Johnnie Chang wrote:
> Hi,
>
> We used to use an older version of Tomcat.  The old version did not run as
> a service.  On the old version, we have an Java aplication that needs to
> access mapped network drives.  With the new Tomcat 5.x, the Tomcat is ran
> as a service, and I do not know how to map a network drive in this case. 
> Is there any instruction on how to do this? Thanks.
>
> Johnnie
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to