Connection dialog

 

Connection dialog provides an interface for calling and running 4GL applications with Lycia DC.

Connection dialog box allows the operator to enter the connection parameters for the server host name, instance and application file name. There is also an Authentication tab which is used for the same purpose.

 

 

The Server Host Name field should contain the host name, e.g. localhost:9090

 

The Instance stands for the service port or service name which can be found in the listener.xml file to which the configuration of GUI Server Instances are stored.

By default, it can be found following the next path C:\Program Files\Querix\AppServer\listener.xml

 

Here is the example of listener.xml content:

 

<xml>

  <service>

    <name>default-1889</name>

    <port>1889</port>

    <applicationdir>C:\ProgramData\Querix\Lycia 6\progs</applicationdir>

    <logdir>C:\ProgramData\Querix\Lycia 6\logs</logdir>

    <envfile>C:\ProgramData\Querix\Lycia 6\etc\inet.env</envfile>

    <authmode>none</authmode>

    <auth_module>modauthnt.dll</auth_module>

    <logging>true</logging>

    <description>Default no authentication listener</description>

    <accessfilter>C:\Program Files (x86)\Querix\AppServer\filterip.xml</accessfilter>

    <enabled>true</enabled>

    <toolset>lycia2</toolset>

  </service>

</xml>


The Command field may contain either the name of the executable 4GL file, or the relative path, if the program file is in a subfolder on an application server. The specified value here can be followed by the -d <db-name> argument or any custom argument needed.

 

Here are some examples of the Command field content:

 

Make certain to separate the name of the application and all the arguments by spaces as shown in the examples above.