In an attempt to implement security on our web servers, I've tried to remove the 
username and password on the struts-config.xml datasource tag.  I've done this to 
retrieve this information from a remote location not located on the actual web server. 
 The problem with this, as many of you probably know is that the struts framework does 
not yet support the getConnection("user","pass") in its genericDataSource 
implementation.  I was wondering if any of you have a workaround for this instance?  

I have gotten tomcat to load the datasource without a username and password by setting 
my minCount="0".  The reason this works is pretty obvious and that's because tomcat 
doesn't make an initial connection to the database.  

I have a feeling that I can add the username and password now that tomcat is loaded 
but am a little unsure of how to accomplish this. 

Thanks
Dan Jimenez


Reply via email to