Skip to content

WLSDPLY-09015: updateDomain deployment failed: Failed to set attribute PasswordEncrypted #484

@engchina

Description

@engchina

Hi Experts,

I was trying to move JCS to WebLogic Cloud on OCI and faced an error.

WLSDPLY-09015: updateDomain deployment failed: Failed to set attribute PasswordEncrypted in path /JDBCSystemResources/orcl_ds/JDBCResource/orcl_ds/JDBCDriverParams/orcl_ds to value PAsswOrd__123: wlst.set(PasswordEncrypted, PAsswOrd__123) in online mode failed : Error occurred while performing set : Error setting attribute PasswordEncrypted : In production mode, it's not allowed to set a clear text value to the property: PasswordEncrypted of JDBCDriverParamsBean

I did it as below:
Step1: Discover JCS domain -> let's name it as result.yaml
Step2: Only keep customized resources and appDeployments in result.yaml, then modify "Target" and "PasswordEncrypted".
Step3: use encryptModel.sh to encrypt modified result.yaml, it's okay.
Step4: use validateModel.sh to validate modified result.yaml, it's okay.
Step5: use updateDomain.sh with "-use_encryption" flag to update domain, but got error WLSDPLY-09015.

I tried input "plain text value" "base64 encode value" "ciphertext" into PasswordEncrypted, either of them will get error WLSDPLY-09015, what should I input into PasswordEncrypted if I want to user "-use_encryption" while using updateDomain.sh?

Thanks in advance!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions