Creating Connections to JMap Server

To start creating a new connection, click on the Create button in the JMap Server connections section and follow the required steps.

Identification

Name

Enter a name for the new connection. The name chosen must be unique.

Configuration

Connection type

Select the method used to connect to the remote server, either direct or proxy.

This option may depend on the network configuration on the remote server side.

Proxy connections use the HTTP protocol and therefore pass through firewalls easier.

The parameters to enter will depend on the type of connection selected.

Host

Enter the name or IP address of the remote server to which you wish to connect.

Server port

(Direct connection) If you are creating a direct connection, enter the port used to establish the connection towards JMap Server.

Protocol

(Proxy connection) If you are creating a proxy connection, select the HTTP or HTTPS (secure) protocol used by the connection.

Relative path

(Proxy connection) If you are creating a proxy connection, enter the relative path to reach the JMap proxy.

Proxy port

If you are creating a proxy connection, enter the port used for the HTTP or HTTPS connection.

Username

Enter the user name for the connection towards the other JMap Server. This name must have a corresponding user account.

Password

Enter the password to connect to the other JMap Server.

Advanced Parameters

Number of connections

Enter the initial size of the connections pool to determine the number of connections towards the other JMap Server that will remain open.

Maximum connections

Enter the maximum number of connections allowed for this pool.

The number entered must be equal to or above the initial number of connections. If the pool’s size must be increased, new connections will automatically be created until the maximum value is reached.

The maximum value may be deactivated in order to increase the size of the pool, if needed.

Connection timeout

The connection inactivity timeout is used to close and reopen connections that are inactive for a long period.

This mechanism ensures that the remote JMap server does not close inactive connections.

Make sure that this value is lesser than the connection timeout of your JMap server.

A default value of 2 hours is appropriate most of the time.

Connection wait timeout

The maximum wait time when opening a network connection to a remote JMap server.

This parameter is used to prevent deadlocks in situations where the remote JMap server is not responding.

Dernière mise à jour

K2 Geospatial 2024