From: Jiang, Peiyun [mailto:[EMAIL PROTECTED]
I'm running Tomcat 5.0 on Windows 2000. I logon to Windows as
user1 and I have a mapped drive G: that requires separate
login (I user the same user name and password, so it
automatically logs in).
(1) If I login as user1 and start Tomcat
I did a test using \\computer\dir\mydir instead of a mapping G:. I still have
the same behavior.
Is there any other reason?
Peiyun
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: April 7, 2005 10:11 AM
To: Tomcat Users List
Subject: RE: tomcat as Windows service
On Apr 7, 2005 10:59 AM, Jiang, Peiyun [EMAIL PROTECTED] wrote:
I did a test using \\computer\dir\mydir instead of a mapping G:. I still have
the same behavior.
Silly question but did you escape your backslashes? What errors are
you getting? More details would help.
Regards,
--
Jason
Subject: Re: tomcat as Windows service - access to resources
On Apr 7, 2005 10:59 AM, Jiang, Peiyun [EMAIL PROTECTED] wrote:
I did a test using \\computer\dir\mydir instead of a mapping G:. I still have
the same behavior.
Silly question but did you escape your backslashes? What errors are
you
On Apr 7, 2005 11:11 AM, Jiang, Peiyun [EMAIL PROTECTED] wrote:
I escaped them. It's working if tomcat started from a script. The servlet
cannot see the directory as a java File.
Testing for file.exist() returns false.
So your path within your servlet looks like:
computer\\dir\\mydir
) - addWatchedFile(String
pathname) end
Peiyun
-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: April 7, 2005 12:19 PM
To: Tomcat Users List
Subject: Re: tomcat as Windows service - access to resources
On Apr 7, 2005 11:11 AM, Jiang, Peiyun [EMAIL PROTECTED] wrote:
I