Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Daniel L. Gross
I am not running in a domain, my servers are running in a workgroup only, and the machine tomcat 5.5 is running on is logged into an administrator account. It appears that it sees the mapped drives because if I try to access a file that is not available, I get the proper JAVA message. When I

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Daniel L. Gross
I just tried changing the login configuration to log onto the administrator account, and I still get access denied. Any thoughts??? Thanks, Dan Gross, ATLC Mark Thomas wrote: Daniel L. Gross wrote: I have a servlet that does a direct read from a mapped drive in Windows. It works fine

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel L. Gross wrote: How do I change the configuration in the tomcat service to allow it to see other computers? You don't change the service configuration (unless you run Tomcat as some other user -- which isn't a bad idea). Instead,

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Daniel L. Gross
Thanks for all your help, I found out the problem. It was the service privilege running under the local machine. The default tomcat icon at the bottom of the screen that allows you to configure and start/stop tomcat would not let me change the user it ran under. However, I was able to

Re: Mapped File Access Problems in Servlets

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel L. Gross wrote: I was able to change the user to Administrator This is basically the same as running as root on a UNIX system: it works, but nobody can really recommend it since you're giving your app server full access to

Re: Mapped File Access Problems in Servlets

2007-08-23 Thread Mark Thomas
Daniel L. Gross wrote: I have a servlet that does a direct read from a mapped drive in Windows. It works fine in tomcat as long as I use a drive on the local machine. However, I need to access a mapped drive on a different machine. When I run the program, I get a FileNotFound error in JAVA

RE: Mapped File Access Problems in Servlets

2007-08-23 Thread Caldarale, Charles R
From: Daniel L. Gross [mailto:[EMAIL PROTECTED] Subject: Mapped File Access Problems in Servlets However, I need to access a mapped drive on a different machine. When I run the program, I get a FileNotFound error in JAVA and (access denied) next to it. Are you running Tomcat as a