Improve check when setting value of parameter jdbcDriver and jdbcUrl
using JMX