How to encrypt password in Data Source Declaration

2010-01-14 Thread WM C
Hi All - Sorry if this question seems dumb, but here it is: In the data source declaration, database username, password needs to be provided, and they are in plain text! For the application, data source works fine, but I feel it is really not safe - anybody who can access the server

RE: How to encrypt password in Data Source Declaration

2010-01-14 Thread WM C
message. Do not reply to an old one (even if you change the subject). Mark On 14/01/2010 17:54, WM C wrote: Hi All - Sorry if this question seems dumb, but here it is: In the data source declaration, database username, password needs to be provided

How to access files in network drive

2010-01-03 Thread WM C
Hi - This is more like a general java question. In my web app, I need to read files from a network drive folder, which has access restriction (my account is permitted). During development time, since I am using Eclipse and Tomcat is integrated inside, so both were run under my account,

RE: How to access files in network drive

2010-01-03 Thread WM C
2010/1/3 WM C doublecr...@live.com In my web app, I need to read files from a network drive folder, which has access restriction (my account is permitted). During development time, since I am using Eclipse and Tomcat is integrated inside, so both were run under my account, everything

data source factory

2009-11-28 Thread WM C
Hi - I am upgrading a working web app from Tomcat 5.0 to 5.5, and encounter the following data source problem. According to Apache web site, for Tomcat 5.5 configuration, I should use factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in Resource for datasource configuration.

RE: data source factory

2009-11-28 Thread WM C
+ From: ma...@apache.org To: users@tomcat.apache.org Subject: Re: data source factory WM C wrote: Hi - I am upgrading a working web app from Tomcat 5.0 to 5.5, and encounter the following data source problem. According to Apache web site, for Tomcat 5.5 configuration, I