Re: [Dev] clustering ESB: deployment of artifacts?
Hi John, On Thu, Aug 27, 2015 at 6:33 AM, John Hawkins jo...@wso2.com wrote: I also just deleted the complete svn repos (on the file system), then recreated it. I then restarted the mgr with -cleanRegistry and -Dsetup but the mgr had held onto the svn details (it complained that the svn repo revision was wrong). This isn't right is it? Shouldn't it have cleared out any memory it had of repos ? Which makes me think that maybe it's keeping hold of other info that it shouldn't ? May be this is because you still have .svn directory in ESB. When you delete svn repo, manually delete .svn directory(s) in ESB as well. Thanks, Bhathiya btw: to get the mgr talking to svn cleanly again I restarted the mgr enough times so that the created versions matched. cheers, john. John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 8:08 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: On Wed, Aug 26, 2015 at 2:44 PM, John Hawkins jo...@wso2.com wrote: I did just clear svn and restart mgr and it created -1234 in svn again. -1234 should be created. But only the directory is created? Nothing inside? John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing
Re: [Dev] clustering ESB: deployment of artifacts?
I also just deleted the complete svn repos (on the file system), then recreated it. I then restarted the mgr with -cleanRegistry and -Dsetup but the mgr had held onto the svn details (it complained that the svn repo revision was wrong). This isn't right is it? Shouldn't it have cleared out any memory it had of repos ? Which makes me think that maybe it's keeping hold of other info that it shouldn't ? btw: to get the mgr talking to svn cleanly again I restarted the mgr enough times so that the created versions matched. cheers, john. John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 8:08 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: On Wed, Aug 26, 2015 at 2:44 PM, John Hawkins jo...@wso2.com wrote: I did just clear svn and restart mgr and it created -1234 in svn again. -1234 should be created. But only the directory is created? Nothing inside? John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO
Re: [Dev] clustering ESB: deployment of artifacts?
On Wed, Aug 26, 2015 at 2:44 PM, John Hawkins jo...@wso2.com wrote: I did just clear svn and restart mgr and it created -1234 in svn again. -1234 should be created. But only the directory is created? Nothing inside? John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version
Re: [Dev] clustering ESB: deployment of artifacts?
It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:06,062] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v10 -
Re: [Dev] clustering ESB: deployment of artifacts?
I did just clear svn and restart mgr and it created -1234 in svn again. John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 7:38 PM, John Hawkins jo...@wso2.com wrote: It takes a while for the worker to join - [2015-08-26 19:29:51,574] INFO - WKABasedMembershipScheme Member joined [796fabeb-0d33-4f7a-8fed-8874ca785ebc]: /127.0.0.1:4101 John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 6:51 PM, Chanaka Fernando chana...@wso2.com wrote: Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO -
Re: [Dev] clustering ESB: deployment of artifacts?
Hi John, According to the log, I cannot find the messages related to worker nodes joining this cluster. Issue would be in the axis2.xml file. If the worker nodes joins the cluster, you can see a message like member joined. If you could verify the clustering section of the axis2.xml file, you will be able to find the root cause. On Wed, Aug 26, 2015 at 10:55 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:06,062] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v10 - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/client/modules/addressing-1.6.1-wso2v10.mar [2015-08-26 18:19:06,066] INFO - ModuleDeployer Deploying module: rampart-1.6.1-wso2v8 - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/client/modules/rampart-1.6.1-wso2v8.mar
Re: [Dev] clustering ESB: deployment of artifacts?
Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car file in the repository/deployment/server/carbonapps of the manager node. When I try to address the proxy (which is what's in the .car file) at the worker node there is nothing there i.e. I don't believe it has deployed. When I do the same on the manager node it works i.e. it has deployed and is available. There are three things that are wrong here to my mind - 1) the manager is deploying and able to server the proxy - I had assumed that the manager would not serve the proxy ? 2) Why is there nothing in svn? 3) why isn't the worker node picking anything up (I assume because there's nothing in SVN because the manager node doesn't think it's a manager ?) Where do I start to look for what's going wrong here please? I've triple checked my configurations and have no clue what to look at next. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] clustering ESB: deployment of artifacts?
Hi John, Dep-sync configs look good. If your svn server is functioning fine, this should work. Are you sure you don't see any logs related to svn, in manager node? Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:21 PM, John Hawkins jo...@wso2.com wrote: Sure - there you go - thanks ! John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 5:17 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car file in the repository/deployment/server/carbonapps of the manager node. When I try to address the proxy (which is what's in the .car file) at the worker node there is nothing there i.e. I don't believe it has deployed. When I do the same on the manager node it works i.e. it has deployed and is available. There are three things that are wrong here to my mind - 1) the manager is deploying and able to server the proxy - I had assumed that the manager would not serve the proxy ? 2) Why is there nothing in svn? 3) why isn't the worker node picking anything up (I assume because there's nothing in SVN because the manager node doesn't think it's a manager ?) Where do I start to look for what's going wrong here please? I've triple checked my configurations and have no clue what to look at next. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] clustering ESB: deployment of artifacts?
I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:06,062] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v10 - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/client/modules/addressing-1.6.1-wso2v10.mar [2015-08-26 18:19:06,066] INFO - ModuleDeployer Deploying module: rampart-1.6.1-wso2v8 - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/client/modules/rampart-1.6.1-wso2v8.mar [2015-08-26 18:19:06,070] INFO - TCPTransportSender TCP Sender started [2015-08-26 18:19:06,736] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.processor - [2015-08-26 18:19:06,744] INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.message.store - [2015-08-26 18:19:07,235] INFO - DeploymentInterceptor Deploying Axis2 service: wso2carbon-sts {super-tenant} [2015-08-26 18:19:07,297] INFO - DeploymentEngine Deploying Web service:
Re: [Dev] clustering ESB: deployment of artifacts?
Hi John, On Wed, Aug 26, 2015 at 1:25 PM, John Hawkins jo...@wso2.com wrote: I know it throws errors when I screw up the svn file name :-) So that makes me thinks it's trying to use it. And I can see that it has a '-1234' in svn I also have experienced such strange behaviors when I had started server once with wrong configurations. Can you manually remove '-1234' directory from svn and try restarting manager node? Thanks, Bhathiya - which was created by something (manager I assume). But that's all - other than that I get messages about nodes leaving and joining the cluster and the manager node getting its artifacts from its local repository. This confuses me a little - why is it using a file system for a repo - I thought that I had set up a shared registry and a remote rmdbs registry in MYSQL? Here's the rest of my stdio [2015-08-26 18:18:57,421] WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is currently being used. To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile. [2015-08-26 18:18:57,422] WARN - ValidationResultPrinter Swap Memory size (MB): 1024 of the system is below the recommended minimum size :2048 [2015-08-26 18:18:57,428] INFO - AgentHolder Agent created ! [2015-08-26 18:18:57,450] INFO - AgentDS Successfully deployed Agent Client [2015-08-26 18:18:58,859] INFO - EmbeddedRegistryService Configured Registry in 57ms [2015-08-26 18:18:58,883] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:58,998] INFO - EmbeddedRegistryService Connected to mount at sharedregistry in 0ms [2015-08-26 18:18:59,012] INFO - RegistryCoreServiceComponent Registry Mode: READ-WRITE [2015-08-26 18:18:59,486] INFO - UserStoreMgtDSComponent Carbon UserStoreMgtDSComponent activated successfully. [2015-08-26 18:19:04,336] INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined [2015-08-26 18:19:05,051] INFO - ClusterBuilder Clustering has been enabled [2015-08-26 18:19:05,054] INFO - ClusterBuilder Running in group management mode [2015-08-26 18:19:05,055] INFO - HazelcastClusteringAgent Managing group application domain:wso2.esb.domain, sub-domain:mgt using agent class org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent [2015-08-26 18:19:05,492] INFO - LandingPageWebappDeployer Deployed product landing page webapp: StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home] [2015-08-26 18:19:05,492] INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated. [2015-08-26 18:19:05,520] INFO - PassThroughHttpSSLSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,533] INFO - ClientConnFactoryBuilder HTTPS Loading Identity Keystore from : repository/resources/security/wso2carbon.jks [2015-08-26 18:19:05,536] INFO - ClientConnFactoryBuilder HTTPS Loading Trust Keystore from : repository/resources/security/client-truststore.jks [2015-08-26 18:19:05,555] INFO - PassThroughHttpSSLSender Pass-through HTTPS Sender started... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Initializing Pass-through HTTP/S Sender... [2015-08-26 18:19:05,555] INFO - PassThroughHttpSender Pass-through HTTP Sender started... [2015-08-26 18:19:05,619] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,708] INFO - DeploymentEngine Deploying Web service: Echo.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Echo.aar [2015-08-26 18:19:05,773] INFO - DeploymentInterceptor Deploying Axis2 service: echo {super-tenant} [2015-08-26 18:19:05,874] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,888] INFO - DeploymentEngine Deploying Web service: Version.aar - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/server/axis2services/Version.aar [2015-08-26 18:19:05,904] INFO - DeploymentInterceptor Deploying Axis2 service: Version {super-tenant} [2015-08-26 18:19:05,947] INFO - PassThroughHttpSSLListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:05,962] INFO - PassThroughHttpListener Initializing Pass-through HTTP/S Listener... [2015-08-26 18:19:06,062] INFO - ModuleDeployer Deploying module: addressing-1.6.1-wso2v10 - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/client/modules/addressing-1.6.1-wso2v10.mar [2015-08-26 18:19:06,066] INFO - ModuleDeployer Deploying module: rampart-1.6.1-wso2v8 - file:/API-M_Scenario/wso2esb_MANAGER_NODE-4.8.1_off7/repository/deployment/client/modules/rampart-1.6.1-wso2v8.mar [2015-08-26 18:19:06,070] INFO - TCPTransportSender TCP Sender started [2015-08-26 18:19:06,736] INFO -
Re: [Dev] clustering ESB: deployment of artifacts?
Sure - there you go - thanks ! John Hawkins Director: Solutions Architecture On Wed, Aug 26, 2015 at 5:17 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: Hi John, Can you please attach 2 carbon.xml files? There must be an issue with dep sync configurations. Thanks, Bhathiya On Wed, Aug 26, 2015 at 12:08 PM, John Hawkins jo...@wso2.com wrote: Hi Folks, I've deployed a small cluster of ESBs - one manager, two workers. And connected to SVN. However, when I deploy my .car file the only system that looks like it's doing anything is the manager (tells me it's deploying the .car file). I don't see anything in SVN. But I do see the .car file in the repository/deployment/server/carbonapps of the manager node. When I try to address the proxy (which is what's in the .car file) at the worker node there is nothing there i.e. I don't believe it has deployed. When I do the same on the manager node it works i.e. it has deployed and is available. There are three things that are wrong here to my mind - 1) the manager is deploying and able to server the proxy - I had assumed that the manager would not serve the proxy ? 2) Why is there nothing in svn? 3) why isn't the worker node picking anything up (I assume because there's nothing in SVN because the manager node doesn't think it's a manager ?) Where do I start to look for what's going wrong here please? I've triple checked my configurations and have no clue what to look at next. many thanks, John. John Hawkins Director: Solutions Architecture ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ?xml version=1.0 encoding=ISO-8859-1? !-- ~ Copyright 2005-2011 WSO2, Inc. (http://wso2.com) ~ ~ Licensed under the Apache License, Version 2.0 (the License); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an AS IS BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. -- !-- This is the main server configuration file ${carbon.home} represents the carbon.home system property. Other system properties can be specified in a similar manner. -- Server xmlns=http://wso2.org/projects/carbon/carbon.xml; !-- Product Name -- NameWSO2 Enterprise Service Bus/Name !-- machine readable unique key to identify each product -- ServerKeyESB/ServerKey !-- Product Version -- Version4.8.1/Version !-- Host name or IP address of the machine hosting this server e.g. www.wso2.org, 192.168.1.10 This is will become part of the End Point Reference of the services deployed on this server instance. -- HostNamemgt.esb.wso2.com/HostName !-- Host name to be used for the Carbon management console -- MgtHostNamemgt.esb.wso2.com/MgtHostName !-- The URL of the back end server. This is where the admin services are hosted and will be used by the clients in the front end server. This is required only for the Front-end server. This is used when seperating BE server from FE server -- ServerURLlocal:/${carbon.context}/services//ServerURL !-- ServerURLhttps://${carbon.local.ip}:${carbon.management.port}${carbon.context}/services//ServerURL -- !-- The URL of the index page. This is where the user will be redirected after signing in to the carbon server. -- !-- IndexPageURL/carbon/admin/index.jsp/IndexPageURL-- !-- For cApp deployment, we have to identify the roles that can be acted by the current server. The following property is used for that purpose. Any number of roles can be defined here. Regular expressions can be used in the role. Ex : Role.*/Role means this server can act any role -- ServerRoles RoleEnterpriseServiceBus/Role /ServerRoles !-- uncommnet this line to subscribe to a bam instance automatically -- !--BamServerURLhttps://bamhost:bamport/services//BamServerURL-- !-- The fully qualified name of the server -- Packageorg.wso2.carbon/Package !-- Webapp context root of WSO2 Carbon. -- WebContextRoot//WebContextRoot !-- In-order to