How to cancel request without log in into TIBCO Data Virtualization Studio?

How to cancel request without log in into TIBCO Data Virtualization Studio?

book

Article ID: KB0071071

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All Supported Versions

Description

Due to heavy loads, sometimes the TIBCO Data Virtualization Studio sticks and freezes. In such scenarios, we are not able to cancel those requests because we were not able to log in to the server. In this article, we will see how we can cancel any request without logging in to the TIBCO Data Virtualization Server.

Environment

All Supported Environments

Resolution

To cancel any request, the user can use the below curl command. 
 
curl -X POST -u admin:<password> "http://localhost:<PORT>/rest/execute/v1/actions/cancel/invoke" -H "accept: */*" -H "Content-Type: application/json" -d "[\"<Request ID>\"]"


For example, if the Request ID is 12345:

curl -X POST -u admin:tdvadmin "http://localhost:10400/rest/execute/v1/actions/cancel/invoke" -H "accept: */*" -H "Content-Type: application/json" -d "[\"12345\"]"

Successful execution will result in 200 response, and the request status will be "TERMINATED" in the request panel.

Please note that this method cannot cancel a procedure request in TIBCO Data Virtualization. This can only cancel SQL requests.

Note: To get the request list or request ID without login into the TIBCO Data Virtualization Server then refer this article: https://support.tibco.com/s/article/000052154

Issue/Introduction

This article summarizes on how to cancel request in without log in into TIBCO Data Virtualization Studio.