How to access files in network drive

2010-01-03 Thread WM C
Hi - This is more like a general java question. In my web app, I need to read files from a network drive folder, which has access restriction (my account is permitted). During development time, since I am using Eclipse and Tomcat is integrated inside, so both were run under my account,

Re: How to access files in network drive

2010-01-03 Thread Peter Crowther
2010/1/3 WM C doublecr...@live.com In my web app, I need to read files from a network drive folder, which has access restriction (my account is permitted). During development time, since I am using Eclipse and Tomcat is integrated inside, so both were run under my account, everything works

RE: How to access files in network drive

2010-01-03 Thread WM C
another (for security reason, we cannot allow one user to access both drives). So looks like I have to run two Tomcat instances? Thanks, William Date: Sun, 3 Jan 2010 10:48:49 + Subject: Re: How to access files in network drive From: peter.crowt...@melandra.com To: users@tomcat.apache.org

Re: How to access files in network drive

2010-01-03 Thread Peter Crowther
2010/1/3 WM C doublecr...@live.com The problem is that now we have two web apps, each needs to access different drive, each drive has different user access control list - in this case, running Tomcat using one user will only make one app work, while fail another (for security reason, we

Re: How to access files in network drive

2010-01-03 Thread anthonyvierra
Tomcat is started under a user account with its own security. Give that user permission to the path. On 1/3/10, WM C doublecr...@live.com wrote: Hi - This is more like a general java question. In my web app, I need to read files from a network drive folder, which has access restriction (my