Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Byron MannByron MannPriority
NewLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Byron Mann
Byron MannPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 11 March 2020 at 16:19
Updated 12 March 2021 at 13:29
Resolved 12 March 2021 at 13:29
During our application startup, (via code) we run some one-time additional configuration options for the Lucee web context using the Admin API. The following snippet, creates the datasource for us; however, yields the storage option in the Administrator UI to not have the storage option selected. The admin UI works fine and allows us to toggle the flag on the created datasource.
In turn, the datasource cannot be used for session, client or log storage when this occurs.
adm = new Administrator('web', this.getAdminPassword()) adm.updateDatasource( name: 'cfvars', newname: 'cfvars', type: 'MSSQL', host: 'db1', database: 'cfvars', port: 2533, username: 'web', password: "", connectionLimit: 100, connectionTimeout: 10, storage: true, blob: true, clob: true );
We'll be using cfconfig as a workaround.