Map network drive

2005-07-05 Thread Johnnie Chang
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]



RE: Map network drive

2005-07-05 Thread Johnnie Chang
Hi,

We have a lot of documents linked using the mapped drive.  To switched to
UNC will require me to change all the links.  
I had already tried what you suggested 2 weeks ago.  It didn't work.  It
didn't work even on a clean installation.
The mapped drive seem to work on our production server, but I am not able to
reproduce the same setup on another computer.

Johnnie 



-Original Message-
From: David F. Newman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 05, 2005 12:29 PM
To: Tomcat Users List
Subject: Re: Map network drive


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]




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