Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-2028

Error when Viewing properties of datasource created by "-ds.xml" file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.7.15.Final
    • 3.7.14.Final
    • None
    • None

      I have a small EAR deployment containing a "mariadb-ds.xml" that defines a datasource for the deployment.

      When clicking the datasource in the details view of my deployment, it reports two errors:

      "Error while reading metadata." with details "Missing metadata: [MetadataContext] @ deployment=KuchenSimple.ear/subdeployment=KuchenSimpleEJB.jar/subsystem=datasources/data-source=*"

      And:

      "Unable to execute last operation" with detail message "Error: java.lang.IllegalArgumentException"

      Screenshot: see "hal_error.png"

      I don't see any log that would provide full stacktraces. Is it possible to enable logging?

      To reproduce:

      1. deploy attached sample application "KuchenSimple.ear"
      2. open HAL

       

      The sample contains a file "mariadb-ds.xml" (which actually points to a H2 database so that no additional setup is required).

              mpetrov@redhat.com Michal Petrov
              wolfgangknauf Wolfgang Knauf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: