Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Since 2014.02 a Delft-FEWS.exe, Delft-FEWSc.exe and Delft-FEWS.ini are provided in the Delft-FEWS bin dir. Delft-FEWSc.exe is a console version of Delft-FEWS.exe and is only recommended when a console is required. The Delft-FEWS.exe can be renamed to a more suitable executable name, e.g. MyRegion_SA.exe (Stand alone), MyRegion_OC.exe (Operator Client), MyRegion_DDA.exe (Direct Database Access) or MyRegion_CM.exe (ConfigManager) depending on your needs. The executable needs to have a file with the same base name with the .ini extension, e.g. MyRegion_SA.ini, MyRegion_OC.ini, MyRegion_DDA.ini or MyRegion_CM.ini. You can use the sample Delft-FEWS.ini provided in the bin directory as a starting point. Below you will find a description of the entries that can be specified in the .ini file. JVM arguments are all specified in ascending order without gaps, i.e. vmarg.1, vmarg.2, .., vmarg.n. Similarly, command-line arguments are all specified in a numbered fashion such as arg.1, arg.2, .., arg.n. For specifying where to find the region home directory you will need to specify arg.1=<region_home>.

...

vm.location=../jre/bin/client/jvm.dll

The location of the jvm.dll (from the Java JRE)

#JVM arguments -X and -D are added as vmarg.
vmarg.1=-Xms512mInitial amount of memory available for FEWS

vmarg.2=-Xmx1024m

Amount of memory available for FEWS

classpath.1=*.jar

all the jars in the Delft-FEWS bin dir forming the classpath

main.class=nl.wldelft.fews.gui.explorer.Application

 Main class.

  • for the config manager use

main.class=nl.wldelft.fews.configmanagement.ConfigManagementApplication

  • for the launcher use

main.class=nl.wldelft.fews.launcher.Launcher

 

working.directory=.

Location of the Delft-FEWS bin dir

arg.1=../Anglian_SA

Path to the folder containing the configuration. Note that when the tag $USER_HOME$ is part of the foldername, it will be resolved by Delft-FEWS to the user.home directory.

*If wanting to use the config manager use line: main.class=nl.wldelft.fews.configmanagement.ConfigManagementApplication or for the launcher use main.class=nl.wldelft.fews.launcher.Launcher

...

How to add JAVA runtime options to the .ini file

...

vmarg.3=-XX:MaxPermSize=128m

Set PermSize (default 64m, which is sometimes too low and results into PermSize errors)

vmarg.4=-Dsun.java2d.noddraw=true

turns on/off all usage of Direct3D

vmarg.5=-Djava.net.useSystemProxies=true

Use the LAN system proxy settings (default FALSE)

vmarg.6=-DautoRollingBarrel=false

switch on/off the rolling barrel (default TRUE) in the OC

 

Notice that JAVA system properties should be defined after the -D keyword. JVM arguments are all specified in ascending order without gaps, e.g.

Info

vmarg.1=-XX:MaxPermSize=128m

vmarg.2=-Dsun.java2d.noddraw=true

vmarg.3=-DautoRollingBarrel=false

 

Before 2014.02  configure a jpif file.

...