ServerA
Login as TomcatUser
Map Drive as TomcatUser
Set Service to Start as TomcatUser

ServerB
Make sure permissions are set to allow TomcatUser to access files

- Andrew

> -----Original Message-----
> From: Jacob Hookom [mailto:[EMAIL PROTECTED]] 
> Sent: Sunday, August 11, 2002 3:11 PM
> To: 'Tomcat Users List'
> Subject: RE: Shared Drives
> 
> 
> Of which system?  I did get it to network this morning by 
> running it normally from the start menu while logged in as 
> administrator, but it would be ideal to get it to run as a service
> 
> | -----Original Message-----
> | From: Andrew [mailto:[EMAIL PROTECTED]]
> | Sent: Sunday, August 11, 2002 12:29 PM
> | To: 'Tomcat Users List'
> | Subject: RE: Shared Drives
> | 
> | Have you tried mapping the drive as administrator?
> | 
> | > -----Original Message-----
> | > From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
> | > Sent: Sunday, August 11, 2002 2:17 AM
> | > To: Tomcat Users List
> | > Subject: Shared Drives
> | >
> | >
> | > I had mentioned before that I was looking to access my network 
> | > within a servlet.  Someone had mentioned that I need to 
> run tomcat 
> | > as a service under the user that has the mapped drive.
> | >
> | > ServerA -Win2k
> | >   Login: Administrator
> | >   Mapped: F:/ to ServerB via 'TomcatUser' login
> | >   Running: Tomcat 4.1 Service as user Administrator
> | >
> | > ServerB -Win2k
> | >   Login: Administrator
> | >   Sharing: C:/ with full permissions for 'TomcatUser'
> | >
> | >
> | > Code:
> | >
> | > File source = new File("F:/");
> | > if (!source.exists())
> | >   log.error("Cannot Access Share");
> | >
> | > And it logs that it cannot access the share.  Do I need 
> to look at 
> | > editing my policy file?
> | >
> | > Best Regards,
> | > Jacob Hookom
> | > Comprehensive Computer Science
> | > University of Wisconsin, Eau Claire
> | >
> | >
> | >
> | > ---
> | > Outgoing mail is certified Virus Free.
> | > Checked by AVG anti-virus system (http://www.grisoft.com).
> | > Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
> | >
> | >
> | >
> | > --
> | > To unsubscribe, e-mail:
> | > <mailto:tomcat-user-> [EMAIL PROTECTED]>
> | > For
> | > additional commands,
> | > e-mail: <mailto:[EMAIL PROTECTED]>
> | >
> | 
> | 
> | --
> | To unsubscribe, e-mail:   <mailto:tomcat-user-
> | [EMAIL PROTECTED]>
> | For additional commands, e-mail: <mailto:tomcat-user- 
> | [EMAIL PROTECTED]>
> | 
> | ---
> | Incoming mail is certified Virus Free.
> | Checked by AVG anti-virus system (http://www.grisoft.com).
> | Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
> | 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
>  
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to