HornetQBootstrapServer.main(new String[]{"hornetq-beans.xml"});
// Start Infinispan remote data grid, listening on localhost:11222
HotRodServerConfigurationBuilder builder = new HotRodServerConfigurationBuilder();
HotRodServer server = new HotRodServer();
EmbeddedCacheManager cm = new DefaultCacheManager();
server.start(builder.build(), cm);
Context ctx = new InitialContext();
Connection con = null;
try {
con = ((ConnectionFactory) ctx.lookup("/ConnectionFactory"))