Creating a Domain via WLST createDomain() if User Other Than Weblogic - Attribute "Password" is not setfor user "weblogic"
(Doc ID 1467156.1)
Last updated on FEBRUARY 11, 2017
Applies to:Oracle WebLogic Server - Version 10.3 to 10.3.6
Information in this document applies to any platform.
When creating domain using the provided template with WLST, if the specified user is not "weblogic", a confusing exception is thrown:
com.oracle.cie.domain.script.ScriptException: Attribute "Password" is not setfor user "weblogic"
The following would be the scenario where you should expect to get this problem:
1. Attempt to create the domain with a user different from 'weblogic'
You will immediately see this:
Error: writeDomain() failed. Do dumpStack() to see details.
2. Run dumpStack() to see what the problem is:
com.oracle.cie.domain.script.ScriptException: Attribute "Password" is not set
for user "weblogic" .....
3. If running using 'weblogic' user, domain gets successfully ccreated:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document