Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11460

Passing "-b 0.0.0.0" to the server startup script fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.1.4.Final, 11.0.0.Dev03
    • 10.1.3.Final, 11.0.0.Alpha2
    • Server
    • None

      The server README.md file contains this example command for starting the server: bin/server.sh -b 0.0.0.0. Trying this with the server in the ER4 build produces the following exception:

      WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
      16:25:33,786 INFO  (main) [BOOT] JVM OpenJDK 64-Bit Server VM Oracle Corporation 11.0.6+10
      16:25:33,803 INFO  (main) [BOOT] JVM arguments = -Xms64m -Xmx512m -XX:MetaspaceSize=32M -XX:MaxMetaspaceSize=64m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dvisualvm.display.name=redhat-datagrid-server -Dinfinispan.server.home.path=/home/afield/Downloads/redhat-datagrid-8.0.0.ER4-server/redhat-datagrid-8.0.0-server
      16:25:33,829 INFO  (main) [BOOT] PID = 638084
      16:25:34,037 INFO  (main) [org.infinispan.SERVER] ISPN080000: Red Hat Data Grid Server starting
      16:25:34,038 INFO  (main) [org.infinispan.SERVER] ISPN080017: Server configuration: /home/afield/Downloads/redhat-datagrid-8.0.0.ER4-server/redhat-datagrid-8.0.0-server/server/conf/infinispan.xml
      16:25:34,039 INFO  (main) [org.infinispan.SERVER] ISPN080032: Logging configuration: /home/afield/Downloads/redhat-datagrid-8.0.0.ER4-server/redhat-datagrid-8.0.0-server/server/conf/log4j2.xml
      16:25:36,034 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'query-dsl-filter-converter-factory'
      16:25:36,035 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'continuous-query-filter-converter-factory'
      16:25:36,039 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'jdk.nashorn.api.scripting.NashornScriptEngineFactory'
      16:25:38,322 INFO  (main) [org.infinispan.CONTAINER] ISPN000128: Infinispan version: Red Hat Data Grid 'Turia' 10.1.3.ER4-redhat-00001
      16:25:38,334 INFO  (main) [org.infinispan.CONTAINER] ISPN000389: Loaded global state, version=10.1.3.ER4-redhat-00001 timestamp=2020-03-11T19:28:32.190142Z
      16:25:39,143 INFO  (main) [org.infinispan.CLUSTER] ISPN000078: Starting JGroups channel cluster
      16:25:39,679 INFO  (main) [org.infinispan.CONTAINER] ISPN000390: Persisted state, version=10.1.3.ER4-redhat-00001 timestamp=2020-03-11T20:25:39.671375Z
      16:25:39,711 FATAL (main) [org.infinispan.SERVER] ISPN080028: Red Hat Data Grid Server failed to start java.util.concurrent.ExecutionException: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheConfigurationException: ISPN000541: Error while trying to create a channel using the specified configuration '[TCP(send_buf_size=640k, thread_pool.max_threads=200, sock_conn_timeout=300, bundler_type=no-bundler, thread_pool.keep_alive_time=60000, bind_port=7800, enable_diagnostics=false, thread_naming_pattern=pl, thread_pool.min_threads=0), MPING(ip_ttl=2, mcast_port=46655, mcast_addr=228.6.7.8, num_discovery_runs=3, bind_addr=127.0.0.1), MERGE3(max_interval=30000, min_interval=10000), FD_SOCK(), FD_ALL(interval=2000, timeout_check_interval=1000, timeout=10000), VERIFY_SUSPECT(timeout=1000), pbcast.NAKACK2(xmit_table_num_rows=50, use_mcast_xmit=false, xmit_table_max_compaction_time=30000, xmit_table_msgs_per_row=1024, xmit_interval=100, resend_last_seqno=true), UNICAST3(xmit_interval=100, xmit_table_num_rows=50, xmit_table_max_compaction_time=30000, xmit_table_msgs_per_row=1024), pbcast.STABLE(desired_avg_gossip=5000, max_bytes=1M, stability_delay=500), pbcast.GMS(join_timeout=2000, print_local_addr=false), UFC_NB(min_threshold=0.40, max_credits=3m), MFC_NB(min_threshold=0.40, max_credits=3m), FRAG3()]'
      	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
      	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
      	at org.infinispan.server.Bootstrap.runInternal(Bootstrap.java:135)
      	at org.infinispan.server.tool.Main.run(Main.java:98)
      	at org.infinispan.server.Bootstrap.main(Bootstrap.java:39)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.infinispan.server.loader.Loader.main(Loader.java:52)
      Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheConfigurationException: ISPN000541: Error while trying to create a channel using the specified configuration '[TCP(send_buf_size=640k, thread_pool.max_threads=200, sock_conn_timeout=300, bundler_type=no-bundler, thread_pool.keep_alive_time=60000, bind_port=7800, enable_diagnostics=false, thread_naming_pattern=pl, thread_pool.min_threads=0), MPING(ip_ttl=2, mcast_port=46655, mcast_addr=228.6.7.8, num_discovery_runs=3, bind_addr=127.0.0.1), MERGE3(max_interval=30000, min_interval=10000), FD_SOCK(), FD_ALL(interval=2000, timeout_check_interval=1000, timeout=10000), VERIFY_SUSPECT(timeout=1000), pbcast.NAKACK2(xmit_table_num_rows=50, use_mcast_xmit=false, xmit_table_max_compaction_time=30000, xmit_table_msgs_per_row=1024, xmit_interval=100, resend_last_seqno=true), UNICAST3(xmit_interval=100, xmit_table_num_rows=50, xmit_table_max_compaction_time=30000, xmit_table_msgs_per_row=1024), pbcast.STABLE(desired_avg_gossip=5000, max_bytes=1M, stability_delay=500), pbcast.GMS(join_timeout=2000, print_local_addr=false), UFC_NB(min_threshold=0.40, max_credits=3m), MFC_NB(min_threshold=0.40, max_credits=3m), FRAG3()]'
      	at org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:747)
      	at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:713)
      	at org.infinispan.server.SecurityActions.lambda$startCacheManager$2(SecurityActions.java:52)
      	at org.infinispan.security.Security.doPrivileged(Security.java:47)
      	at org.infinispan.server.SecurityActions.doPrivileged(SecurityActions.java:32)
      	at org.infinispan.server.SecurityActions.startCacheManager(SecurityActions.java:55)
      	at org.infinispan.server.Server.run(Server.java:283)
      	... 8 more
      Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000541: Error while trying to create a channel using the specified configuration '[TCP(send_buf_size=640k, thread_pool.max_threads=200, sock_conn_timeout=300, bundler_type=no-bundler, thread_pool.keep_alive_time=60000, bind_port=7800, enable_diagnostics=false, thread_naming_pattern=pl, thread_pool.min_threads=0), MPING(ip_ttl=2, mcast_port=46655, mcast_addr=228.6.7.8, num_discovery_runs=3, bind_addr=127.0.0.1), MERGE3(max_interval=30000, min_interval=10000), FD_SOCK(), FD_ALL(interval=2000, timeout_check_interval=1000, timeout=10000), VERIFY_SUSPECT(timeout=1000), pbcast.NAKACK2(xmit_table_num_rows=50, use_mcast_xmit=false, xmit_table_max_compaction_time=30000, xmit_table_msgs_per_row=1024, xmit_interval=100, resend_last_seqno=true), UNICAST3(xmit_interval=100, xmit_table_num_rows=50, xmit_table_max_compaction_time=30000, xmit_table_msgs_per_row=1024), pbcast.STABLE(desired_avg_gossip=5000, max_bytes=1M, stability_delay=500), pbcast.GMS(join_timeout=2000, print_local_addr=false), UFC_NB(min_threshold=0.40, max_credits=3m), MFC_NB(min_threshold=0.40, max_credits=3m), FRAG3()]'
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:613)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.initChannel(JGroupsTransport.java:464)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:448)
      	at org.infinispan.remoting.transport.jgroups.CorePackageImpl$1.start(CorePackageImpl.java:40)
      	at org.infinispan.remoting.transport.jgroups.CorePackageImpl$1.start(CorePackageImpl.java:27)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeStart(BasicComponentRegistryImpl.java:587)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:578)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:547)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.access$700(BasicComponentRegistryImpl.java:30)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:770)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.startDependencies(BasicComponentRegistryImpl.java:605)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:569)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:547)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.access$700(BasicComponentRegistryImpl.java:30)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:770)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.startDependencies(BasicComponentRegistryImpl.java:605)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:569)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:547)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl.access$700(BasicComponentRegistryImpl.java:30)
      	at org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:770)
      	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:344)
      	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:240)
      	at org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:742)
      	... 14 more
      Caused by: java.net.BindException: [TCP] /0.0.0.0 is not a valid address on any local network interface
      	at org.jgroups.util.Util.checkIfValidAddress(Util.java:4236)
      	at org.jgroups.stack.Configurator.ensureValidBindAddresses(Configurator.java:571)
      	at org.jgroups.stack.Configurator.createProtocolsAndInitializeAttrs(Configurator.java:128)
      	at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:64)
      	at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:48)
      	at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:480)
      	at org.jgroups.JChannel.init(JChannel.java:952)
      	at org.jgroups.JChannel.<init>(JChannel.java:125)
      	at org.infinispan.remoting.transport.jgroups.FileJGroupsChannelConfigurator.createChannel(FileJGroupsChannelConfigurator.java:49)
      	at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:611)
      	... 36 more
      
      16:25:39,760 INFO  (Thread-0) [org.infinispan.SERVER] ISPN080002: Red Hat Data Grid Server stopping
      

              ttarrant@redhat.com Tristan Tarrant
              rhn-support-afield Alan Field
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: