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: "[]|"
          .
          .
          .

 <Connector port="8090" relaxedPathChars="[]|" 
relaxedQueryChars="[]|{}^\`&quot;&lt;&gt;" maxThreads="250" 
minSpareThreads="50" />


server.xml

<Server port="8005" shutdown="SHUTDOWN">
    <Listener 
className="org.apache.catalina.startup.VersionLoggerListener"/>
    <Listener className="org.apache.catalina.core.AprLifecycleListener" 
SSLEngine="on"/>
    <Listener 
className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
    <Listener        
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
    <Listener 
className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>

    <Service name="Catalina">
        <!--
        

        <Connector port="8080" relaxedPathChars="[]|" 
relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
                   maxThreads="150" minSpareThreads="25" 
connectionTimeout="20000" enableLookups="false"
                   maxHttpHeaderSize="8192" protocol="HTTP/1.1" 
useBodyEncodingForURI="true" redirectPort="8443"
                   acceptCount="100" disableUploadTimeout="true" 
bindOnInit="false"/>

        <!--
        
 
==============================================================================================================
         HTTP - Proxying Jira via Apache or Nginx over HTTP

         If you're proxying traffic to Jira over HTTP, uncomment the below 
connector and comment out the others.
         Ensure the proxyName and proxyPort are updated with the 
appropriate information if necessary as per the docs.

         See the following for more information:

            Apache - https://confluence.atlassian.com/x/4xQLM
            nginx  - https://confluence.atlassian.com/x/DAFmGQ
        
 
==============================================================================================================
        -->

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/21172577-12cb-455d-8bb7-bcd0cc78c226n%40googlegroups.com.

Reply via email to