add Connector to server.xml file

Hi Team,

I’m trying to add additional Connector to server.xml file, I try to use XML module so far without no luck. any ideas ?

community.general.xml:
path: server.xml
xpath: /Server/Service
add_children:

  • Connector:
    port: ‘8090’
    relaxedPathChars: “|”
    .
    .
    .

server.xml

  • name: Add Connector to server.xml
    community.general.xml:
    path: /path/to/server.xml
    xpath: /Server/Service
    add_children:
  • Connector:
    port: ‘8090’
    relaxedPathChars: “|”
    relaxedQueryChars: “|{}^\`"<>”
    maxThreads: ‘250’
    minSpareThreads: ‘50’