Products | Versions |
---|---|
Spotfire Server | 7.5 and higher |
WARN 2013-04-01T16:15:15,040+0200 [*Initialization*] util.transform.DefaultCredentialTransform: Decryption failed com.spotfire.server.util.sql.StoredCredentialException: Internal error: pad padding at com.spotfire.server.util.sql.StoredCredential.decryptDatabaseCredential(StoredCredential.java:249) [...] ERROR 2013-04-01T16:15:16,040+0200 [user, #1] api.common.InformationModelServiceCommon: Failed to initialize connection pool: Access denied for user 'username'@'hostname' (using password: YES) com.spotfire.ws.api.common.InformationModelWebServiceException: Failed to initialize connection pool: Access denied for user 'username'@'hostname' (using password: YES) [...] Caused by: com.spotfire.ws.im.IMException: Failed to initialize connection pool: Access denied for user 'username'@'hostname' (using password: YES) [...] Caused by: java.sql.SQLException: Access denied for user 'username'@'hostname' (using password: YES) [...]
<TIBCO Spotfire Server install dir>\tomcat\webapps\spotfire\WEB-INF\bootstrap.xml defines an encryption password which is also not stored in clear text:
<bootstrap> ... <encryption-password>A$2yhKT[...]U6UBYqA</encryption-password> </bootstrap>
config bootstrap --driver-class=tibcosoftwareinc.jdbc.oracle.OracleDriver --database-url="jdbc:tibcosoftwareinc:oracle://server:1521;SID=spotfire" --username=spotuserm --password=spotpass --encryption-password=mysecretpassword