Merge pull request #984 from clebertsuconic/Branch_2_2_AS7

fixes after specJMS tests
https://issues.jboss.org/browse/HORNETQ-1183 - fixing check up on startup