I found the problem.
It is related with the BasicUserCredentialsDeployer class.
When the redeploy occurs, the method getKeyAttribute() in the line (XmlDeployer:93) return null.
Why the getKeyAttribute() return null in BasicUserCredentialsDeployer?
Thanks,
Diego