Skip to main content

Troubleshooting and additional configuration

If you need to do further configurations or are experiencing problems, please refer to the information below.

Ports and firewalls

Verify ports are open (by default TCP 45500 2036 and 45500)45543).

Check that firewall is open on server host for the ports:

image.png

If you need to change the ports of the AVIX server, do the following:

  • Stop the Windows service
  • Open the "configuration/se.solme.avix.prefs" file of the AVIX server
  • Under the preference section for [se.solme.avix.server.cdo], you can specify the following port (to another value than default being 2036):
    • cdo.server.tcp.ports=2050
  • Under the preference section for [se.solme.avix.server], you can specify the following port (to another value than default being 45500):
    • http.server.tcp.port=45510
  • Start the Windows service


JVM memory assignment

When the server application is installed as a Windows service, the memory allocated to the application by default is stated in the install script (commons-daemon\register_service.bat). The following lines are the instructions to the JVM, the "Java Virtual Machine", found in the install script. The relevant setting is indicated in bold font:

LogPath=%CURRENT_DIR%\logs\^ ++JvmOptions=-Xms256m^ ++JvmOptions=-Xmx16384m^ ++JvmOptions=-XX:SoftRefLRUPolicyMSPerMB=8000^ ++JvmOptions=-Dosgi.configuration.area=%CURRENT_DIR%\configuration\^ ++JvmOptions=-Dosgi.install.area=%CURRENT_DIR%\ commons-daemon\prunsrv.exe //ES/SolmeAviXServer

The "xmx" memory assignment can be changed in two ways: Either by re-installation of the service (edit the "register_service.bat" file, and set the desired value), or by changing a registry value for the installed service. 

The latter is most likely what you want, and it can be done by two methods. Regardless of which method you choose, you should first stop the service.

Method 1 - Using the Registry Editor directly

image-1645697535832.png

The node is found in the Windows Registry Editor under: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\SolmeAviXServer\Parameters\Java


Method 2 - Using the "service manager" executable

An easiereasy way to achievechange the sameJVM registry changesettings is to run the service manager”manager” executable. It is found here:  commons-daemon\SolmeAviXServer.exe. Run it, and look on the Java tab:

image-1645697720000.png

Method 2 - Using the Registry Editor directly


image-1645697535832.png

It is also possible to achive this by changing in the registry directly. The node is found in the Windows Registry Editor under: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\SolmeAviXServer\Parameters\Java

Regardless which method you are using, assign the amount of xmx memory that you see fit. Example values: 16384m, 8192m, 4096m, 2048m (a judgement can be made, based on the amount of physical RAM the machine has).

Remember to restart the server service, when you have changed the xmx registry setting of the service.