I'm not sure if this relates to samba, but most issues with mapped
drives is with the service account, if you are running Tomcat as a
service.

Try creating an account specifically for Tomcat, then log on as Tomcat
and map the drive ( check reconnect at logon ).  Make sure you can read
a file while accessing the drive.  Then add the account to the service
and restart Tomcat.

Another way to test to see if it's a permissions issue, is to stop your
tomcat service, and start Tomcat using the batch file, assumming you
have permission to the mapped drive.


- Andrew

> -----Original Message-----
> From: Marc-Henri PAMISEUX [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, August 27, 2002 11:17 AM
> To: Tomcat Users List
> Subject: Re: Using a Webapp on a network share
> 
> 
> Tim Funk wrote:
> > Instead of:
> > docBase="N:\intranet\sites\ROOT"
> > 
> > try:
> >    docBase="N:\\intranet\\sites\\ROOT"
> > OR
> >    docBase="N:/intranet/sites/ROOT"
> > 
> > 
> 
> And i've try also file:///N:/intranet/sites/ROOT but nothing works.
> 
> Now, to simplify, i've changed the value to 
> appBase="N:/intranet/sites", 
> and <Context path="" docBase="ROOT" debug="0"></Context> for trying 
> relative path to appBase. But it is the same problem !
> 
> 
> 
> --
> 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