NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on March 07, 2015, 07:29:54 AM

Title: Thread Pool not displaying some procedures
Post by: terryd on March 07, 2015, 07:29:54 AM
Windows8.1Professional
Clarion9.1.11529 Nettalk8.39 StringTheory215 Winevent3.94
I have developed/hijacked from examples etc. certain procedures so that if I use self service I can still access the information normally displaying on the webserver window (i.e performance call logs and settings)
I tested a system using the threadpool system and I find that they are sometimes not displaying
I have modified the web3 example.
I added winevent
I added a performance window
I created ThreadPoolWindow procedure with the threadpool extension pointing to the webhandler with the prototype as in the documentation
I added ThreadPoolWindow to the webserver performance window and set the max pools to 10
The attached app and dct reflects this position
Compile and run
Login
Select Settings\Runtime settings and click the save button
Select Performance\Performance - no result

If you then clear from the webserver performance tab the threadpoolwindow field and the max pools field and recompile and repeat the above the performance form will display.


[attachment deleted by admin]
Title: Re: Thread Pool not displaying some procedures
Post by: Bruce on March 08, 2015, 11:23:48 PM
Morning Terry,

BTW - Do you remember which app you lifted the Performance form from? If indeed you got it from an example. I've added it to one of the examples but I can't remember which one.

On to the problem;

a) The performance window is set as "user must be logged in" and the menu link is set as "open as popup".

when the menu is created the DIV for the popup is not created (because you are not logged in). So after the login you need to refresh the main page (ie the menu) in order for the form to be available.

Cheers
Bruce


Title: Re: Thread Pool not displaying some procedures
Post by: terryd on March 09, 2015, 05:21:14 AM
Hi Bruce
Thanks
I think it was from the Multisite\host application
Title: Re: Thread Pool not displaying some procedures
Post by: Bruce on March 09, 2015, 06:34:56 AM
it was! thanks!