Creating a Domain with WLST Commands
You can easily create a domain using the WLST offline command createDomain (preceded by a couple of other WLST commands, as you'll see shortly). Recall that a WLST offline command means you don't need to connect to a running WebLogic Server instance. You can also choose to modify existing WebLogic domains using WLST commands. The resulting domains would be the same as the ones you can create with the Configuration Wizard.
You can use either a domain template or an existing WebLogic domain as the source when creating a domain with WLST offline commands. The domain template is simply a JAR file that contains necessary domain configuration files, applications, domain startup scripts, and security information ...
Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.