[jboss-jira] [JBoss JIRA] (WFLY-9439) Datasources are registered as singletons

Brian Stansberry (JIRA) issues at jboss.org
Mon Oct 16 11:57:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-9439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477656#comment-13477656 ] 

Brian Stansberry commented on WFLY-9439:
----------------------------------------

That's unfortunately the way it works. Very early one we made the mistake of not coming up with some unambiguous way to distinguish the '*' in non-singleton resource type name from the '*' used in wildcard read ops, where it means show me all addresses that match this pattern. The result is the '*' is treated as meaning "show me all addresses that match this pattern".

> Datasources are registered as singletons
> ----------------------------------------
>
>                 Key: WFLY-9439
>                 URL: https://issues.jboss.org/browse/WFLY-9439
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA
>            Reporter: Michal Petrov
>            Assignee: Stefano Maestri
>
> {code}
> /subsystem=datasources:read-children-types(include-singletons)
> {code}
> returns this
> {code}
> {
>     "outcome" => "success",
>     "result" => [
>         "data-source",
>         "data-source=ExampleDS",
>         "jdbc-driver",
>         "xa-data-source"
>     ]
> }
> {code}
> This happens for any (xa-)data-source, not just the default one.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list