OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.15k stars 591 forks source link

plugin-cfg.xml not correct if virtualHost configured with allowedFromEndpointRef #5905

Open sebratton opened 5 years ago

sebratton commented 5 years ago

The plugin-cfg.xml generated at startup (or with the MBean call) is missing the Uri and Route info when the server configures a virtualHost specifying the allowedFromEndpointRef element. e.g.

  <virtualHost id="my_virtual_host" allowFromEndpointRef="my_HttpEndpoint">
      <hostAlias>localhost:9180</hostAlias>
  </virtualHost>

If the "allowedFromEndpointRef" attribute is removed, the plugin-cfg is correctly generated.

sebratton commented 5 years ago

@pmd1nh Hi Phu could you please assign this to appropriate team? The problem persists with liberty 19.0.0.2. I've attached a server config zip that reproduces the behavior described above. server1.zip