DataSource Deployer only undeploy the last <datasource> definition
Deploying the default jdbc-ds.xml result in the following traces: {noformat} 2011-06-29 15:19:53,216 : DatasourceDeployer.deployDatasource : Deploying datasource DatasourceDeployableImpl[archive=/home/sauthieg/jonasbases/jb.5.3/deploy/jdbc-ds.xml] 2011-06-29 15:19:53,339 : RARDeployer.doDeploy : Deploying ds-jdbc_1-3646707174187580530.rar 2011-06-29 15:19:53,641 : RARDeployer.doDeploy : Deploying ds-jdbc_xa1-1161570097286805930.rar 2011-06-29 15:19:53,749 : RARDeployer.doDeploy : Deploying ds-jdbc_xa2-114368718368520668.rar {noformat}
Three DataSource have been deployed. Now when removing the file, we only see this: {noformat} 2011-06-29 15:20:04,105 : DatasourceDeployer.undeployDatasource : Undeploying DatasourceDeployableImpl[archive=/home/sauthieg/jonasbases/jb.5.3/deploy/jdbc-ds.xml] 2011-06-29 15:20:04,106 : RARDeployer.doUndeploy : Undeploying ds-jdbc_xa2-114368718368520668.rar {noformat}