Page 1 of 1

V. 11.30: remoteApp closes after about 180 seconds

Posted: Tue Aug 14, 2018 11:58 am
by captaintex
As subject: same exe, in version 10.30 runs correctly, using version 11.30 the exe in RemoteApp closes automatically after about 180 seconds, logging off the user.
We are temporarily using a batch file that runs the exe, but it's really bad to see a black window under the App's window.
The App is absolutely normal, 32bit exe running ok under any kind of Windows and under TSPlus until version 10.30.
The App is developed internally using Delphi and we have been using TSPlus since version 8 without any problem.
Other Apps runs ok.

We made tests using two identical VMs Windows Server 2012R2 64bit, same exe of the same version, one running TSPlus 10.30 the other v11.30, so we can confirm the problem under version 11.30.

What is the cause of this behaviour?

Thank you

Re: V. 11.30: remoteApp closes after about 180 seconds

Posted: Wed Aug 15, 2018 3:51 pm
by admin
Hello,

This value of 180 seconds seems to indicate that a processus is ending your software after that time. There is no settings in TSplus to change this. You should check your servers and client power settings.

Re: V. 11.30: remoteApp closes after about 180 seconds

Posted: Wed Aug 15, 2018 8:42 pm
by John
Hello,

You have 2 solutions to fix this problem:

- Simple one: Publish the Floating Panel or the Application Panel with your application.
Doing so, the session will not close and when the user will close the application he will use the TSplus "launcher" to close his session

- Easy one:

Download AutoIT
Create a small script that will start your application, then wait unitil your application is closed.
Something like

Run("c:\myapplication\mydelphi.exe")
Sleep(5000) ; to let the application start
While 1
If Not WinExists("MyApplition title", "") then ExitLoop
Wend
Exit

Compile the script with AutoIT compiler

This will do the same job as a .bat file BUT your will no see any DOS box :)

Of course, can cose such simple program with Delphi if you like to do so.

Kind regards

John