The Java CAPS runtime is installed with a complete Java CAPS installation. During this installation domain1 is automatically created with a runtime. However, if you create a second domain, such as domain2, this domain does not have a runtime. You need to install the runtime for this domain.
To set the properties for the new domain, edit the install.properties file or specify the settings on the command line. The install.properties file is located in JavaCAPS6\appserver\addons\caps.
If, after installing the runtime add-on scripts on a domain, you run the runtime add-on scripts on this domain a second time it is going to fail.