[jboss-jira] [JBoss JIRA] (AS7-3316) stanalonde.xml, xa-datasource/security, <user-name> cannot be parametrised

Vladimir Rastseluev (JIRA) jira-events at lists.jboss.org
Tue Jan 17 12:17:18 EST 2012


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

Vladimir Rastseluev commented on AS7-3316:
------------------------------------------

It is true for non XA datasources too. See test cases in https://github.com/vratsel/jboss-as/commit/520fd86f8289ade032a4e6c824c69dedd69ec943
                
> stanalonde.xml, xa-datasource/security, <user-name> cannot be parametrised
> --------------------------------------------------------------------------
>
>                 Key: AS7-3316
>                 URL: https://issues.jboss.org/browse/AS7-3316
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 7.1.0.CR1b
>            Reporter: ivan khoosty
>            Assignee: Stefano Maestri
>            Priority: Minor
>              Labels: datasource, jboss7, standalone
>
> in standalone.xml, i've got a system property declared
>     <system-properties>
>         <property name="sql.user" value="sa"/>
> ... </system-properties>
> it does not get resolved further down in datasource declaration, 
> ...
>                     <security>
>                         <user-name>${sql.user}</user-name>
> ...
>                     </security>
> interestingly, all other properties resolve no problem, ie password, server etc. 
> there is a workaround (hardcode the username value!), thus setting the bug priority to minor.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list