1 2 Previous Next 17 Replies Latest reply on Jul 19, 2013 1:40 PM by raihan26

    Not able to start the infinispan server

    raihan26

      I am trying to start Infinispan server in my Ubuntu machine. Below is my machine-

       

       

      rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$

      uname -a

       

      Linux rj-vm9-14105 2.6.35-22-server #33-Ubuntu SMP Sun Sep 19

      20:48:58 UTC 2010 x86_64 GNU/Linux

       

       

      I was going through this [article ](https://docs.jboss.org/author/display/ISPN/Infinispan+Server) and I downloaded Infinispan Server distribution (Infinispan servers (HotRod, REST, Memcached)) from this [link](http://www.jboss.org/infinispan/downloads). After downloading it, I started running it from my Ubuntu machine like this-

       

       

          rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$ sh standalone.sh

       

       

      And as soon as I hit enter after typing the above command. I always get the exception on my console. Below is the exception-

       

       

          rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$ sh standalone.sh

          =========================================================================

         

            JBoss Bootstrap Environment

         

            JBOSS_HOME: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1

         

            JAVA: java

         

            JAVA_OPTS:  -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

         

          =========================================================================

         

          22:27:34,862 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1

          22:27:35,182 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA

          22:27:35,297 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015899: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) starting

          22:27:36,522 INFO  [org.xnio] (MSC service thread 1-1) XNIO Version 3.0.7.GA

          22:27:36,534 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

          22:27:36,538 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.0.7.GA

          22:27:36,544 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.14.GA

          22:27:36,624 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 17) JBAS010280: Activating Infinispan subsystem.

          22:27:36,659 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 21) JBAS011800: Activating Naming Subsystem

          22:27:36,678 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

          22:27:36,708 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 23) JBAS013171: Activating Security Subsystem

          22:27:36,846 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 27) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

          22:27:36,945 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

          22:27:37,008 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.15.Final

          22:27:37,504 INFO  [org.apache.coyote.http11] (MSC service thread 1-2) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080

          22:27:37,558 INFO  [org.apache.coyote.http11] (MSC service thread 1-2) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080

          22:27:37,613 INFO  [org.apache.coyote.ajp] (MSC service thread 1-2) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/127.0.0.1:8009

          22:27:37,913 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-2) JDGS010000: HotRodServer starting

          22:27:37,914 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-2) JDGS010001: HotRodServer listening on 127.0.0.1:11222

          22:27:38,116 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) JDGS010000: WebSocketServer starting

          22:27:38,117 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) JDGS010001: WebSocketServer listening on 127.0.0.1:8181

          22:27:38,583 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-2) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

          22:27:39,024 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform MBean server.

          22:27:39,027 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started default cache from local container

          22:27:39,546 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.endpoint.websocket.websocket-connector: org.jboss.msc.service.StartException in service jboss.endpoint.websocket.websocket-connector: JDGS010004: Failed to start WebSocketServer

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:106)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

          Caused by: org.jboss.netty.channel.ChannelException: Failed to create a selector.

                  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:337)

                  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:95)

                  at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:51)

                  at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45)

                  at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:45)

                  at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:28)

                  at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.newWorker(AbstractNioWorkerPool.java:99)

                  at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:69)

                  at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39)

                  at org.infinispan.server.core.transport.NettyTransport.<init>(NettyTransport.scala:51)

                  at org.infinispan.server.core.AbstractProtocolServer.startTransport(AbstractProtocolServer.scala:44)

                  at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.scala:39)

                  at org.infinispan.server.websocket.WebSocketServer.start(WebSocketServer.java:63)

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:123)

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:100)

                  ... 5 more

          Caused by: java.io.IOException: Too many open files

                  at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method) [rt.jar:1.6.0_20]

                  at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:87) [rt.jar:1.6.0_20]

                  at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:70) [rt.jar:1.6.0_20]

                  at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36) [rt.jar:1.6.0_20]

                  at java.nio.channels.Selector.open(Selector.java:226) [rt.jar:1.6.0_20]

                  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:335)

                  ... 19 more

         

          22:27:39,555 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.endpoint.hotrod.hotrod-connector: JDGS010004: Failed to start HotRodServer

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:106)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

          Caused by: org.jboss.netty.channel.ChannelException: Failed to open a server socket.

                  at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:57)

                  at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:205)

                  at org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChannel(NioServerSocketChannelFactory.java:85)

                  at org.jboss.netty.bootstrap.ServerBootstrap.bindAsync(ServerBootstrap.java:329)

                  at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:266)

                  at org.infinispan.server.core.transport.NettyTransport.start(NettyTransport.scala:83)

                  at org.infinispan.server.core.AbstractProtocolServer.startTransport(AbstractProtocolServer.scala:49)

                  at org.infinispan.server.hotrod.HotRodServer.startTransport(HotRodServer.scala:67)

                  at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.scala:39)

                  at org.infinispan.server.hotrod.HotRodServer.start(HotRodServer.scala:51)

                  at org.infinispan.server.hotrod.HotRodServer.start(HotRodServer.scala:27)

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:123)

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:100)

                  ... 5 more

          Caused by: java.net.SocketException: Too many open files

                  at sun.nio.ch.Net.socket0(Native Method) [rt.jar:1.6.0_20]

                  at sun.nio.ch.Net.serverSocket(Net.java:119) [rt.jar:1.6.0_20]

                  at sun.nio.ch.ServerSocketChannelImpl.<init>(ServerSocketChannelImpl.java:91) [rt.jar:1.6.0_20]

                  at sun.nio.ch.SelectorProviderImpl.openServerSocketChannel(SelectorProviderImpl.java:51) [rt.jar:1.6.0_20]

                  at java.nio.channels.ServerSocketChannel.open(ServerSocketChannel.java:92) [rt.jar:1.6.0_20]

                  at org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:55)

                  ... 17 more

         

          22:27:39,736 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-1) ISPN000031: MBeans were successfully registered to the platform MBean server.

          22:27:39,740 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010281: Started jboss-web-policy cache from security container

          22:27:39,748 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform MBean server.

          22:27:39,753 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started other cache from security container

          22:27:39,772 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-1) ISPN000031: MBeans were successfully registered to the platform MBean server.

          22:27:39,772 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010281: Started namedCache cache from local container

          22:27:39,776 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.server.controller.management.security_realm.ManagementRealm.properties_authentication: org.jboss.msc.service.StartException in service jboss.server.controller.management.security_realm.ManagementRealm.properties_authentication: JBAS015228: Unable to load properties

                  at org.jboss.as.domain.management.security.PropertiesFileLoader.start(PropertiesFileLoader.java:81)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

          Caused by: java.io.FileNotFoundException: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/standalone/configuration/mgmt-users.properties (Too many open files)

                  at java.io.FileInputStream.open(Native Method) [rt.jar:1.6.0_20]

                  at java.io.FileInputStream.<init>(FileInputStream.java:137) [rt.jar:1.6.0_20]

                  at org.jboss.as.domain.management.security.PropertiesFileLoader.getProperties(PropertiesFileLoader.java:108)

                  at org.jboss.as.domain.management.security.PropertiesFileLoader.start(PropertiesFileLoader.java:79)

                  ... 5 more

         

          22:27:39,778 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform MBean server.

          22:27:39,791 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started memcachedCache cache from local container

          22:27:39,792 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication: org.jboss.msc.service.StartException in service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication: JBAS015228: Unable to load properties

                  at org.jboss.as.domain.management.security.PropertiesFileLoader.start(PropertiesFileLoader.java:81)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

          Caused by: java.io.FileNotFoundException: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/standalone/configuration/application-users.properties (Too many open files)

                  at java.io.FileInputStream.open(Native Method) [rt.jar:1.6.0_20]

                  at java.io.FileInputStream.<init>(FileInputStream.java:137) [rt.jar:1.6.0_20]

                  at org.jboss.as.domain.management.security.PropertiesFileLoader.getProperties(PropertiesFileLoader.java:108)

                  at org.jboss.as.domain.management.security.PropertiesFileLoader.start(PropertiesFileLoader.java:79)

                  ... 5 more

         

          22:27:39,793 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-2) JDGS010000: REST starting

          22:27:39,796 ERROR [stderr] (MSC service thread 1-2) ZoneInfo: /usr/share/javazi/ZoneInfoMappings (Too many open files)

          22:27:39,799 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) JDGS010000: MemcachedServer starting

          22:27:39,799 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) JDGS010001: MemcachedServer listening on 127.0.0.1:11211

          22:27:39,800 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.endpoint.memcached.memcached-connector: org.jboss.msc.service.StartException in service jboss.endpoint.memcached.memcached-connector: JDGS010004: Failed to start MemcachedServer

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:106)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

          Caused by: org.jboss.netty.channel.ChannelException: Failed to create a selector.

                  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:337)

                  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:95)

                  at org.jboss.netty.channel.socket.nio.NioServerBoss.<init>(NioServerBoss.java:49)

                  at org.jboss.netty.channel.socket.nio.NioServerBossPool.newBoss(NioServerBossPool.java:55)

                  at org.jboss.netty.channel.socket.nio.NioServerBossPool.newBoss(NioServerBossPool.java:26)

                  at org.jboss.netty.channel.socket.nio.AbstractNioBossPool.init(AbstractNioBossPool.java:65)

                  at org.jboss.netty.channel.socket.nio.NioServerBossPool.<init>(NioServerBossPool.java:40)

                  at org.infinispan.server.core.transport.NettyTransport.<init>(NettyTransport.scala:39)

                  at org.infinispan.server.core.AbstractProtocolServer.startTransport(AbstractProtocolServer.scala:44)

                  at org.infinispan.server.core.AbstractProtocolServer.start(AbstractProtocolServer.scala:39)

                  at org.infinispan.server.memcached.MemcachedServer.start(MemcachedServer.scala:30)

                  at org.infinispan.server.memcached.MemcachedServer.start(MemcachedServer.scala:17)

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.startProtocolServer(ProtocolServerService.java:123)

                  at org.infinispan.server.endpoint.subsystem.ProtocolServerService.start(ProtocolServerService.java:100)

                  ... 5 more

          Caused by: java.io.IOException: Too many open files

                  at sun.nio.ch.IOUtil.initPipe(Native Method) [rt.jar:1.6.0_20]

                  at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:67) [rt.jar:1.6.0_20]

                  at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36) [rt.jar:1.6.0_20]

                  at java.nio.channels.Selector.open(Selector.java:226) [rt.jar:1.6.0_20]

                  at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:335)

                  ... 18 more

         

          22:27:39,804 WARN  [org.jboss.modules] (MSC service thread 1-2) Failed to define class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap in Module "org.jboss.resteasy.resteasy-jaxrs:main" from local module loader @19e3118a (finder: local module finder @a94884d (roots: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/modules,/home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/modules/system/layers/base)): org.jboss.modules.ModuleLoadError: No module.xml file found at /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/modules/system/layers/base/org/apache/commons/codec/main/module.xml

                  at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:78) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.Module.getPathsUnchecked(Module.java:1180) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.Module.loadModuleClass(Module.java:513) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]

                  at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_20]

                  at java.lang.ClassLoader.defineClass(ClassLoader.java:634) [rt.jar:1.6.0_20]

                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [rt.jar:1.6.0_20]

                  at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:338) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:402) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:254) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.Module.loadModuleClass(Module.java:518) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]

                  at org.infinispan.server.endpoint.subsystem.RestService.start(RestService.java:133) [infinispan-server-endpoints-6.0.0.Alpha1.jar:6.0.0.Alpha1]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

         

          22:27:39,814 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.endpoint.rest.rest-connector: org.jboss.msc.service.StartException in service jboss.endpoint.rest.rest-connector: Failed to start service

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_20]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_20]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

          Caused by: java.lang.NoClassDefFoundError: org/jboss/resteasy/plugins/server/servlet/ResteasyBootstrap

                  at org.infinispan.server.endpoint.subsystem.RestService.start(RestService.java:133)

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

                  ... 3 more

          Caused by: java.lang.ClassNotFoundException: org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap from [Module "org.infinispan.server.endpoint:main" from local module loader @19e3118a (finder: local module finder @a94884d (roots: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/modules,/home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/modules/system/layers/base))]

                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]

                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]

                  ... 6 more

         

          22:27:40,452 ERROR [org.jboss.as.controller.client] (Controller Boot Thread) JBAS014781: Step handler org.jboss.as.logging.LoggingOperations$CommitOperationStepHandler@245f4ae for operation add at address [("subsystem" => "logging")] failed handling operation rollback -- JBAS011565: Failed to write configuration file /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/standalone/configuration/logging.properties

          22:27:40,456 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

          JBAS014777:   Services which failed to start:      service jboss.endpoint.memcached.memcached-connector: org.jboss.msc.service.StartException in service jboss.endpoint.memcached.memcached-connector: JDGS010004: Failed to start MemcachedServer

                service jboss.endpoint.websocket.websocket-connector: org.jboss.msc.service.StartException in service jboss.endpoint.websocket.websocket-connector: JDGS010004: Failed to start WebSocketServer

                service jboss.endpoint.rest.rest-connector: org.jboss.msc.service.StartException in service jboss.endpoint.rest.rest-connector: Failed to start service

                service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication: org.jboss.msc.service.StartException in service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication: JBAS015228: Unable to load properties

                service jboss.server.controller.management.security_realm.ManagementRealm.properties_authentication: org.jboss.msc.service.StartException in service jboss.server.controller.management.security_realm.ManagementRealm.properties_authentication: JBAS015228: Unable to load properties

                service jboss.endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.endpoint.hotrod.hotrod-connector: JDGS010004: Failed to start HotRodServer

         

          22:27:40,467 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: java.lang.NullPointerException

                  at org.jboss.as.controller.persistence.ConfigurationFile.createHistoryDirectory(ConfigurationFile.java:482) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:306) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.successfulBoot(BackupXmlConfigurationPersister.java:65) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:234) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.server.ServerService.boot(ServerService.java:310) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]

                  at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:188) [jboss-as-controller-7.2.0.Final.jar:7.2.0.Final]

                  at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_20]

         

          22:27:40,469 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

          22:27:40,474 INFO  [org.jboss.as.controller] (MSC service thread 1-2) JBAS014774: Service status report

          JBAS014775:    New missing/unsatisfied dependencies:

                service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication (missing) dependents: [service jboss.server.controller.management.security_realm.ApplicationRealm]

       

       

       

       

      Does anyone know why I am getting the exception? And what I should do to fix the problem? I have spend whole one day to figure this thing out.

        • 1. Re: Not able to start the infinispan server
          nadirx

          Raihan,

           

          the first exception cause was the reason: Caused by: java.io.IOException: Too many open files

          Check with ulimit -n

          For the default configuration you will need about 700 open file descriptors.

          • 2. Re: Not able to start the infinispan server
            raihan26

            Thanks for the suggestion. I am not sure, I am not able to understand what you said. Can you tell me step by step what should I do? Should I type ulimit -n on my ubuntu console?

             

            Appreciated your help on this..

            • 3. Re: Not able to start the infinispan server
              nadirx

              Yes

               

              $ ulimit -n

              1024

               

              If you get a lower number, you need to increase it using

               

              $ ulimit -n 1024

               

              Tristan

              • 4. Re: Not able to start the infinispan server
                raihan26

                I just did that and I got 1024 as the number

                 

                rkost@rj-vm9-14105:~/infinispan/infinispan-server-6.0.0.Alpha1/bin$ ulimit -n

                1024

                 

                Any idea now why it is failing?

                • 5. Re: Not able to start the infinispan server
                  nadirx

                  And what about ulimit -u ?

                  • 6. Re: Not able to start the infinispan server
                    raihan26

                    I got unlimited.

                    • 7. Re: Not able to start the infinispan server
                      nadirx

                      You need to increase your ulimit -n.

                      Just invoke ulimit -n 2048

                      • 8. Re: Not able to start the infinispan server
                        raihan26

                        Ok. I just did that and that's what I got. I am not sure whether I am able to start the server successfully. Let me know if it mean that server is started successfully..

                         

                         

                        root@rj-raptor-vm2-14939:/home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/bin# sh standalone.sh

                        =========================================================================

                         

                         

                          JBoss Bootstrap Environment

                         

                         

                          JBOSS_HOME: /home/rjamal/infinispan/infinispan-server-6.0.0.Alpha1

                         

                         

                          JAVA: java

                         

                         

                          JAVA_OPTS:  -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

                         

                         

                        =========================================================================

                         

                         

                        21:43:14,647 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1

                        21:43:14,894 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA

                        21:43:14,964 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) starting

                        21:43:15,568 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                        21:43:15,567 INFO  [org.xnio] (MSC service thread 1-8) XNIO Version 3.0.7.GA

                        21:43:15,576 INFO  [org.xnio.nio] (MSC service thread 1-8) XNIO NIO Implementation Version 3.0.7.GA

                        21:43:15,584 INFO  [org.jboss.remoting] (MSC service thread 1-8) JBoss Remoting version 3.2.14.GA

                        21:43:15,603 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 17) JBAS010280: Activating Infinispan subsystem.

                        21:43:15,609 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 21) JBAS011800: Activating Naming Subsystem

                        21:43:15,611 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 23) JBAS013171: Activating Security Subsystem

                        21:43:15,620 INFO  [org.jboss.as.security] (MSC service thread 1-11) JBAS013170: Current PicketBox version=4.0.15.Final

                        21:43:15,648 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 27) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                        21:43:15,651 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                        21:43:15,660 INFO  [org.jboss.as.naming] (MSC service thread 1-12) JBAS011802: Starting Naming Service

                        21:43:15,798 INFO  [org.apache.coyote.http11] (MSC service thread 1-7) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080

                        21:43:15,802 INFO  [org.apache.coyote.http11] (MSC service thread 1-7) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080

                        21:43:15,803 INFO  [org.apache.coyote.ajp] (MSC service thread 1-2) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/127.0.0.1:8009

                        21:43:15,905 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-11) JDGS010000: HotRodServer starting

                        21:43:15,906 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-12) JDGS010000: WebSocketServer starting

                        21:43:15,906 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-12) JDGS010001: WebSocketServer listening on 127.0.0.1:8181

                        21:43:15,907 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-11) JDGS010001: HotRodServer listening on 127.0.0.1:11222

                        21:43:15,992 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on 127.0.0.1:9999

                        21:43:15,992 INFO  [org.jboss.as.remoting] (MSC service thread 1-13) JBAS017100: Listening on 127.0.0.1:4447

                        21:43:16,060 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-5) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

                        21:43:16,060 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-15) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

                        21:43:16,255 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-15) ISPN000031: MBeans were successfully registered to the platform MBean server.

                        21:43:16,255 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-14) ISPN000031: MBeans were successfully registered to the platform MBean server.

                        21:43:16,255 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-5) ISPN000031: MBeans were successfully registered to the platform MBean server.

                        21:43:16,256 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-6) ISPN000031: MBeans were successfully registered to the platform MBean server.

                        21:43:16,256 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-16) ISPN000031: MBeans were successfully registered to the platform MBean server.

                        21:43:16,257 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-6) JBAS010281: Started namedCache cache from local container

                        21:43:16,257 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-15) JBAS010281: Started default cache from local container

                        21:43:16,257 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-16) JBAS010281: Started other cache from security container

                        21:43:16,257 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-14) JBAS010281: Started memcachedCache cache from local container

                        21:43:16,257 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-5) JBAS010281: Started jboss-web-policy cache from security container

                        21:43:16,262 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-6) JDGS010000: MemcachedServer starting

                        21:43:16,263 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-6) JDGS010001: MemcachedServer listening on 127.0.0.1:11211

                        21:43:16,268 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-7) JDGS010000: REST starting

                        21:43:16,730 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-7) JDGS010002: REST mapped to /rest

                        21:43:16,833 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                        21:43:16,834 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                        21:43:16,834 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) started in 2479ms - Started 92 of 130 services (38 services are passive or on-demand)

                        • 9. Re: Not able to start the infinispan server
                          nadirx

                          That is indeed a succesfully started server.

                          • 10. Re: Not able to start the infinispan server
                            raihan26

                            Cool. Thanks a lot. One more quick question. As you know, I am planning to use Infinispan as the remote cache cluster. So right now, I just started the infinispan server on one machine successfully. Now suppose if I want to start the infinispan one any other machines so that I can make a cluster of few nodes. Then how can I do that? And how they will be interacting with each other? Do I need to make some configuration settings for that?

                             

                            I am using infinispan-server-6.0.0.Alpha1.

                             

                            Let's take an example, suppose if I want to make two node remote cache cluster with Infinispan. And right now, I started infinispan on one node. How to start the infinispan on the second node such that it will start interacting with the other node and form a cluster. If you can provide me step by step process, it will be of great help to me. Thanks for the help.

                            • 11. Re: Not able to start the infinispan server
                              nadirx

                              You should read https://docs.jboss.org/author/display/ISPN/Infinispan+Server

                               

                              By default, starting the server using the bin/clustered.sh script and making sure multicast is enabled on your network interfaces and infrastructure, the two (or more) nodes should automatically connect.

                              • 12. Re: Not able to start the infinispan server
                                raihan26

                                Thanks for the link. I believe multicast is enabled. I just started the Infinispan server using the bin/clustered.sh script on both of the machines. Below is the result I got on both of the machines console. Now how do I make sure that they are forming a cluster of two nodes? And on which mode they have formed a cluster, how do I figure that one out?

                                 

                                Machine 1 console-

                                 

                                root@rj-raptor-vm1-14938:/home/rjamal/infinispan/infinispan-server-6.0.0.Alpha1/bin# sh clustered.sh

                                =========================================================================

                                 

                                 

                                  JBoss Bootstrap Environment

                                 

                                 

                                  JBOSS_HOME: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1

                                 

                                 

                                  JAVA: java

                                 

                                 

                                  JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=clustered.xml -Dsun.nio.ch.bugLevel=''

                                 

                                 

                                =========================================================================

                                 

                                 

                                23:16:14,426 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1

                                23:16:14,874 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA

                                23:16:14,934 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015899: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) starting

                                23:16:15,784 INFO  [org.xnio] (MSC service thread 1-5) XNIO Version 3.0.7.GA

                                23:16:15,788 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                                23:16:15,792 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.0.7.GA

                                23:16:15,799 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 3.2.14.GA

                                23:16:15,865 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 22) JBAS010260: Activating JGroups subsystem.

                                23:16:15,865 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 27) JBAS013171: Activating Security Subsystem

                                23:16:15,868 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) JBAS010280: Activating Infinispan subsystem.

                                23:16:15,876 INFO  [org.jboss.as.security] (MSC service thread 1-4) JBAS013170: Current PicketBox version=4.0.15.Final

                                23:16:15,879 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 25) JBAS011800: Activating Naming Subsystem

                                23:16:15,921 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                                23:16:15,926 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 31) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                                23:16:15,957 INFO  [org.jboss.as.naming] (MSC service thread 1-9) JBAS011802: Starting Naming Service

                                23:16:16,073 INFO  [org.apache.coyote.http11] (MSC service thread 1-3) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080

                                23:16:16,080 INFO  [org.apache.coyote.ajp] (MSC service thread 1-16) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/127.0.0.1:8009

                                23:16:16,087 INFO  [org.apache.coyote.http11] (MSC service thread 1-3) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080

                                23:16:16,106 INFO  [org.jboss.modcluster.ModClusterService] (ServerService Thread Pool -- 32) Initializing mod_cluster 1.2.3.Final

                                23:16:16,135 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (ServerService Thread Pool -- 32) Listening to proxy advertisements on 224.0.1.115:23,364

                                23:16:16,253 INFO  [org.jboss.as.remoting] (MSC service thread 1-16) JBAS017100: Listening on 127.0.0.1:4447

                                23:16:16,253 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.0.0.1:9999

                                23:16:16,407 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-3) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

                                23:16:16,416 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-6) JDGS010000: WebSocketServer starting

                                23:16:16,416 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-11) JDGS010000: HotRodServer starting

                                23:16:16,416 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-6) JDGS010001: WebSocketServer listening on 127.0.0.1:8181

                                23:16:16,416 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-11) JDGS010001: HotRodServer listening on 127.0.0.1:11222

                                23:16:16,512 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-15) ISPN000078: Starting JGroups Channel

                                23:16:16,523 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-15) [JGRP00015] the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                23:16:16,524 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-15) [JGRP00015] the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                23:16:16,524 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-15) [JGRP00015] the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                23:16:16,525 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-15) [JGRP00015] the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                23:16:16,528 INFO  [stdout] (MSC service thread 1-15)

                                23:16:16,528 INFO  [stdout] (MSC service thread 1-15) -------------------------------------------------------------------

                                23:16:16,528 INFO  [stdout] (MSC service thread 1-15) GMS: address=rj-raptor-vm1-14938/clustered, cluster=clustered, physical address=127.0.0.1:55200

                                23:16:16,528 INFO  [stdout] (MSC service thread 1-15) -------------------------------------------------------------------

                                23:16:16,550 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-7) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                23:16:16,550 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-3) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                23:16:16,552 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-7) JBAS010281: Started jboss-web-policy cache from security container

                                23:16:16,552 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) JBAS010281: Started other cache from security container

                                23:16:16,561 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-8) JDGS010000: REST starting

                                23:16:16,756 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-8) JDGS010002: REST mapped to /rest

                                23:16:21,546 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-15) ISPN000094: Received new cluster view: [rj-raptor-vm1-14938/clustered|0] [rj-raptor-vm1-14938/clustered]

                                23:16:21,620 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-15) ISPN000079: Cache local address is rj-raptor-vm1-14938/clustered, physical addresses are [127.0.0.1:55200]

                                23:16:21,664 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-15) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                23:16:21,664 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                23:16:21,665 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-16) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                23:16:21,675 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started memcachedCache cache from clustered container

                                23:16:21,675 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-15) JBAS010281: Started default cache from clustered container

                                23:16:21,675 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-16) JBAS010281: Started namedCache cache from clustered container

                                23:16:21,676 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) JDGS010000: MemcachedServer starting

                                23:16:21,677 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) JDGS010001: MemcachedServer listening on 127.0.0.1:11211

                                23:16:22,216 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-11) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                23:16:22,220 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-11) JBAS010281: Started ___hotRodTopologyCache cache from clustered container

                                23:16:22,319 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                                23:16:22,320 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                                23:16:22,320 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) started in 8264ms - Started 93 of 142 services (49 services are passive or on-demand)

                                 

                                 

                                Machine 2 console-

                                 

                                root@rj-raptor-vm2-14939:/home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/bin# sh clustered.sh

                                =========================================================================

                                 

                                 

                                  JBoss Bootstrap Environment

                                 

                                 

                                  JBOSS_HOME: /home/rjamal/infinispan/infinispan-server-6.0.0.Alpha1

                                 

                                 

                                  JAVA: java

                                 

                                 

                                  JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=clustered.xml -Dsun.nio.ch.bugLevel=''

                                 

                                 

                                =========================================================================

                                 

                                 

                                22:45:59,604 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1

                                22:45:59,855 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA

                                22:45:59,917 INFO  [org.jboss.as] (MSC service thread 1-8) JBAS015899: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) starting

                                22:46:00,731 INFO  [org.xnio] (MSC service thread 1-16) XNIO Version 3.0.7.GA

                                22:46:00,734 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                                22:46:00,740 INFO  [org.xnio.nio] (MSC service thread 1-16) XNIO NIO Implementation Version 3.0.7.GA

                                22:46:00,748 INFO  [org.jboss.remoting] (MSC service thread 1-16) JBoss Remoting version 3.2.14.GA

                                22:46:00,773 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) JBAS010280: Activating Infinispan subsystem.

                                22:46:00,797 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 22) JBAS010260: Activating JGroups subsystem.

                                22:46:00,800 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 27) JBAS013171: Activating Security Subsystem

                                22:46:00,801 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 25) JBAS011800: Activating Naming Subsystem

                                22:46:00,803 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 31) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                                22:46:00,809 INFO  [org.jboss.as.security] (MSC service thread 1-14) JBAS013170: Current PicketBox version=4.0.15.Final

                                22:46:00,824 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                                22:46:00,828 INFO  [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service

                                22:46:00,948 INFO  [org.apache.coyote.http11] (MSC service thread 1-6) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080

                                22:46:00,951 INFO  [org.apache.coyote.ajp] (MSC service thread 1-9) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/127.0.0.1:8009

                                22:46:00,960 INFO  [org.apache.coyote.http11] (MSC service thread 1-6) JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080

                                22:46:00,986 INFO  [org.jboss.modcluster.ModClusterService] (ServerService Thread Pool -- 32) Initializing mod_cluster 1.2.3.Final

                                22:46:00,995 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (ServerService Thread Pool -- 32) Listening to proxy advertisements on 224.0.1.115:23,364

                                22:46:01,181 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.0.0.1:9999

                                22:46:01,181 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on 127.0.0.1:4447

                                22:46:01,302 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-13) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

                                22:46:01,355 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-5) JDGS010000: HotRodServer starting

                                22:46:01,356 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-5) JDGS010001: HotRodServer listening on 127.0.0.1:11222

                                22:46:01,357 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-15) JDGS010000: WebSocketServer starting

                                22:46:01,358 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-15) JDGS010001: WebSocketServer listening on 127.0.0.1:8181

                                22:46:01,458 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-12) ISPN000078: Starting JGroups Channel

                                22:46:01,472 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-12) [JGRP00015] the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                22:46:01,473 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-12) [JGRP00015] the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                22:46:01,474 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-12) [JGRP00015] the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                22:46:01,474 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-12) [JGRP00015] the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                22:46:01,478 INFO  [stdout] (MSC service thread 1-12)

                                22:46:01,478 INFO  [stdout] (MSC service thread 1-12) -------------------------------------------------------------------

                                22:46:01,478 INFO  [stdout] (MSC service thread 1-12) GMS: address=rj-raptor-vm2-14939/clustered, cluster=clustered, physical address=127.0.0.1:55200

                                22:46:01,478 INFO  [stdout] (MSC service thread 1-12) -------------------------------------------------------------------

                                22:46:01,483 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-8) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                22:46:01,483 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-13) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                22:46:01,486 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-8) JBAS010281: Started jboss-web-policy cache from security container

                                22:46:01,486 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-13) JBAS010281: Started other cache from security container

                                22:46:01,495 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) JDGS010000: REST starting

                                22:46:01,707 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-1) JDGS010002: REST mapped to /rest

                                22:46:06,495 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-12) ISPN000094: Received new cluster view: [rj-raptor-vm2-14939/clustered|0] [rj-raptor-vm2-14939/clustered]

                                22:46:06,572 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-12) ISPN000079: Cache local address is rj-raptor-vm2-14939/clustered, physical addresses are [127.0.0.1:55200]

                                22:46:06,618 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-12) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                22:46:06,618 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-3) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                22:46:06,618 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-6) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                22:46:06,628 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-12) JBAS010281: Started memcachedCache cache from clustered container

                                22:46:06,628 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) JBAS010281: Started namedCache cache from clustered container

                                22:46:06,628 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-6) JBAS010281: Started default cache from clustered container

                                22:46:06,628 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-16) JDGS010000: MemcachedServer starting

                                22:46:06,628 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-16) JDGS010001: MemcachedServer listening on 127.0.0.1:11211

                                22:46:07,052 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-5) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                22:46:07,056 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-5) JBAS010281: Started ___hotRodTopologyCache cache from clustered containerReply to original post

                                22:46:07,143 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                                22:46:07,144 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                                22:46:07,144 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) started in 7780ms - Started 93 of 142 services (49 services are passive or on-demand)


                                • 13. Re: Not able to start the infinispan server
                                  nadirx

                                  You should be getting a line like the following:

                                   

                                  22:46:06,495 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-12) ISPN000094: Received new cluster view: [rj-raptor-vm2-14939/clustered|0] [rj-raptor-vm2-14939/clustered]

                                   

                                  which will display a view with the nodes belonging to the cluster everytime a node joins/leaves.

                                   

                                  In your case they are not forming a cluster. Try binding the nodes to 0.0.0.0:

                                   

                                  ./bin/clustered.sh -b 0.0.0.0

                                  • 14. Re: Not able to start the infinispan server
                                    raihan26

                                    I will be getting that line that you mentioned in each of the machines as soon as I start infinispan server in any of the nodes? Should I stop the infinispan server on both of the machines. And then run ./bin/clustered.sh -b 0.0.0.0 from both of the machines... If yes, then below is the console-

                                     

                                    Machine 1 console logs-

                                     

                                    root@rj-raptor-vm1-14938:/home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/bin# sh clustered.sh -b 0.0.0.0

                                    =========================================================================

                                     

                                     

                                      JBoss Bootstrap Environment

                                     

                                     

                                      JBOSS_HOME: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1

                                     

                                     

                                      JAVA: java

                                     

                                     

                                      JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=clustered.xml -Dsun.nio.ch.bugLevel=''

                                     

                                     

                                    =========================================================================

                                     

                                     

                                    00:10:10,663 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1

                                    00:10:10,920 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA

                                    00:10:10,977 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) starting

                                    00:10:11,803 INFO  [org.xnio] (MSC service thread 1-15) XNIO Version 3.0.7.GA

                                    00:10:11,807 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                                    00:10:11,813 INFO  [org.xnio.nio] (MSC service thread 1-15) XNIO NIO Implementation Version 3.0.7.GA

                                    00:10:11,821 INFO  [org.jboss.remoting] (MSC service thread 1-15) JBoss Remoting version 3.2.14.GA

                                    00:10:11,851 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) JBAS010280: Activating Infinispan subsystem.

                                    00:10:11,877 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 22) JBAS010260: Activating JGroups subsystem.

                                    00:10:11,877 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 25) JBAS011800: Activating Naming Subsystem

                                    00:10:11,898 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 31) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                                    00:10:11,904 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 27) JBAS013171: Activating Security Subsystem

                                    00:10:11,916 INFO  [org.jboss.as.security] (MSC service thread 1-5) JBAS013170: Current PicketBox version=4.0.15.Final

                                    00:10:11,919 INFO  [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service

                                    00:10:11,933 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-9) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                                    00:10:12,044 INFO  [org.apache.coyote.ajp] (MSC service thread 1-2) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/0.0.0.0:8009

                                    00:10:12,044 INFO  [org.apache.coyote.http11] (MSC service thread 1-11) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/0.0.0.0:8080

                                    00:10:12,049 INFO  [org.apache.coyote.http11] (MSC service thread 1-11) JBWEB003000: Coyote HTTP/1.1 starting on: http-/0.0.0.0:8080

                                    00:10:12,098 INFO  [org.jboss.modcluster.ModClusterService] (ServerService Thread Pool -- 32) Initializing mod_cluster 1.2.3.Final

                                    00:10:12,108 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (ServerService Thread Pool -- 32) Listening to proxy advertisements on 224.0.1.115:23,364

                                    00:10:12,241 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 127.0.0.1:9999

                                    00:10:12,241 INFO  [org.jboss.as.remoting] (MSC service thread 1-14) JBAS017100: Listening on 0.0.0.0:4447

                                    00:10:12,381 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-15) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

                                    00:10:12,422 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-13) JDGS010000: WebSocketServer starting

                                    00:10:12,422 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) JDGS010000: HotRodServer starting

                                    00:10:12,423 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-13) JDGS010001: WebSocketServer listening on 0.0.0.0:8181

                                    00:10:12,423 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-3) JDGS010001: HotRodServer listening on 0.0.0.0:11222

                                    00:10:12,512 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-9) ISPN000078: Starting JGroups Channel

                                    00:10:12,524 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-9) [JGRP00015] the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                    00:10:12,524 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-9) [JGRP00015] the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                    00:10:12,525 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-9) [JGRP00015] the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                    00:10:12,525 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-9) [JGRP00015] the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                    00:10:12,528 INFO  [stdout] (MSC service thread 1-9)

                                    00:10:12,528 INFO  [stdout] (MSC service thread 1-9) -------------------------------------------------------------------

                                    00:10:12,528 INFO  [stdout] (MSC service thread 1-9) GMS: address=rj-raptor-vm1-14938/clustered, cluster=clustered, physical address=0.0.0.0:55200

                                    00:10:12,528 INFO  [stdout] (MSC service thread 1-9) -------------------------------------------------------------------

                                    00:10:12,536 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-16) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:12,537 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-15) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:12,540 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-16) JBAS010281: Started other cache from security container

                                    00:10:12,540 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-15) JBAS010281: Started jboss-web-policy cache from security container

                                    00:10:12,550 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-4) JDGS010000: REST starting

                                    00:10:12,723 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-4) JDGS010002: REST mapped to /rest

                                    00:10:17,544 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-9) ISPN000094: Received new cluster view: [rj-raptor-vm1-14938/clustered|0] [rj-raptor-vm1-14938/clustered]

                                    00:10:17,619 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-9) ISPN000079: Cache local address is rj-raptor-vm1-14938/clustered, physical addresses are [0.0.0.0:55200]

                                    00:10:17,658 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-9) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:17,659 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-5) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:17,659 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-12) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:17,670 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-5) JBAS010281: Started memcachedCache cache from clustered container

                                    00:10:17,670 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-9) JBAS010281: Started namedCache cache from clustered container

                                    00:10:17,670 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-12) JBAS010281: Started default cache from clustered container

                                    00:10:17,670 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-9) JDGS010000: MemcachedServer starting

                                    00:10:17,671 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-9) JDGS010001: MemcachedServer listening on 0.0.0.0:11211

                                    00:10:18,258 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-3) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:18,262 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) JBAS010281: Started ___hotRodTopologyCache cache from clustered container

                                    00:10:18,362 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                                    00:10:18,363 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                                    00:10:18,363 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) started in 7951ms - Started 93 of 142 services (49 services are passive or on-demand)

                                     

                                     

                                    Machine 2 console logs (And then I started Infinispan server on machine 2 after I started on machine 1)

                                     

                                    root@rj-raptor-vm2-14939:/home/rkost/infinispan/infinispan-server-6.0.0.Alpha1/bin# sh clustered.sh -b 0.0.0.0

                                    =========================================================================

                                     

                                     

                                      JBoss Bootstrap Environment

                                     

                                     

                                      JBOSS_HOME: /home/rkost/infinispan/infinispan-server-6.0.0.Alpha1

                                     

                                     

                                      JAVA: java

                                     

                                     

                                      JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=clustered.xml -Dsun.nio.ch.bugLevel=''

                                     

                                     

                                    =========================================================================

                                     

                                     

                                    00:10:31,513 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1

                                    00:10:31,790 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA

                                    00:10:31,848 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) starting

                                    00:10:32,711 INFO  [org.xnio] (MSC service thread 1-9) XNIO Version 3.0.7.GA

                                    00:10:32,714 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

                                    00:10:32,717 INFO  [org.xnio.nio] (MSC service thread 1-9) XNIO NIO Implementation Version 3.0.7.GA

                                    00:10:32,724 INFO  [org.jboss.remoting] (MSC service thread 1-9) JBoss Remoting version 3.2.14.GA

                                    00:10:32,778 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 19) JBAS010280: Activating Infinispan subsystem.

                                    00:10:32,781 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 22) JBAS010260: Activating JGroups subsystem.

                                    00:10:32,784 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 25) JBAS011800: Activating Naming Subsystem

                                    00:10:32,792 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 27) JBAS013171: Activating Security Subsystem

                                    00:10:32,804 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.15.Final

                                    00:10:32,810 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 31) JBAS012605: Activated the following JSF Implementations: [main, 1.2]

                                    00:10:32,815 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-11) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)

                                    00:10:32,828 INFO  [org.jboss.as.naming] (MSC service thread 1-12) JBAS011802: Starting Naming Service

                                    00:10:32,961 INFO  [org.apache.coyote.http11] (MSC service thread 1-7) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/0.0.0.0:8080

                                    00:10:32,962 INFO  [org.apache.coyote.ajp] (MSC service thread 1-9) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/0.0.0.0:8009

                                    00:10:32,965 INFO  [org.apache.coyote.http11] (MSC service thread 1-7) JBWEB003000: Coyote HTTP/1.1 starting on: http-/0.0.0.0:8080

                                    00:10:32,995 INFO  [org.jboss.modcluster.ModClusterService] (ServerService Thread Pool -- 32) Initializing mod_cluster 1.2.3.Final

                                    00:10:33,010 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (ServerService Thread Pool -- 32) Listening to proxy advertisements on 224.0.1.115:23,364

                                    00:10:33,154 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on 127.0.0.1:9999

                                    00:10:33,155 INFO  [org.jboss.as.remoting] (MSC service thread 1-16) JBAS017100: Listening on 0.0.0.0:4447

                                    00:10:33,304 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-9) JDGS010000: HotRodServer starting

                                    00:10:33,304 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-4) JDGS010000: WebSocketServer starting

                                    00:10:33,304 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-9) JDGS010001: HotRodServer listening on 0.0.0.0:11222

                                    00:10:33,305 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-4) JDGS010001: WebSocketServer listening on 0.0.0.0:8181

                                    00:10:33,311 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-7) ISPN000128: Infinispan version: Infinispan '<TBD>' 6.0.0.Alpha1

                                    00:10:33,411 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000078: Starting JGroups Channel

                                    00:10:33,424 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-1) [JGRP00015] the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                    00:10:33,424 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-1) [JGRP00015] the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                    00:10:33,425 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-1) [JGRP00015] the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)

                                    00:10:33,425 WARN  [org.jgroups.protocols.UDP] (MSC service thread 1-1) [JGRP00015] the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

                                    00:10:33,428 INFO  [stdout] (MSC service thread 1-1)

                                    00:10:33,428 INFO  [stdout] (MSC service thread 1-1) -------------------------------------------------------------------

                                    00:10:33,428 INFO  [stdout] (MSC service thread 1-1) GMS: address=rj-raptor-vm2-14939/clustered, cluster=clustered, physical address=0.0.0.0:55200

                                    00:10:33,428 INFO  [stdout] (MSC service thread 1-1) -------------------------------------------------------------------

                                    00:10:33,457 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-7) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:33,457 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-2) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:33,460 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010281: Started other cache from security container

                                    00:10:33,460 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-7) JBAS010281: Started jboss-web-policy cache from security container

                                    00:10:33,470 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-10) JDGS010000: REST starting

                                    00:10:33,645 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-10) JDGS010002: REST mapped to /rest

                                    00:10:38,447 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000094: Received new cluster view: [rj-raptor-vm2-14939/clustered|0] [rj-raptor-vm2-14939/clustered]

                                    00:10:38,529 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (MSC service thread 1-1) ISPN000079: Cache local address is rj-raptor-vm2-14939/clustered, physical addresses are [0.0.0.0:55200]

                                    00:10:38,576 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-1) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:38,577 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-12) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:38,577 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-13) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:38,585 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-12) JBAS010281: Started namedCache cache from clustered container

                                    00:10:38,585 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-13) JBAS010281: Started memcachedCache cache from clustered container

                                    00:10:38,585 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-1) JBAS010281: Started default cache from clustered container

                                    00:10:38,586 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-14) JDGS010000: MemcachedServer starting

                                    00:10:38,586 INFO  [org.infinispan.server.endpoint] (MSC service thread 1-14) JDGS010001: MemcachedServer listening on 0.0.0.0:11211

                                    00:10:39,156 INFO  [org.infinispan.jmx.CacheJmxRegistration] (MSC service thread 1-9) ISPN000031: MBeans were successfully registered to the platform MBean server.

                                    00:10:39,159 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-9) JBAS010281: Started ___hotRodTopologyCache cache from clustered container

                                    00:10:39,273 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management

                                    00:10:39,273 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

                                    00:10:39,273 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss Infinispan Server 6.0.0.Alpha1 (AS 7.2.0.Final) started in 8025ms - Started 93 of 142 services (49 services are passive or on-demand)


                                    1 2 Previous Next