You are not logged in.

Announcement

Bonjour, avant de poster, merci de vérifier que vous avez respecté les pré-requis de l'installation et consultez notre documentation : https://forge.bluemind.net/confluence/display/BM35/ !
Vous pouvez en particulier trouver des réponses aux problèmes les plus courants dans notre FAQ ou encore la base de connaissance.

Hi, before posting on the forum, please check that you followed installation prerequisites and get a look to our documentation space : https://forge.bluemind.net/confluence/display/BM35/ !

#1 2016-08-15 10:22:20

prigters
Member
Registered: 2016-08-15
Posts: 3

Timeout issues

when rebooting my system (Ubuntu 14) i get a NGINX 502 bad gateway error.

when looking into my core.log from bluemind i see a lot of timeout issues. Anyone how to solve them?

2016-08-15 08:34:00,713 [main] net.bluemind.lib.vertx.internal.BMPlatformManagerFactory INFO - Using BM platform manager factory.
2016-08-15 08:34:09,112 [main] net.bluemind.core.launcher.Main INFO - Starting BlueMind Core...
2016-08-15 08:34:09,117 [main] net.bluemind.hornetq.client.MQ INFO - MQ setup for net.bluemind.core.launcher.Main$1@7872c7ee....
2016-08-15 08:34:09,584 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:19,789 [defaultEventExecutorGroup-3-1] net.bluemind.locator.client.LocatorClient ERROR - java.util.concurrent.TimeoutException: No response received after 5000
java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException: No response received after 5000
        at com.ning.http.client.providers.netty.NettyResponseFuture.get(NettyResponseFuture.java:252) ~[na:na]
        at com.ning.http.client.providers.netty.NettyResponseFuture.get(NettyResponseFuture.java:210) ~[na:na]
        at net.bluemind.locator.client.LocatorClient.locateHost(LocatorClient.java:60) ~[net.bluemind.locator.client_2.3.0.jar:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.start(NonOsgiActivator.java:50) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.HQHelper.<clinit>(HQHelper.java:41) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.util.concurrent.TimeoutException: No response received after 5000
        at com.ning.http.client.providers.netty.NettyResponseFuture.get(NettyResponseFuture.java:246) ~[na:na]
        ... 12 common frames omitted
2016-08-15 08:34:19,790 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.impl.NonOsgiActivator WARN - failed to locate bm/mq server. falling back to localhost
2016-08-15 08:34:20,304 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:20,363 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:20,363 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:20,365 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:20,366 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:20,366 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:20,376 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:20,376 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:20,376 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:20,379 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:20,379 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:20,379 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:20,387 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:20,387 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:20,387 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:20,390 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:20,390 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:21,475 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:21,479 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:21,479 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:23,475 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:23,478 [defaultEventExecutorGroup-3-1] org.hornetq.core.client WARN - HQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:457) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:308) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at org.hornetq.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:715) ~[hornetq-core-client-2.5.0-SNAPSHOT.jar:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1275) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:1121) ~[na:na]
        at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:266) ~[na:na]
        at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:881) ~[na:na]
        at net.bluemind.hornetq.client.impl.NonOsgiActivator.newCSF(NonOsgiActivator.java:75) ~[na:na]
        at net.bluemind.hornetq.client.impl.HQHelper.newSession(HQHelper.java:56) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.mqProdConnectImpl(MQ.java:104) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ.access$1(MQ.java:101) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.MQ$2.run(MQ.java:95) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at net.bluemind.hornetq.client.impl.SafeExecutorGroup$1.run(SafeExecutorGroup.java:26) [net.bluemind.hornetq.client_1.0.0.b13866.jar:na]
        at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.24.Final.jar:4.0.24.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method) [na:1.7.0_60]
        at java.lang.Thread.start(Thread.java:714) [na:1.7.0_60]
        at io.netty.util.internal.ThreadLocalRandom.getInitialSeedUniquifier(ThreadLocalRandom.java:95) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.newSeed(ThreadLocalRandom.java:162) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.<init>(ThreadLocalRandom.java:205) ~[na:na]
        at io.netty.util.internal.InternalThreadLocalMap.random(InternalThreadLocalMap.java:212) ~[na:na]
        at io.netty.util.internal.ThreadLocalRandom.current(ThreadLocalRandom.java:215) ~[na:na]
        at io.netty.channel.AbstractChannel.<init>(AbstractChannel.java:56) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioChannel.<init>(AbstractNioChannel.java:74) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.nio.AbstractNioByteChannel.<init>(AbstractNioByteChannel.java:52) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:84) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:70) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_60]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_60]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_60]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_60]
        at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_60]
        at io.netty.bootstrap.AbstractBootstrap$BootstrapChannelFactory.newChannel(AbstractBootstrap.java:455) ~[netty-all-4.0.24.Final.jar:4.0.24.Final]
        ... 18 common frames omitted
2016-08-15 08:34:23,479 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:25,475 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:26,085 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:28,154 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************
2016-08-15 08:34:28,313 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ WARN - bm/mq not (yet) available: HQ119007: Cannot connect to server(s). Tried with all available servers.
2016-08-15 08:34:30,154 [defaultEventExecutorGroup-3-1] net.bluemind.hornetq.client.MQ INFO - ************** MQ producer CONNECTING ****************

Offline

#2 2016-08-16 08:48:27

Toony
BlueMind Team
From: Toulouse
Registered: 2012-03-29
Posts: 1,823
Website

Re: Timeout issues

It seems that you don't have enougth memory:

Caused by: java.lang.OutOfMemoryError: unable to create new native thread

How much RAM do you have ?

Offline

#3 2016-08-16 10:46:54

prigters
Member
Registered: 2016-08-15
Posts: 3

Re: Timeout issues

8GB

MemTotal:        8388608 kB
MemFree:         6255236 kB
Cached:           522284 kB
Buffers:               0 kB
Active:          1385796 kB
Inactive:         676888 kB
Active(anon):    1258232 kB
Inactive(anon):   614632 kB
Active(file):     127564 kB
Inactive(file):    62256 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:               140 kB
Writeback:             0 kB
AnonPages:       1872864 kB
Shmem:            332464 kB
Slab:              70660 kB
SReclaimable:      16608 kB
SUnreclaim:        54052 kB

Offline

#4 2016-08-16 11:20:39

Toony
BlueMind Team
From: Toulouse
Registered: 2012-03-29
Posts: 1,823
Website

Re: Timeout issues

Could you add some swap and try a

# bmctl restart

Offline

#5 2016-08-16 14:06:02

prigters
Member
Registered: 2016-08-15
Posts: 3

Re: Timeout issues

when restarting, i see the following things in my console:

Start Blue Mind Services
Cleaning OSGi configuration area...
newrelic support is not enabled
2016-08-16 14:58:02,910 [main] n.b.p.PimpMyRam INFO - 2432MB is allocated for all heaps.
2016-08-16 14:58:02,912 [main] n.b.p.PimpMyRam INFO - 96% of spare memory will be allocated to java components
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO - Total from JMX: 8192MB
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO - 614MB initial spare.
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO - Adding 286MB to spare beca use bm-milter is missing or disabled
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO - Adding 134MB to spare because bm-xivobridge is missing or disabled
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO - 420MB Reallocated because of missing components
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO - 1034MB will be distributed between JVMs
2016-08-16 14:58:02,921 [main] n.b.p.PimpMyRam INFO -   * bm-core gets +103MB for a total of 359MB
2016-08-16 14:58:03,012 [main] n.b.p.PimpMyRam INFO -   * bm-node gets +0MB for a total of 128MB
2016-08-16 14:58:03,012 [main] n.b.p.PimpMyRam INFO -   * bm-eas gets +155MB for a total of 283MB
2016-08-16 14:58:03,013 [main] n.b.p.PimpMyRam INFO -   * bm-ips gets +206MB for a total of 334MB
2016-08-16 14:58:03,013 [main] n.b.p.PimpMyRam INFO -   * bm-elasticsearch gets +310MB for a total of 566MB
2016-08-16 14:58:03,013 [main] n.b.p.PimpMyRam INFO -   * bm-mq gets +51MB for a  total of 179MB
2016-08-16 14:58:03,013 [main] n.b.p.PimpMyRam INFO -   * bm-tika gets +0MB for  a total of 128MB
2016-08-16 14:58:03,013 [main] n.b.p.PimpMyRam INFO -   * bm-xmpp gets +0MB for a total of 128MB
2016-08-16 14:58:03,014 [main] n.b.p.PimpMyRam INFO -   * ysnp gets +0MB for a total of 128MB
2016-08-16 14:58:03,014 [main] n.b.p.PimpMyRam INFO -   * bm-lmtpd gets +51MB for a total of 307MB
2016-08-16 14:58:03,014 [main] n.b.p.PimpMyRam INFO - bm-milter is not installed or disabled, not configuring.
2016-08-16 14:58:03,014 [main] n.b.p.PimpMyRam INFO -   * bm-dav gets +0MB for a total of 128MB
2016-08-16 14:58:03,014 [main] n.b.p.PimpMyRam INFO -   * bm-locator gets +0MB for a total of 128MB
2016-08-16 14:58:03,015 [main] n.b.p.PimpMyRam INFO -   * bm-hps gets +51MB for a total of 179MB
2016-08-16 14:58:03,015 [main] n.b.p.PimpMyRam INFO - bm-xivobridge is not installed or disabled, not configuring.
Blue Mind MQ Server started: 20091
Blue Mind locator Server started: 20141
Starting server Blue Mind core (PID: 20197): done
Blue Mind ysnp started: 20255
sysctl: permission denied on key 'vm.swappiness'
sysctl: permission denied on key 'vm.max_map_count'
Blue Mind ElasticSearch Server started: 20273
Blue Mind lmtpd server started: 20367
Blue Mind hps Server started: 20392
Blue Mind EAS Server started: 20402
Blue Mind tika Server started: 20413
newrelic support is not enabled
Using CATALINA_BASE:   /usr/share/tomcat
Using CATALINA_HOME:   /usr/share/tomcat
Using CATALINA_TMPDIR: /tmp
Using JRE_HOME:       /usr/lib/jvm/bm-jdk
Starting server Blue Mind Tomcat: done
Blue Mind xmpp Server started: 20535
Blue Mind ips Server started: 20699
Blue Mind dav Server started: 20715

still getting an error when trying to access bluemind sad

Offline

#6 2016-08-25 15:47:29

pierrec
Blue Mind Team
From: Toulouse
Registered: 2012-03-29
Posts: 67
Website

Re: Timeout issues

Did you add some swap before restarting ?
Do you still have errors in core.log ? Which ones ?

Offline

Board footer

Powered by FluxBB