Uploaded image for project: 'JBoss Server Migration Tool'
  1. JBoss Server Migration Tool
  2. CMTOOL-213

ChannelServiceConfigurator failed to open a port while deploying on migrated server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • 1.3.0.Alpha1
    • EAP 7.2
    • None

      Trying to deploy a kitchensink quickstart to the migrated server leads to an Exception.

      reproduce

      git clone https://github.com/wildfly/wildfly-server-migration.git
      mvn package -B -DskipTests -f wildfly-server-migration/pom.xml
      
      unzip -q wildfly-server-migration/dist/standalone/target/jboss-server-migration-*-SNAPSHOT.zip
      unzip -q jboss-eap-6.4.20.zip
      unzip -q jboss-eap-7.2.0.zip
      
      SOURCE=${WORKSPACE}/jboss-eap-6.4
      TARGET=${WORKSPACE}/jboss-eap-7.2
      
      sh jboss-server-migration/jboss-server-migration.sh --source ${SOURCE} --target ${TARGET} -n
      sh ${TARGET}/bin/standalone.sh -c standalone-ha.xml &
      sh ${TARGET}/bin/jboss-cli.sh -c 'deploy kitchensink.war'
      

      expected
      Application was successfully deployed

      actual

      09:47:39,219 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 75) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee-ejb: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee-ejb: java.lang.IllegalStateException: java.lang.Exception: failed to open a port in range 55200-55200
      	at org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:70) [wildfly-clustering-service-14.0.0.Beta1-SNAPSHOT.jar:14.0.0.Beta1-SNAPSHOT]
      	at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:118) [wildfly-clustering-service-14.0.0.Beta1-SNAPSHOT.jar:14.0.0.Beta1-SNAPSHOT]
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [jboss-threads-2.3.2.Final.jar:2.3.2.Final]
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) [jboss-threads-2.3.2.Final.jar:2.3.2.Final]
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) [jboss-threads-2.3.2.Final.jar:2.3.2.Final]
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349) [jboss-threads-2.3.2.Final.jar:2.3.2.Final]
      	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:485) [jboss-threads-2.3.2.Final.jar:2.3.2.Final]
      Caused by: java.lang.IllegalStateException: java.lang.Exception: failed to open a port in range 55200-55200
      	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) [wildfly-clustering-service-14.0.0.Beta1-SNAPSHOT.jar:14.0.0.Beta1-SNAPSHOT]
      	... 7 more
      Caused by: java.lang.Exception: failed to open a port in range 55200-55200
      	at org.jgroups.protocols.UDP.createMulticastSocketWithBindPort(UDP.java:519)
      	at org.jgroups.protocols.UDP.createSockets(UDP.java:357)
      	at org.jgroups.protocols.UDP.start(UDP.java:300)
      	at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:861)
      	at org.jgroups.JChannel.startStack(JChannel.java:1020)
      	at org.jgroups.JChannel._preConnect(JChannel.java:886)
      	at org.jgroups.JChannel.connect(JChannel.java:390)
      	at org.jgroups.JChannel.connect(JChannel.java:384)
      	at org.jboss.as.clustering.jgroups.subsystem.ChannelServiceConfigurator.get(ChannelServiceConfigurator.java:112)
      	... 9 more
      

              emartins@redhat.com Eduardo Martins
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: