

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
on a SM 9.41 system (9.41 app, 9.41p1 web, 9.41p1 server) after I login to a web client, there is a constant 'ping' to the server like every 15 seconds. Customer network admins are not happy about this, they think it should not happen or at least not so often. What is this and how can it be modified?
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
These are Service Manager heartbeats.
a) responsible for displaying Service Manager (SM) server messages that have been retrieved by the Web client to the user (e.g. 'ticket 123456 has been updated')b) simulates activity between browser and Web Client so as not to prematurely timeout the user based on the web.xml <session-timeout> value. It is a common misconception that users will be timed out based on whatever the value of <session-timeout> in web.xml is. This is not true because the heartbeat simulates activity that prevents web.xml's <session-timeout> executing.
| | |
|<----------- hb 1 ---------- >|<--------- hb 2 ---------------->|
| | |
browser Web Client SM
topaz.js web.xml (refreshMessages/interval) sessiontimeout
tpzRefresh() web.xml (<session-timeout>) inactivity timer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
In the Web Client in the web.xml file you have a refresh message interval setup to 15 seconds
<!-- Number of milliseconds between message refresh check -->
<param-name>refreshMessagesInterval</param-name>
<param-value>15000</param-value>
</init-param>
Please try to setup to another value and restart the Web Client to check if the new value is take in account.
Best Regards
LPP
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Yes, you can change the heartbeat interval - and by this the interval for on screen message.
Looking at it from user's perspective: Often even 15 seconds is a long time to wait for an message - I'm already one click ahead.
So I think it is required to balance requirements here: So what exactly is the concern of the admin regarding a short periodic message every 15 seconds?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Antz,
This looks like heartbeatinterval which has default value of 15sec. You can check the sm.ini file for parameter heartbeatinterval, this param controls the client heartbeat frequency. If the server does not receive a heartbeat from the client within the time-out limit as defined by the sessiontimeout parameter, the server terminates the client. All unsaved data is lost and the client must establish a new connection. Pease check online help to get more information.
Hope this helps,
Rama


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thank you, it looks like this is the cause (refreshMessagesInterval).
What messages is this trying to refresh from the server? The ToDo queue, the ToDo alerts or something else?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
All messages that need to be displayed to the end user in the web client.
Best Regards
LPP
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Can you give me an example?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello,
An internal is waiting or Interaction record updated when you do a save in an intercation or anything like that.
Best Regards
LPP
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
when you do a save in an intercation
Doing a save the message is coming instantly not in 15 seconds or more with the adjusted setting.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
These are Service Manager heartbeats.
a) responsible for displaying Service Manager (SM) server messages that have been retrieved by the Web client to the user (e.g. 'ticket 123456 has been updated')b) simulates activity between browser and Web Client so as not to prematurely timeout the user based on the web.xml <session-timeout> value. It is a common misconception that users will be timed out based on whatever the value of <session-timeout> in web.xml is. This is not true because the heartbeat simulates activity that prevents web.xml's <session-timeout> executing.
| | |
|<----------- hb 1 ---------- >|<--------- hb 2 ---------------->|
| | |
browser Web Client SM
topaz.js web.xml (refreshMessages/interval) sessiontimeout
tpzRefresh() web.xml (<session-timeout>) inactivity timer


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Here is a support article that explains this, in SM terms we call this a heartbeat.
There is a heartbeat between the browser and web tier and the SM application server, to confirm that a session still exists, is active, and can kill the web tier session when the user closes their browser. It can also disconnect users and kill the web tier session if timeouts or other administrative activities close their session. This conserves resources and licenses.
Hope that helps!
Malcolm