Prev | Next |
Services
Enterprise Architect provides two services to facilitate remote script execution and remote debugging. The services primarily support Enterprise Architect running on Linux to allow users to run native Linux shell scripts and debug Linux programs. The Satellite service supports Analyzer Scripts while the Agent service supports debugging.
Access
Ribbon |
Execute > Run > Services Code > Configure > Services |
The Satellite Service
The Satellite service is responsible for executing Analyzer Scripts on the machine on which it is running. The feature can help Linux users to execute native Linux programs and shell commands directly, bypassing Wine. The service can be managed from the ribbon. It can also be run independently from a terminal.
The Linux Shell
The default shell used by Enterprise Architect is 'bash'. To override the Linux Shell used by Enterprise Architect, open a Linux terminal, run 'wine regedit ' and add a string value to this registry key:
HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\Options
where:
- key name: "LINUX"
- key value: path
and path is the Linux path to the shell program "/bin/bash", for example.
Permissions
Under Linux you must check that the service programs have the appropriate permissions. The programs are located under the Enterprise Architect installation folder. The sub directory "VEA/x86/linux". Check that each of the programs in this directory has the execute permission set for the owner.
Notes
The Agent Service
The Agent service is responsible for managing debugging sessions for Enterprise Architect's GDB debugger. The service allows Enterprise Architect users to debug Linux programs. The service can be managed from the ribbon. It can also be run independently from a terminal.
The Services Menu
Start Satellite Service |
Starts the service. The service listens on the Satellite port configured in any Analyzer Script Services Page. |
Stop Satellite Service |
Stops the service. |
Test Satellite Service |
Tests whether the service is running or not. |
Start Agent Service |
Starts the service. The service listens on the Agent port configured in an Analyzer Script Services Page. |
Stop Agent Service |
Stops the service. |
Test Agent Service |
Tests whether the service is running or not. |