As a service. Is there a difference?
Bao-Ha Dam Bui
[EMAIL PROTECTED]
St. Jude Medical, Inc
651.765.1018
-Original Message-
From: Mayne, Peter [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 7:20 PM
To: 'Tomcat Users List'
Subject: RE: [SPAM:56%] Using File class in Tomcat
On Fri, 13 Jun 2003 22:04, [EMAIL PROTECTED] wrote:
As a service. Is there a difference?
For an NT service to be able to access files across the network it must run
under an account with network privileges, by default the LocalSystem account
is used which doesn't have any network privileges.
don't use the mapped drive name. Use it's unc name.
If your mapped drive is G:\ and it's mapped to
someDir on someServer, refer to it as \\someServer\someDir.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:56 AM
To: [EMAIL
Users List
Subject: RE: [SPAM:56%] Using File class in Tomcat
don't use the mapped drive name. Use it's unc name.
If your mapped drive is G:\ and it's mapped to
someDir on someServer, refer to it as \\someServer\someDir.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: RE: [SPAM:56%] Using File class in Tomcat
Made no difference. I even tried the \\ instead of the \ by itself. Any
more idea please!
Bao-Ha Dam Bui
[EMAIL PROTECTED]
St. Jude Medical, Inc
651.765.1018
Title: RE: [SPAM:56%] Using File class in Tomcat
Are you running Tomcat from a command line, or as a service?
If Tomcat is running as a service, what user is it running as?
PJDM
--
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1, 243 Northbourne Avenue, Lyneham