'java.io.FileNotFoundException: aveksa-version.properties' error running migrate.sh in RSA Identity Governance & Lifecycle
Originally Published: 2019-11-18
Article Number
Applies To
RSA Version/Condition: 7.1.0 P08, 7.1.0 P09, 7.1.1 P02, 7.1.1 P03
Issue
- java.io.FileNotFoundException: /home/oracle/database/reportdefs/UserEntitlements.jrxml (No such file or directory)
- java.io.FileNotFoundException: aveksa-version.properties
After restarting RSA Identity Governance & Lifecycle, the user interface indicates Schema Migration is required even though you have just run the migration script.
The errors are also seen in the /home/oracle/database/log/migrate.log (or /home/oracle/wildfly/standalone/log/migrate.log) file:
SQL/line#: /home/oracle/database/migration/populateReports.sql(1):
Start time [Mon Nov 18 10:39:24 EST 2019]
java com.aveksa.migration.jdbctool.JavaStepPopulateReports
java.io.FileNotFoundException: /home/oracle/database/reportdefs/UserEntitlements.jrxml
(No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.aveksa.common.utils.IOUtils.getFileAsString(IOUtils.java:101)
at com.aveksa.migration.jdbctool.PopulateAvReports.readJRXML(PopulateAvReports.java:2757)
at com.aveksa.migration.jdbctool.PopulateAvReports.createReportFromXMLFile(PopulateAvReports.java:2672)
at com.aveksa.migration.jdbctool.PopulateAvReports.createReportFromXMLFile(PopulateAvReports.java:2654)
at com.aveksa.migration.jdbctool.PopulateAvReports.createReportFromXMLFile(PopulateAvReports.java:2639)
at com.aveksa.migration.jdbctool.PopulateAvReports.initializeReportTemplates(PopulateAvReports.java:88)
at com.aveksa.migration.jdbctool.PopulateAvReports.execute(PopulateAvReports.java:69)
at com.aveksa.migration.jdbctool.JavaStepPopulateReports.run(JavaStepPopulateReports.java:17)
at com.aveksa.migration.jdbctool.SQLFileExecutor.execute(SQLFileExecutor.java:211)
at com.aveksa.migration.jdbctool.SQLFileExecutor.execute(SQLFileExecutor.java:107)
at com.aveksa.migration.jdbctool.SQLFileExecutor.execute(SQLFileExecutor.java:98)
at com.aveksa.migration.jdbctool.IncrementalUpdate.update(IncrementalUpdate.java:481)
at com.aveksa.migration.jdbctool.MigrateSchema.execute(MigrateSchema.java:163)
at com.aveksa.migration.jdbctool.MigrateSchema.execute(MigrateSchema.java:83)
at com.aveksa.cli.CreateMigrateSchemaModule.runCommandImpl(CreateMigrateSchemaModule.java:211)
at com.aveksa.cli.BaseDatabaseCLIModule.runCommand(BaseDatabaseCLIModule.java:97)
at com.aveksa.cli.Main.run(Main.java:351)
at com.aveksa.cli.Main.main(Main.java:405)
End time [Mon Nov 18 10:39:24 EST 2019]
Execution time (s): 0
SQL/line#: /home/oracle/database/migration/setVersion.sql(1):
Start time [Mon Nov 18 10:40:17 EST 2019]
java com.aveksa.migration.jdbctool.JavaStepSetVersion
java.io.FileNotFoundException: aveksa-version.properties
at com.aveksa.migration.jdbctool.JavaStepSetVersion.run(JavaStepSetVersion.java:35)
at com.aveksa.migration.jdbctool.SQLFileExecutor.execute(SQLFileExecutor.java:211)
at com.aveksa.migration.jdbctool.SQLFileExecutor.execute(SQLFileExecutor.java:107)
at com.aveksa.migration.jdbctool.SQLFileExecutor.execute(SQLFileExecutor.java:98)
at com.aveksa.migration.jdbctool.IncrementalUpdate.update(IncrementalUpdate.java:481)
at com.aveksa.migration.jdbctool.MigrateSchema.execute(MigrateSchema.java:163)
at com.aveksa.migration.jdbctool.MigrateSchema.execute(MigrateSchema.java:83)
at com.aveksa.cli.CreateMigrateSchemaModule.runCommandImpl(CreateMigrateSchemaModule.java:211)
at com.aveksa.cli.BaseDatabaseCLIModule.runCommand(BaseDatabaseCLIModule.java:97)
at com.aveksa.cli.Main.run(Main.java:351)
at com.aveksa.cli.Main.main(Main.java:405)
End time [Mon Nov 18 10:40:17 EST 2019]
Execution time (s): 0
[0:00:00] File Completion Time: /home/oracle/database/migration/setVersion.sql
[0:04:08] Total Migration Time
Please note this is also a problem with the createSchema.sh script file. Please see RSA Knowledge Base Article 000038146 -- 'java.io.FileNotFoundException: aveksa-version.properties' error running createSchema.sh in RSA Identity Governance & Lifecycle for more information.
Cause
Resolution
- RSA Identity Governance & Lifecycle 7.1.1 P05
- RSA Identity Governance & Lifecycle 7.2
Workaround
PREFERRED WORKAROUND
- Go to the user interface, enter AuthorizeMigration at the password prompt and press Migrate Schema.
- Restart RSA Identity Governance & Lifecycle
acm restart
ALTERNATE WORKAROUND
- Download the attached aveksa-version.zip file.
- Note the files are named in the format aveksa-version_<versionpatch>.properties.
- Extract the appropriate file for your RSA Identity Governance & Lifecycle version and patch level.
- Copy the file to the /home/oracle/database directory using WinSCP or a similar tool.
- Login to the server as the oracle user.
- Rename aveksa-version_<versionpatch>.properties to aveksa-version.properties.
cd /home/oracle/database mv aveksa-version_<versionpatch>.properties aveksa-version.properties
- Run migrate.sh again.
./migrate.sh
- Restart RSA Identity Governance & Lifecycle
acm restart
Notes
java.io.FileNotFoundException: /home/oracle/database/reportdefs/UserEntitlements.jrxml (No such file or directory)
Attachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).
Related Articles
Migrating users across identity sources in RSA Authentication Manager 8.x 1.92KNumber of Views Migrating from RSA Authenticate App to SecurID Authenticator App 140Number of Views Advisory for Migrating credentials from RSA SecurID Software Token 4.2.3 to SecurID Authenticator 5.1 for macOS 197Number of Views 'java.io.FileNotFoundException: aveksa-version.properties' error running createSchema.sh in RSA Identity Governance & Life… 162Number of Views 'ORA-28000: the account is locked' error when migrating an imported database in RSA Identity Governance & Lifecycle 186Number of Views
Trending Articles
How to recover the Application and AFX after an unexpected database failure in RSA Identity Governance & Lifecycle RSA SecurID Software Token 5.0.2 for Windows Desktop displays message after reboot due to roaming profile: No token stor… RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Downloading RSA Authentication Manager license files or RSA Software token seed records RSA Release Notes for RSA Authentication Manager 8.8
Don't see what you're looking for?