The book was written against WebLogic Server 10.3.1 (part of FMW 11gR1), but is equally relevant to WebLogic Sever 10.3.2 (FMW 11gR1 PS1).
The sample code requires a minor fix for 10.3.2 that I've not yet made public. Line 188 in etc/setUpDomain.py should be changed so that the password complies with the standard WebLogic rules for password complexities:
Code:
Index: etc/setUpDomain.py
===================================================================
--- etc/setUpDomain.py (revision 1367)
+++ etc/setUpDomain.py (revision 1368)
@@ -185,7 +185,7 @@
for name in ("peter", "bob", "mark", "anna"):
if not cmo.userExists(name):
- u = cmo.createUser(name, "password", "Administrator")
+ u = cmo.createUser(name, "password1", "Administrator")
cmo.addMemberToGroup(groupName, name)