...
Using carbon.xml file to set theĀ ServerRole property
Find Change the ServerRoles element in <PRODUCT_HOME>/repository/conf/carbon.xml
file . For example,as follows:
Code Block |
---|
<ServerRoles> <Role>DataServicesServer</Role> </ServerRoles> |
...
Code Block |
---|
<ServerRoles> <Role>appserver1</Role> <Role>dataservices1</Role> </ServerRoles> |
Before In the above example, before setting the abovetwo ServerRole properties, ensure that the current server has capability to deploy both Axis2 services and data services. When you deploy a C-App artifact on this server, all artifacts which that have the above two server roles will be deployed on the current instance. Others will be are ignored.
Using a system property to set theĀ ServerRole property
...