Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-64082

Jira Configuration Tool sets wrong value of the 'protocol' attribute for Tomcat SSL configuration

XMLWordPrintable

      Steps to Reproduce

      1. Trigger JIRA Configuration Tool
      2. Got to "Web Server" tab
      3. Setup "Profile"  to use HTTPS
      4. Save changes.
      5. Start JIRA.

      Expected Results

      JIRA starts with SSL enabled

      Actual Results

      Tomcat fails and is unable to start. The below exception is thrown in the catalina.out file:

      06-Jan-2017 11:46:26.846 SEVERE [main] org.apache.catalina.connector.Connector.<init> Protocol handler instantiation failed
       java.lang.ClassNotFoundException: org.apache.coyote.http11.Http11Protocol
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:264)
      	at org.apache.catalina.connector.Connector.<init>(Connector.java:74)
      	at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:64)
      	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1190)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
      	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
      	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
      	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
      	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
      	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1458)
      	at org.apache.catalina.startup.Catalina.load(Catalina.java:578)
      	at org.apache.catalina.startup.Catalina.load(Catalina.java:629)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:311)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:494) 

      Workaround

      Modify JIRA_INSTALL/conf/server.xml. Change the protocol on your HTTPS connector to: protocol="org.apache.coyote.http11.Http11NioProtocol"

      • If you do not use the HTTP Connector but use the AJP Connector instead, use the AJP NIO protocol instead.
        • The AJP connector is: protocol="org.apache.coyote.ajp.AjpNioProtocol"

      Refer to Upgrade notes for 7.3 for instructions. See Running JIRA applications over SSL.

      See Running JIRA applications over SSL or HTTPS for full directions on running JIRA over SSL or HTTPS.

       

       

              pfarid Pawel Farid (Inactive)
              pfarid Pawel Farid (Inactive)
              Votes:
              18 Vote for this issue
              Watchers:
              38 Start watching this issue

                Created:
                Updated:
                Resolved: