Re: [SPAM:56%] Using File class in Tomcat
On Fri, 13 Jun 2003 22:04, [EMAIL PROTECTED] wrote: > As a service. Is there a difference? For an NT service to be able to access files across the network it must run under an account with network privileges, by default the LocalSystem account is used which doesn't have any network privileges. Most people choose to create a new network account with privileges restricted to solely what they require and then run the NT service using that account. Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [SPAM:56%] Using File class in Tomcat
As a service. Is there a difference? Bao-Ha Dam Bui [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Mayne, Peter [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:20 PM To: 'Tomcat Users List' Subject: RE: [SPAM:56%] Using File class in Tomcat Are you running Tomcat from a command line, or as a service? If Tomcat is running as a service, what user is it running as? PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F: 61 2 62689777 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] > Sent: Friday, 13 June 2003 3:51 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > St. Jude Medical, Inc > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] > Sent: Thursday, June 12, 2003 11:03 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > St. Jude Medical, Inc > 651.765.1018 > > > -Original Message- > From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] > Sent: Thursday, June 12, 2003 10:56 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > St. Jude Medical, Inc > > > > > * > This communication may contain information that is > proprietary, privileged, > confidential or legally exempt from disclosure. If you are > not a named > addressee, you are notified that you are not authorized to > read, print, > retain, copy or disseminate this communication without the > consent of the > sender and that doing so may be unlawful. If you have received this > communication in error, please notify the sender via return e-mail and > delete it from your computer. Thank you. St. Jude Medical, Inc. > * > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > * > This communication may contain information that is > proprietary, privileged, > confidential or legally exempt from disclosure. If you are > not a named > addressee, you are notified that you are not authorized to > read, print, > retain, copy or disseminate this communication without the > consent of the > sender and that doing so may be unlawful. If you have received this > communication in error, please notify the sender via return e-mail and > delete it from your computer. Thank you. St. Jude Medical, Inc. > * > > > * > This communication may contain information that is > proprietary, privileged, > confidential or legally exempt from disclosure. If you are > not a named > addressee, you are notified that you are not authorized to > read, print, > retain, copy or disseminate this communication without the > consent of the > sender and that doing so may be unlawful. If you have received this > communication in e
RE: [SPAM:56%] Using File class in Tomcat
Title: RE: [SPAM:56%] Using File class in Tomcat Are you running Tomcat from a command line, or as a service? If Tomcat is running as a service, what user is it running as? PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602 T: 61 2 62689727 F: 61 2 62689777 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, 13 June 2003 3:51 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > St. Jude Medical, Inc > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 12, 2003 11:03 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > St. Jude Medical, Inc > 651.765.1018 > > > -Original Message- > From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED]] > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 12, 2003 10:56 AM > To: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > St. Jude Medical, Inc > > > > > * > This communication may contain information that is > proprietary, privileged, > confidential or legally exempt from disclosure. If you are > not a named > addressee, you are notified that you are not authorized to > read, print, > retain, copy or disseminate this communication without the > consent of the > sender and that doing so may be unlawful. If you have received this > communication in error, please notify the sender via return e-mail and > delete it from your computer. Thank you. St. Jude Medical, Inc. > * > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > * > This communication may contain information that is > proprietary, privileged, > confidential or legally exempt from disclosure. If you are > not a named > addressee, you are notified that you are not authorized to > read, print, > retain, copy or disseminate this communication without the > consent of the > sender and that doing so may be unlawful. If you have received this > communication in error, please notify the sender via return e-mail and > delete it from your computer. Thank you. St. Jude Medical, Inc. > * > > > * > This communication may contain information that is > proprietary, privileged, > confidential or legally exempt from disclosure. If you are > not a named > addressee, you are notified that you are not authorized to > read, print, > retain, copy or disseminate this communication without the > consent of the > sender and that doing so may be unlawful. If you have received this > communication in error, please notify the sender via return e-mail and > delete it from your computer. Thank you. St. Jude Medical, Inc. > * > The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the
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 [EMAIL PROTECTED] St. Jude Medical, Inc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:03 AM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
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 [EMAIL PROTECTED] St. Jude Medical, Inc 651.765.1018 -Original Message- From: Brendle, Douglas A. [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:56 AM To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] St. Jude Medical, Inc * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]