Skip to main content
1-Visitor
May 7, 2022
Question

connection server start/stop

  • May 7, 2022
  • 1 reply
  • 2671 views

Hi,

As per the connection server documentation, it's asking to set few environment variables from command prompt and run the connection server. This is working but when I close the cmd window, server also getting stopped. How to keep these variables in normal environment variables and keep the server up and running all the time? Also, what are the options available to start/stop the connection server? I am using version 9.2 of connection server.

1 reply

17-Peridot
May 9, 2022

Hello @K_10079185,

When you define an environment variable in a command shell, that value is present only as long as the command shell is active. Along the same lines if you start a service from the command shell it is terminated when the shell exits. 

 

If you define the environment variables as system environment and if you start the server as a service then it will continue.

 

Both of these actions can be done in a Linux or Windows environment. 

1-Visitor
May 10, 2022

Hi @PEHOWE,

Thanks for your response. That's where the confusion is as we need to add array of Key value pairs to one environment variable. How to add them and how to run connection server from services? Do we have any service for that already available? Can you please give some example for this as there might be lot of scenarios where connection servers are running as expected but I don't see proper steps to make it happen on my side.

17-Peridot
May 10, 2022

Hello @VK_10079185

Can you provide a specific detail or error you are getting returned.