Poolman: Is it possible to set password at runtime?
843854Feb 19 2004 — edited Feb 20 2004Hi,
The poolman.xml looks like:
....
<datasource>
<dbname>dbname</dbname>
<jndiName>jndiname</jndiName>
<driver>oracle.jdbc.driver.OracleDriver</driver>
<url>jdbc:oracle:oci8:@db</url>
<username>user</username>
<password/>
</datasource>
...
I don't want to put the password in the poolman.xml as plaintext, so I want to set it at runtime...
But the problem is, it seems that the poolman tries to make connection by using the metadata in the xml file, before I set the correct password. So I got the "invalid username/password; logon denied" exception...
Any suggestion will be appreicated!
Thanks.