When upgrading Automation Analytics & Intelligence (AAI) from version 24.2 to 24.4.x on a Linux environment, the upgrade process fails during the run-create-upgrade-sql-script target.
The following error is observed in the upgrade.log or console output:
[java] Upgrade failed.[java] java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key dbms.mssql.url[java] at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)[java] at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)[java] at com.termalabs.common.config.JawsDbConnectionConfigParms.getUrl(JawsDbConnectionConfigParms.java:193)[java] at com.termalabs.common.config.JawsDbConnectionConfigParms.getUrl(JawsDbConnectionConfigParms.java:182)[java] at com.termalabs.common.db.DatabaseSchemaVersion.<init>(DatabaseSchemaVersion.java:66)[java] at com.termalabs.upgrade.main.CreateJawsDbUpgradeScriptMain.main(CreateJawsDbUpgradeScriptMain.java:266)
Starting with AAI version 24.4, the upgrade dispatcher requires specific Microsoft SQL Server JDBC driver properties to be present in the jaws.properties file to initialize the database schema generation tool.
Even in non-Windows/non-MSSQL environments, the upgrader validates these keys. If the keys are commented out or use the legacy jtds driver format, the application throws a MissingResourceException because it cannot find the required dbms.mssql.url resource bundle key.
To resolve this issue, manually update the jaws.properties file to include the expected Microsoft JDBC driver strings.
cd /opt/Automic_Automation_Intelligence/jboss/standalone/configuration/ (or your specific installation path).cp jaws.properties jaws.properties.bakjaws.properties and locate the MSSQL section.jtds lines if present:upgrade.sh.