Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2370

SSL_KEY_EXCHANGE creates key_store in init() even if SSLContext is already provided

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.4
    • 4.1.3
    • None

      This causes protocol initialization to fail if the setSSLContext(...) was used.

      17:55:10,947 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 82) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: java.lang.IllegalStateException: java.io.FileNotFoundException: keystore.jks
          at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:70)
          at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
          at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
          at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
          at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
          at java.lang.Thread.run(Thread.java:748)
          at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: keystore.jks
          at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:116)
          at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:58)
          at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:67)
          ... 7 more
      Caused by: java.io.FileNotFoundException: keystore.jks
          at org.jgroups.protocols.SSL_KEY_EXCHANGE.init(SSL_KEY_EXCHANGE.java:170)
          at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:857)
          at org.jgroups.stack.ProtocolStack.init(ProtocolStack.java:845)
          at org.jgroups.JChannel.<init>(JChannel.java:155)
          at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:116)
          at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:96)
          ... 9 more
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: