We are trying to use the SQL macro in confluence to access oracle databases. We have configured the server.xml file with Resource name information entries to use jdbc to connect to our target. For security reasons we have logon triggers that expect a connection to the database to include username, machine name and program name information. It seems that when confluence tries to to connect to target database via jdbc it is not passing a program name and therefor the logon trigger is blocking the connection attempt.
Our question is how to configure the jdbc connection used by confluence to include a specific program name? Is there a setting that is similar to the 'AdditionalParams=v$session.program\=[program name]' solution that we have seen other tomcat application use to provide a program name?