Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10124

Inconsistent transport-config configuration from jacorb:migrate operation

    Details

      Description

      Migration from EAP 6.4.x jacorb subsystem fails with "WFLYIIOP0105: Inconsistent transport-config configuration: integrity is not supported but it is not configured with NONE value"

      jacorb configuration snippet

      <subsystem xmlns="urn:jboss:domain:jacorb:1.4">
          <orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
              <initializers security="identity" transactions="on"/>
          </orb>
          <security client-supports="ServerAuth" client-requires="ServerAuth" server-supports="ServerAuth" server-requires="ServerAuth"/>
          <ior-settings>
              <transport-config integrity="required" confidentiality="supported" trust-in-client="required" trust-in-target="supported"
                  detect-replay="required" detect-misordering="required"/>
              <as-context auth-method="none" realm="ApplicationRealm" required="true"/>
              <sas-context caller-propagation="supported"/>
          </ior-settings>
      </subsystem>
      

      expected subsystem configuration after :migrate operation

      <subsystem xmlns="urn:jboss:domain:iiop-openjdk:3.0">
          <orb ssl-socket-binding="jacorb-ssl" socket-binding="jacorb"/>
          <initializers transactions="full" security="identity"/>
          <security client-supports="ServerAuth" client-requires="ServerAuth" server-supports="ServerAuth" server-requires="ServerAuth"/>
          <transport-config detect-misordering="required" detect-replay="required" trust-in-client="required" trust-in-target="supported"
              confidentiality="supported" integrity="required"/>
          <as-context auth-method="none" realm="ApplicationRealm" required="true"/>
          <sas-context caller-propagation="supported"/>
      </subsystem>
      

      reproduce
      copy standalone-full.xml file into $EAP_HOME/standalone/configuration directory

      EAP 7.1.0.DR10

      sh $EAP_HOME/bin/standalone.sh -c standalone-full.xml --admin-only &
      sh $EAP_HOME/bin/jboss-cli.sh -c --controller=localhost:9999 '/subsystem=jacorbescribe-migration'
      {
          "outcome" => "success",
          "result" => {
              "migration-operations" => [
                  {
                      "operation" => "add",
                      "address" => [("extension" => "org.wildfly.iiop-openjdk")]
                  },
                  {
                      "operation" => "add",
                      "address" => [("subsystem" => "iiop-openjdk")],
                      "socket-binding" => "jacorb",
                      "ssl-socket-binding" => "jacorb-ssl",
                      "security" => "identity",
                      "transactions" => "full",
                      "client-supports" => "ServerAuth",
                      "client-requires" => "ServerAuth",
                      "server-supports" => "ServerAuth",
                      "server-requires" => "ServerAuth",
                      "integrity" => "required",
                      "confidentiality" => "supported",
                      "trust-in-target" => "supported",
                      "trust-in-client" => "required",
                      "detect-replay" => "required",
                      "detect-misordering" => "required",
                      "auth-method" => "none",
                      "realm" => "ApplicationRealm",
                      "required" => true,
                      "caller-propagation" => "supported"
                  },
                  {
                      "operation" => "remove",
                      "address" => [("subsystem" => "jacorb")]
                  },
                  {
                      "operation" => "remove",
                      "address" => [("extension" => "org.jboss.as.jacorb")]
                  }
              ],
              "migration-warnings" => []
          }
      }
      

      EAP 7.1.0.DR11+

      sh $EAP_HOME/bin/standalone.sh -c standalone-full.xml --admin-only &
      sh $EAP_HOME/bin/jboss-cli.sh -c --controller=localhost:9999 '/subsystem=jacorbescribe-migration'
      {
          "outcome" => "failed",
          "failure-description" => "WFLYIIOP0105: Inconsistent transport-config configuration: integrity is not supported but it is not configured with NONE value",
          "rolled-back" => true
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tomekadamski Tomasz Adamski
                  Reporter:
                  pkremens Petr Kremensky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: