tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: Using File class in Tomcat
Date Thu, 12 Jun 2003 18:41:54 GMT
are you running as a service? if so does the local "System" user have access
to your share? you will need to use \\server\path since the System account
will not have your mapped drives.

Charlie

> -----Original Message-----
> From: BBui@sjm.com [mailto:BBui@sjm.com]
> Sent: Thursday, June 12, 2003 1:51 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: [SPAM:56%] Using File class in Tomcat
> 
> 
> I also just found out that if I have any other file that I 
> have to read in
> from a network mapped drive, it's not found.
> 
> This must be some setting in Tomcat.  Any comment?  Idea?
> 
> Bao-Ha Dam Bui
> bbui@sjm.com
> St. Jude Medical, Inc
>  
> 
> -----Original Message-----
> From: BBui@sjm.com [mailto:BBui@sjm.com] 
> Sent: Thursday, June 12, 2003 11:03 AM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: [SPAM:56%] Using File class in Tomcat
> 
> Made no difference.  I even tried the \\ instead of the \ by 
> itself.  Any
> more idea please!
> 
> Bao-Ha Dam Bui
> bbui@sjm.com
> St. Jude Medical, Inc
> 651.765.1018
>  
> 
> -----Original Message-----
> From: Brendle, Douglas A. [mailto:BrendleDA@c-b.com] 
> Sent: Thursday, June 12, 2003 10:58 AM
> To: Tomcat Users List
> Subject: RE: [SPAM:56%] Using File class in Tomcat
> 
> 
> don't use the mapped drive name. Use it's unc name.
> If your mapped drive is G:\ and it's mapped to 
> someDir on someServer, refer to it as \\someServer\someDir.
> 
> -----Original Message-----
> From: BBui@sjm.com [mailto:BBui@sjm.com]
> Sent: Thursday, June 12, 2003 10:56 AM
> To: tomcat-user@jakarta.apache.org
> Subject: [SPAM:56%] Using File class in Tomcat
> 
> 
> Hi,
> 
> I am using the java.io.File class to get a list of all the files in a
> directory.  If the directory I am trying to read is a local 
> one, all is fine
> and good.  However, if it is a mapped drive (I am using 
> Win2k) then the
> class can not see it.  I ran the same code reading the mapped drive in
> command window (java myclass) and it is fine.
> 
> Is there a setting in Tomcat that I have to set so that I can 
> read a mapped
> drive?  
> 
> I am using Tc 4.0.2
> 
> Thanks.
> 
> 
> Bao-Ha Dam Bui
> bbui@sjm.com
> St. Jude Medical, Inc
>  
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message