VMware Cloud Community
Manoj_Shingare
Contributor
Contributor

How to set "session time out" for the web service running on Virtual Center Server ?

Hi,

Creating a Virtual Machine from the Existing template , takes almost 10 min. I am tracking the status of this task using TaskManager object.

Call made to service's WaitForUpdate method taking so much time that session is getting expired. So i am not able to track status of the task, becoz at the client site it is throwing 'Web Exception',

though cloning task is being excuted on server .

Could any body tell me how to configure the Session time out for web service.

For the time being , I made the changes to to server.xml file found in Tomcate folder and restarted the virtual center other services , but it is still giving same exception.

Thanks in advance for the help.

Thanks,

Manoj

0 Kudos
1 Reply
Manoj_Shingare
Contributor
Contributor

Hi All,

I found one work around for above problem. One can programatically set the connection time out valu for particular session by using TimeOut property of the VimService class's instance.

0 Kudos