Note that there are some explanatory texts on larger screens.

plurals
  1. POError Starting Tomcat 6 with SSL Enabled
    text
    copied!<p>I recently got a ssl certificate from godaddy. I created the keystore properly and put the following into my server.xml:</p> <pre><code> &lt;Connector port="8443" protocol="org.apache.coyote.Http11Protocol" SSLEnabled="true" maxThreads="200" scheme="https" secure="true" keystoreFile="C:\SSLCerts\mykeystore.keystore" keystorePass="password" clientAuth="false" sslProtocol="TLS" /&gt; </code></pre> <p>I originally had protocol="HTTP/1.1" but I was receiving an error stating that the keystoreFile and the keystorePass didn't have a matching value. Which caused a binding error on port 8443. I ran netstat and made sure nothing is running on 8443; did some googling and found to fix that issue to change the protocol as it is above. </p> <p>After adding that change I'm receiving the following error:</p> <pre><code>SEVERE: Failed to start connector [Connector[org.apache.coyote.Http11Protocol-84 43]] LifecycleException: service.getName(): "Catalina"; Protocol handler start fail ed: java.lang.NullPointerException at org.apache.catalina.connector.Connector.start(Connector.java:1102) at org.apache.catalina.core.StandardService.start(StandardService.java:5 40) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Jun 21, 2012 1:23:57 PM org.apache.coyote.ajp.AjpAprProtocol start </code></pre> <p>Does anyone have any idea what needs to be done in order to fix this? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload