How to migrate rewrite rule from EAP 6 to EAP 7 using migration tool?

Solution Verified - Updated -

Issue

  • How to migrate rewrite rule from EAP 6 to EAP 7 using migration tool?
  • Getting warning messages while migrating rewrite from EAP 6 to EAP7:
18:26:46,120 INFO  [org.jboss.migration.core.task.ServerMigrationTask#268] (main) Subsystem config /subsystem=web migrated with warnings: [WFLYWEB0002: Could not migrate resource {
    "pattern" => ".*",
    "substitution" => "-",
    "flags" => "gone",
    "operation" => "add",
    "address" => [
        ("subsystem" => "web"),
        ("virtual-server" => "default-host"),
        ("rewrite" => "rule-1")
    ]
},
--
--

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content