ID #1025

Unable to connect to service from server via CMS (FWM 01006)

For logging on to a BOXI cluster, also know as @clustername,  you need to have the clusters.properties file located on the webserver. By default this file is not there and needs to be created with e.g. notepad. The contents of the file is like below:

cms.clusters=@cluster1, @cluster2, @cluster3
cms.clusters.cluster1=server1.internaldomain.local:6400
cms.clusters.cluster2=server2.internaldomain.local:6400, server3.internaldomain.local:6400
cms.clusters.cluster3=server4.internaldomain.local:6400, server5.internaldomain.local:6400

 

 

 

Save the file to ..\PlatformServices1.ear\PlatformServices.war\WEB-INF\classes directory on your webserver. 

For JAVA webservers like Tomcat and Websphere you can also use the standard web.xml file, located at ..\PlatformServices1.ear\PlatformServices.war\WEB-INF, instead of the clusters.properties file. The clustering section of the file is like below:

<context-param>
    <param-name>cms.clusters</param-name>
    <param-value>@cluster1, @cluster2, @cluster3</param-value>
</context-param>

<context-param>
    <param-name>cms.clusters.cluster1</param-name>
    <param-value>server1.internaldomain.local:6400</param-value>
</context-param>

<context-param>
    <param-name>cms.clusters.cluster2</param-name>
    <param-value>server2.internaldomain.local:6400, server3.internaldomain.local:6400</param-value>
</context-param>


<context-param>
    <param-name>cms.clusters.cluster3</param-name>
    <param-value>server4.internaldomain.local:6400, server5.internaldomain.local:6400</param-value>
</context-param>

 

 

 

 

 

 

 

 

 

 

 

  • Sometimes the clusters.properties file is not recognized, forcing you to use the web.xml file and vice-versa.
  • According to SAP, Lifecycle Manager (LCM), doesn't use a web.xml or clusters.properties for the clustering information. However logging on to a @cluster seems to work without any problems. In case it isn't working like the screenshot below. To get this working first logon to one of the servers which are member of the preferred cluster. E.g. enter server1.internaldomain.local:6400 in the System field in case you want to logon to @cluster1. The webserver than caches all the members of that @cluster in memory where after you are able to logon to the @cluster1. Unfortunately these cached servers are removed after each webserver restart!

FWM01006

Tags: clusters.properties, CMS, cms.clusters, connect, from server, FWM 01006, LCM, Lifecycle Manager, PlatformServices1.earPlatformServices.warWEB-INF, service, web.xml, webserver

Related entries:

You can comment this FAQ