Important Note

This space contains files and text snippets that are used throughout the Scheer PAS documentation.
This content is not meant to be read independently from the rest of the documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

Oops, it seems that you need to place a table or a macro generating a table within the Table Filter macro.

The table is being loaded. Please wait for a bit ...

GroupNameExcerpt
Action Languagedeprecated_alias_macros

All macros that get information from aliases are deprecated since Builder 7.5.0. Please use the new Alias Reader instead.

Adaptercorrelation_ID

The xUML Runtime assigns a correlation ID to each adapter call. This ID is stored in header field X-Bridge-CorrelationID. Adapter calls can be identified by this ID. Also, it is logged to the transaction log.

Loggingdate_picker

When filtering the log entries of a service by date and time, you can use a date picker to select a date from/to. Click the date picker icon  next to the input fields to open the a tiny calendar to pick the dates from.

The time part will be only visible if the related log entries contain a time part in format "HH:MM:SS". In all other cases, it is not possible to select log entries by time.

Some dates within the calendar are colored to help you finding the appropriate date:

ColorMeaning
dark blue border
Today.
dark blue
The selected date.
bright blue
A weekday on which data has been logged.
light blue
A weekend day on which data has been logged.
greyA day on which no data has been logged.

Select a day, enter a time (if necessary), and click OK to apply the selected date to the search field.

Loggingdate_search

Select the date/time range you want to inspect.

  • Upon opening the logging tab, from is set to (now - 10 minutes) if there are log entries existing within this range of time. If not, from will be set to the point of time the first entries are found.  
  • An empty to field displays all log entries from the from date/time until the most recent entries.
    An empty from field triggers a search backwards until the first entries are found.
  • You can remove the time part of the to field to search until the end of the day, and of the from field to search from the beginning of the day.

Loggingls_date_filter_settings

Click View to update the displayed logging information.
As per default, for logs with a time stamp the log entries are displayed latest first in the search results. Click the tiny arrow in the table header to change the order to oldest first.

The date filter settings will be kept as long as your Browser tab is open. They will be reset to default as soon as you open the Logging tab in a new Browser tab.

If you close your Browser with the Logging tab open, and start your Browser again with restoring all recent tabs (session restore), your date filter settings will be reloaded from your previous search.

Loggingls_search_for

Insert a string or a valid regular expression to search the log entries for. Only log entries that match the expression will be displayed.
Refer to Java Regular Expressions for more information on which regular expressions you can use here.

Pressing Enter in this field triggers the search.

PStatepstate_owner

In Load Balancing context, when e.g. running multiple Bridges, you can setup persistent state services to share persistent state objects. The persistent state objects are distinguished by an owner and owner id reflecting the actual service that owns these objects.
Prerequisite is that these services share the same persistent state database, see Load Balanced Persistent State for more details.

PStatepstate_service_transfer

Transfer the service to another Bridge (e.g. by service export and re-deployment).
In this case, you also need to transfer file PersistentState.tab from the service directory (<your Bridge data directory>/<service directory>) to the new location. This file contains the actual owner ID of the service. If not present, a new owner ID will be assigned and all objects with the old owner ID will still be stalled.

PStatepstate_warning_external_attributes

Do not switch an attribute between internal and external unless you are sure that no objects of the related class are still pending in the persistent state db. The attribute contents will get lost in this case.
This behavior will be improved in future versions.

Serviceget_pid

If the service is up and running, you can see the system process id (PID) of the service. To match the PID with the Bridge service, you can also use system commands:

SystemCommand / Output
Linux
ps -efa | grep -- --instance
...  15228  ...  /opt/e2e_bridge_prog/nodejs-8.11.4/linux-64/node index.js --instance /opt/e2e_bridge_data/nodejs_NodeService
...  15265  ...  /opt/e2e_bridge_prog/nodejs-8.11.4/linux-64/node app.js --instance /opt/e2e_bridge_data/nodejs_api-test-helloworld_43
...  15853  ...  /opt/e2e_bridge_prog/j2re-11.0.2/linux-64/bin/java -jar repository.jar --instance /opt/e2e_bridge_data/java_helloworld
[...]
Windows

Run with administration privileges:

wmic process where "caption='bridgeserver.exe' or caption='node.exe' or caption='java.exe'" get processid,caption,commandLine /format:csv| findstr /C:--instance
...,bridgeserver.exe,"C:\E2E_BRIDGE_PROG\bridgeserver-2018.12\win32-64\bridgeserver.exe"  --config "C:\var\E2E_BRIDGE_DATA\server.cfg" --instance "C:\var\E2E_BRIDGE_DATA\bridge_SoapWait",17600
...,node.exe,C:\E2E_BRIDGE_PROG\nodejs-8.11.4\win32-64\node app.js "--instance C:\var\E2E_BRIDGE_DATA\nodejs_api-test-helloworld",20144

Servicehttp_headers

Runtime 2019.9 Bridge services read the following HTTP headers containing correlation information:

  • X-Transaction-ID
    This header identifies the transaction the call belongs to. You can set the transaction id manually with setTransactionID. If not set, the Runtime will generate one.
    This header will be passed through the callstack to identify all service calls that belong to a transaction.
  • X-Request-ID
    This header should identify the unique request.
  • X-Sender-Host and X-Sender-Service
    These headers should contain the sender host resp. the sender service.

These headers will be all logged to the transaction log. Having this information, you can use this for error analysis or usage metrics.

Servicehttp_headers_adapter

Runtime 2019.9 xUML service adapters add the following HTTP headers containing correlation information to the request:

  • X-Transaction-ID
    This header identifies the transaction the call belongs to. You can set the transaction id manually with setTransactionID. If not set, the Runtime will generate one.
    This header will be passed through the callstack to identify all service calls that belong to a transaction.
  • X-Request-ID
    This header identifies the unique request. The Runtime generates a unique number for each adapter call.
  • X-Sender-Host and X-Sender-Service
    These headers contain the sender host resp. the sender service. They are set by the Runtime automatically.

Transaction id and request id will be logged to the transaction log on the adapter call. Having this information, you can use this for error analysis or usage metrics.

Servicekill_service

Bridge 7.2.0 The Kill functionality will first try to regularly stop the service. When the service is still running after 10 seconds, it will forcibly terminate the service with Java Process.destroyForcibly().

Servicestop_service

Bridge 7.2.0 Clicking Stop will send  SIGTERM to the service.
Older Bridges called Java Process.destroy().

Service Preferencesautomatic_restart
Whenever the service crashes, it will restart immediately. Nevertheless, in the navigation the icon  next to the xUML service name will indicate the abnormal termination.
Service Preferencesautomatic_startup

Select this option, if you want the service to startup automatically, whenever the Bridge is started.  Only users who are member of a group, to which the role ADMIN has been assigned, are allowed to change this option.

This option can be globally disabled by the Disable Automatic Service Startup option on the node instance preferences.

When updating the BRIDGE, all deployed services (xUML, Node.js, and Java services) will be kept. However, the automatic startup option will be ignored on the very first start-up after the update.

Service Preferencesminimum_uptime

To allow the Bridge to distinct whether the service has crashed during start-up or not, specify the minimum uptime of the Node.js service in seconds.

Implications:

  • If the service crashes during the uptime period, the Bridge will assume that the service could not be started. No Automatic Restart will be applied.
  • If the service crashes after the uptime period, the Bridge will assume a crash. If option Automatic Restart is set, the Bridge will try to restart the service.
Service Preferencesowner
The group id of the user who has deployed the service. Only users who are member of a group, to which the role ADMIN has been assigned, are allowed to modify the owner of the service.
Updateservice_startup_after_update

When updating the BRIDGE, all deployed services (xUML, Node.js, and Java services) will be kept. However, the automatic startup option will be ignored on the very first start-up after the update.

  • No labels