NetTalk Central

Author Topic: Thread Pool not displaying some procedures  (Read 3622 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Thread Pool not displaying some procedures
« 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]
« Last Edit: March 08, 2015, 12:14:30 AM by terryd »
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Thread Pool not displaying some procedures
« Reply #1 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



terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Thread Pool not displaying some procedures
« Reply #2 on: March 09, 2015, 05:21:14 AM »
Hi Bruce
Thanks
I think it was from the Multisite\host application
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Thread Pool not displaying some procedures
« Reply #3 on: March 09, 2015, 06:34:56 AM »
it was! thanks!