Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • How to get the Datasource test connection status using http api

    Posted on

    Hi,
    I like to check if the respective database connection is successful for the datasource using http management api. I was not getting the expected output, can some one help me here ?

    http://MANAGEMENT_HOST:PORT/management/host/MYHOST/server/MYSERVER/datasources/xa-data-source/MYDATASOURCE/operation=test-connection-in-pool

    {"outcome": "failed", "result": null, "failure-description": "WFLYCTL0216: Management resource '[\n (\"subsystem\" => \"datasources\"),\n (\"xa-data-source\" => \"MYDATASOURCE:operation=test-connection-in-pool\")\n]' not found", "rolled-back": true}

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.