Link to home
Start Free TrialLog in
Avatar of pjlennon
pjlennon

asked on

how to map network drive for tomcat app to read/write file

I've got a pair of windows 2008 servers. The web server receives data and needs to save this data (a java app running on tomcat receives data & tries need to write large image files to file server:e.g. LocalFILEserver\targetFolder). I think I have multiple questions. (1) How does one have a drive automatically mapped in Windows every time the machine reboots (without having to login?) I know there is an option when mapping a drive to "reconnect automatically" but is that how one does this? (2) The developer has asked the I give the accounts LocalWebServer\Users, LocalWebServer\IIS_IUSRS permission to read and write on the LocalFILEserver\targetFolder. How does one grant local accounts from one 2008 server read/write to another servers shared folder? They're not AD accounts so I'm not sure how to do this. I've had some Active Directory resource accounts created which can be given permissions on both machines.Is that the wrong approach? Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Kuldeepchaturvedi
Kuldeepchaturvedi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
(1) Use UNC or seek NT4 era guides
(2) This is the only way. Local accounts will connect is passwords and usernames match only interactively.
Avatar of pjlennon
pjlennon

ASKER

Thank you both - gheist, where would I use a UNC?
unc like \\.\share\file can replace c:\file