Depending on specific customer requirements and how the ROB-EX Scheduler system is deployed, it may be needed to further configure more advanced startup parameters of the service.

The service client for production will be running as a Windows background service and the parameters are passed through to the service startup phase through entries in the Windows registry database.

  • Edit existing service settings using the Windows Regedit tool (Run->Regedit.exe). Note this is an advanced editing tool – only proceed if you know what you are doing.
  • Search for the node HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\RobexClient_<siteId>_<X>\Parameters.
    • The <siteId> will be the name entered during installation of the service client
    • The <X> will be a number from 1 and up and is assigned during installation of the service client
  • Edit the setting in questions by double clicking on the relevant row in the Name cell. This will open an editor. See detailed overview of frequently used settings in the table below.
  • Close the editor window by clicking OK
  • Close Regedit and restart the service client using the Tray Service Manager or the Windows Services manager (Run->services.msc)

Frequently used settings

Regedit sub-folder Parameter Description
Java JvmMx Specify the maximum number of mega bytes memory the service client may grow to. The default value is 800MB but for sites with a high number of objects (Production Orders, Operations, Materials, BOM-lines), or in case log-files contains OutOfMemoryException messages, increase this value to as an example 2400MB. Note the editor for this value by default show the value as a Hex number – switch to Decimal representation for easier interpretation of the value.
Java Options Many different options are controlled through individual lines of the Multi-String Options field. Each line provided is passed as a startup parameter to the ROB-EX Scheduler client. All the different options that can supplied are discussed in more detail in the section Command Line Options. Often used parameters are mentioned below
-DRobex_language=en
Select country of client runtime language. See available countries in Selecting the runtime language.
-DRobex_country=IE
Select language/region of client runtime language. See available languages in Selecting the runtime language.
-Dscheduler.custom.dir=“directory>”
Change the default location of the custom area. Read more about the motivation for doing this in Command Line Options
Start Params These are arguments passed to the service client during startup. The most important arguments are
-site
The argument after -site contains the siteId the service client will login to after startup. To login to a different site, edit only the line containing the site id (e.g. stdSite), but leave the -site argument unedited.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment