com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Port Offset

Introduction of a port offset will affect all ports used by WSO2 BAM including the management console port (9443) and thrift/Secure thrift ports (7611/7711).


When using embedded Cassandra

If you are using the embedded Cassandra, which is shipped with the product, change the value of the Offset property as required in the <BAM_HOME>/repository/conf/carbon.xml file as follows: <Offset>3</Offset>

Starting with BAM 2.5.0when embedded Cassandra is used, you need to set the externalCassandra property to false in the datasources, to automatically increment the Cassandra ports with the specified offset value. For example, an offset of 3 will automatically cause the Cassandra node bundled with the BAM server, to listen on port 9163. 

When using external Cassandra

If you are using an external Cassandra, change the following configurations.

  1.  Change the value of the Offset property as required in the <BAM_HOME>/repository/conf/carbon.xml file as follows: <Offset>3</Offset>
  2. Set the externalCassandra property to true within the configuration element in all the datasources with the type Cassandra, which are defined in <PRODUCT_HOME>/repository/conf/bam-datasources.xmlfile. For more information on these datasources, see Datasources 

    When using external Cassandra node(s) while the BAM port has been offset, the externalCassandra property must be set to true, to ensure that the port offset is not automatically applied to the Cassandra server connection parameters.

  3. Replace the property values of the datasource configurations (hosts, port,username,password etc.) defined in the datasources of the <BAM_HOME>/repository/conf/bam-datasources.xml file with the type as Cassandrawith the values of the external Cassandra connection accordingly.
  4. Set the externalCassandra property to true and replace the same property values (hosts and port) in the <BAM_HOME>/repository/conf/etc/hector-config.xml file. 
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.