[jboss-jira] [JBoss JIRA] (AS7-3192) Property expansion stopped working in datasource connection-url
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 10:53:49 EST 2012
[ https://issues.jboss.org/browse/AS7-3192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesper Pedersen resolved AS7-3192.
----------------------------------
Assignee: Stefano Maestri
Fix Version/s: 7.1.0.Final
Resolution: Done
> Property expansion stopped working in datasource connection-url
> ---------------------------------------------------------------
>
> Key: AS7-3192
> URL: https://issues.jboss.org/browse/AS7-3192
> Project: Application Server 7
> Issue Type: Bug
> Components: JCA
> Affects Versions: 7.1.0.CR1b
> Reporter: Stian Thorgersen
> Assignee: Stefano Maestri
> Fix For: 7.1.0.Final
>
>
> On 7.0.2.Final it was possible to use property expansion in the datasource connection-url, which is very useful for example when using embedded Apache Derby to specify that it should store the db in AS7's data directory.
> The following worked fine on 7.0.2.Final, but stopped working in 7.1.0.CR1b (not tested on other 7.1.0.X versions):
> {code}
> <connection-url>jdbc:derby:${jboss.server.data.dir}/mydb;create=true</connection-url>
> {code}
> Without property expansion, and with property expansion not available for system-properties either (see AS7-2579) it is rather difficult to make sure the db for an embedded database is saved within the AS7 data directory.
--
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