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

Compare with Current View Page History

« Previous Version 14 Next »



Launching Delft-FEWS

Depending on the local installation Delft-Fews can be started using the Application Launcher or by using an executable program located in the Delft-Fews binary directory (usually a link/shortcut will have been set up). On Linux systems Delft-Fews is started using a shell script. When using the Application Launcher a user must select a profile and enter the required password at startup.

There are four profiles with each of them its own password:

  • Viewer
  • Forecaster
  • Configuration Manager
  • System Manager

The Viewer profile is the most restricted profile, a user with this profile can only launch the FEWS Webserver. The System Manager Profile, on the other hand, has all the rights to launch Stand Alone and Operator Clients, launch the Configuration Manager and use the Admin Interface. Depending on the configuration of FEWS all or some profiles may be present.

A screen dump of the FEWS Application Launcher for the National Flood Forecasting System for England & Wales is presented as an example below.

Launching Delft-FEWS (2018.02 and higher)


Launcher configuration example
<?xml version="1.0" encoding="UTF-8"?>
<!--WIS Application Launcher -->
<launcher xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/launcher.xsd">
   <!--Title of the launcher window-->
   <title>Launcher Test</title>

   <!--Do not change the action ID, the launcher relies on an exact match.-->
   <action id="ViewReports">
      <webPage name="Rapporten Midlands" appPath="C:\Program Files\Internet Explorer\iexplore.exe" arg="http://146.213.31.101/MC00_Reports"/>
   </action>

   <!--Do not change the action ID, the launcher relies on an exact match.-->
   <action id="LaunchFewsClient">
      <!--Optional field. Configure the text on the button.-->
      <buttonText>Start FEWS</buttonText>
      <!--Optional field. Configure the text over the selection.-->
      <description>Launch FEWS for Clients</description>
      <executable>
         <!--Path to the FEWS executable file. Has to be an absolute path.-->
         <appPath>D:\fews\bin\windows\Delft-FEWS.exe</appPath>
         <region>Hogwats</region>
         <operationMode>StandAlone</operationMode>
         <arguments>
            <!--Any number of arguments can be configured. Region needs has to be configured. Use absolute path. All arguments should start with -D -->
            <argument>-Dregion.home=D:\fews\Hogwarts</argument>
            <argument>-DautoRollingBarrel=false</argument>
         </arguments>
      </executable>
	  <!--You can configure several regions.-->
      <executable>
         <appPath>D:\fews\FEWS-20434\fews-stable-201802-82884-bin\windows\Delft-FEWS.exe</appPath>
         <region>Mines of Moria</region>
         <operationMode>OnLine</operationMode>
         <arguments>
            <argument>-Dregion.home=D:\fews\Moria</argument>
            <argument>-DautoRollingBarrel=false</argument>
         </arguments>
      </executable>
   </action>

   <!--Do not change the action ID, the launcher relies on an exact match.-->
   <action id="LaunchConfigManager">
      <buttonText>Manage configurations</buttonText>
      <description>Configuration manager</description>
      <executable>
         <appPath>D:\fews\bin\windows\Delft-FEWS.exe</appPath>
         <region>Hogwats</region>
         <operationMode>StandAlone</operationMode>
         <arguments>
            <!--Configure region home-->
            <argument>Dregion.home=\Config Manager</argument>             
            <argument>-D<configure database URL here></argument>
         </arguments>
      </executable>
      <executable>
         <appPath>D:\fews\FEWS-20434\fews-stable-201802-82884-bin\windows\Delft-FEWS.exe</appPath>
         <region>Mines of Moria</region>
         <operationMode>OnLine</operationMode>
         <arguments>
            <argument>-Dregion.home=D:\fews\Moria</argument>
            <argument>-DautoRollingBarrel=false</argument>
         </arguments>
      </executable>
   </action>


   <!--Do not change the action ID, the launcher relies on an exact match.-->
   <action id="LaunchAdminInterface">
      <description>Inspect Reports</description>
      <webPage name="Hogwarts" appPath="C:\Program Files\Internet Explorer\iexplore.exe" arg="http://fewsappsvr01:8081/manager/html"/>
   </action>

</launcher>



4 different actions can be configured:

  • ViewReports
  • LaunchFewsClient
  • LaunchConfigManager
  • LaunchAdminInterface

The ids of the 4 actiuns must match exactly.  All paths configured need to be absolute paths, not relative. 

Within the action tags you can choose from 3 otiopns for the configuration. Use webPage for ViewReports and LaunchAdminInterface. Use executable for LaunchFewsClient and LaunchConfigManager. The third choice, javaApp is no longer supported since 2018.02.


  • No labels