Merge pull request #983 from clebertsuconic/Branch_2_2_EAP

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