Linux based Midtier URL using port 80 returns error.   How to troubleshoot this further?

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System Mid Tier


    APPLIES TO:

    Linux based midtiers



    QUESTION:

    How to enable the http connector in the server.xml when the only connector that is active is the AJP.
     


    ANSWER:

    Please make a backup of the current server.xml
    Stop Tomcat

     On examination of the server.xml. file, it shows that the only connector active in your Tomcat installation is the AJP port

        <!-- Define an AJP 1.3 Connector on port 8009 -->
          <Connector URIEncoding="UTF-8"
                     enableLookups="false"
                     port="8029"
                     protocol="AJP/1.3"
                     redirectPort="8443"/>

    This implies that you are using Apache HTTPD server as a front end to Apache Tomcat server. 
    You can verify this by running the command:  ps -ef |grep httpd   .... if you have httpd processes, then Apache HTTPD is active. 

    Test if the problem is occurring between the integration of Apache HTTPD and Apache Tomcat by activating the http connector in the server.xml   

       
    • Currently in server.xml we see this:
      
      <!---comment out port 8080 
      
          <Connector 
      
      port="8080"               maxHttpHeaderSize="8192" 
      
      URIEncoding="UTF-8" 
      
                     maxThreads="150" minSpareThreads="25" maxSpareThreads="75" 
      
                     enableLookups="false" redirectPort="8443" acceptCount="100" 
      
                     connectionTimeout="20000" disableUploadTimeout="true" /> 
      
             end comment out port 8080 --> 
      
          <!-- Note : To disable connection timeouts, set connectionTimeout value 
      
           to 0 --> 
      
       
    • Change to  (add highlighted)
      
         <!---comment out port 8080   -->
      
          <Connector 
      
      port="8080"               maxHttpHeaderSize="8192" 
      
      URIEncoding="UTF-8" 
      
                     maxThreads="150" minSpareThreads="25" maxSpareThreads="75" 
      
                     enableLookups="false" redirectPort="8443" acceptCount="100" 
      
                     connectionTimeout="20000" disableUploadTimeout="true" /> 
      
                <!--  end comment out port 8080 --> 
      
       
    • Save the file 
    •  
    • Then restart Tomcat.
    Then bypass the Apache HTTPD server and go directly to Apache Tomcat by using port 8080 in the URL:  
      http://<midtier>:8080/arsys/shared/login.jsp     
    If the problem persists, then look at the Tomcat/midtier layer.   If it does not, then look at the Apache HTTPD layer.  

     


    Article Number:

    000145409


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles