Skip to main content

Platform & Administration
Platform & Administration
4 followers
0 questions
5 posts

Do you have questions about Platform & Administration?

Log in to ask questions about Platform & Administration publicly or anonymously.

Benoit BrugiereSemarchy Team
Director, Product Management at Semarchy

How to fine-tune JAVA memory options

This article explains how you can find your current JAVA memory configuration and what are the recommended settings.

Find your current settings

The quickest way to check your current configuration is using the option “System Information” in the xDM Application Builder:

A pop-up will display the configuration from your application server, search for the section Runtime Information:

Recommended settings

1. Determine how to set CATALINA_OPTS or JAVA_OPTS in your environment.

  • In VMs and AMIs provided by Semarchy on Azure and AWS Marketplace, this is done in the file /etc/default/tomcat8
  • In “Semarchy xDM - Preconfigured with Apache Tomcat” JAVA_OPTS... (More)
Benoit BrugiereSemarchy Team
Director, Product Management at Semarchy

How to remove invalid tasks from the Inbox?

During the development phase of your project, you will often modify your steppers, workflows, or duplicate managers to meet your business requirements.

When you modify these elements, any running tasks using them may become invalid and unusable.

An invalid task in the Inbox means that, even if you click on Resume or Discard, there is no action performed, and the item remains in the Inbox with no way of removing it via the application.

Instructions

1. Identify the stepper, workflow, or duplicate management operation by running any of these queries as appropriate:

SELECT * FROM SEMARCHY_REPOSITORY.MTA_INTEG_LOAD WHERE STEPPER_NAME = 'MyStepper'... (More)
Benoit BrugiereSemarchy Team
Director, Product Management at Semarchy

Where to find and export the Semarchy xDM error log?

The Error Log provides lots of details (ERRORs, WARNings, INFOrmation) about what's going on in Semarchy xDM. It is also called PDE Log (Plug-in Development Environment, because the Semarchy xDM Application Builder is based on Eclipse RAP).

It's an invaluable troubleshooting tool, and the Semarchy support team will often ask you to attach it to a support ticket.

Open

  1. Open the Application Builder
  2. Menu: <Username> -> Error Log

Export

Click the button Export Log in this view and download the log export.

Alternatively, for users with access to the application server, you can find it as a... (More)

Cedric BlancSemarchy Team
Director, Product Management at Semarchy

How to manage the xDM platform with REST and Powershell

Since Semarchy xDM v5, web services (REST API) are available to manage the Semarchy xDM platform.

This article gives you some Powershell commands that you can use to write your own commands and manage your platform. Alternatively, you can create your requests in a REST client such as Postman.

Common commands - authentication parameters

Before calling any service, always run the following commands:


#connection to xDM using basic authentification
$user = "semadmin"
$pass = "semadmin"
$pair = "$($user):$($pass)"
$encodedCreds = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes($pair))
$basicAuthValue = "Basic $encodedCreds"
$header = @{Authorization = $basicAuthValue}
$host = "localhost"
$port = "8088"
$base_url = "http://$($host):$($port)"... (More)