Complete the steps under Creating a New Java CAPS Domain.
Open the file appserver/addons/caps/install.properties in a text editor (where appserver is the home directory for the Java CAPS GlassFish server installation).
Modify the properties in the file to match the properties of the new domain.
You will likely need to change the following properties:
caps.domain.name.
caps.admin.port. This is typically your base port plus 48. You can look the value up in domains/DomainName/config/domain.xml. It is the port number for the admin-listener.
caps.admin.user, if you changed the default administrator user name.
AS_ADMIN_PASSWORD and AS_ADMIN_MASTERPASSWORD, if you changed the default passwords.
In addition, you need to enable the UDDI installation if you require UDDI support, and enable the STCMS installation and specify an operating system if you required STCMS support.
From a command line, navigate to the appserver/bin directory.
Run the following command:
asant -f ../addons/caps/install.xml
Restart the domain.
Continue to Installing Java CAPS JBI Components on a New Domain.