5 Replies Latest reply on Jun 22, 2016 9:54 PM by Mike Meusey

    cli undertow subsystem in WildFly

    Mike Meusey Newbie

      I am migrating a JBoss AS 7.2 application to WildFly 9.0.2.  Part of the deployment is creating a CLI file with a rewrite rule as follows:

       

           /subsystem=web/virtual-server=default-host/rewrite=rule-1:add(pattern="/",substitution="/my_custom_path",flags="R,NC")

       

      Which results in

       

            Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [

                [exec]     ("subsystem" => "web"),

                [exec]     ("virtual-server" => "default-host"),

                [exec]     ("rewrite" => "rule-1")

       

      If I understand correctly, WF replaced the web subsytem with undertow, but I cannot find documentation on how to migrate the CLI commands from 7.2.  Can you point me to the correct place?