I understand you want to use APR, but just for troubleshooting purposes,
try using the same server.xml but changing the SSL connector from

protocol="org.apache.coyote.http11.Http11AprProtocol"

to

protocol="org.apache.coyote.http11.Http11NioProtocol"

If that works, then your problem is with APR, most likely with the
installation rather than a bug in APR itself.  I'd try recompiling APR (and
installing the recompiled version).

=Jeremy=

On Sun, Nov 20, 2011 at 6:44 PM, Eric Kemp <cruisingat90...@gmail.com>wrote:

> Below is my entire server.xml (minus commented lines)
>
> <?xml version='1.0' encoding='utf-8'?>
> <Server port="8005" shutdown="SecretCommand">
>
>  <Listener
>  className="org.apache.catalina.core.AprLifecycleListener"
>  SSLEngine="on" />
>

[snip]


>  <Service name="Catalina">
>
>  <Connector
>  port="8080"
>  protocol="HTTP/1.1"
>  connectionTimeout="20000"
>  URIEncoding="UTF-8"
>  redirectPort="8443" />
>
>  <!-- Adding the connector below causes the "Socket bind failed: [98]
> Address already in use" error to appear in catalina.out... and https
> does not work. -->
>   <Connector
>  port="8443"
>  protocol="org.apache.coyote.http11.Http11AprProtocol"
>  maxThreads="150"
>  scheme="https"
>  secure="true"
>  clientAuth="false"
>  sslProtocol="TLS"
>  SSLEnabled="true"
>   SSLCertificateKeyFile="/etc/apache2/ssl/myDomain.com.key"
>  SSLCACertificateFile="/etc/apache2/ssl/myDomain.com.ca.crt" />
>
>  <Engine name="Catalina" defaultHost="localhost">
>
>   <Realm
>   className="org.apache.catalina.realm.UserDatabaseRealm"
>   resourceName="UserDatabase"/>
>
>   <Host
>   name="localhost"
>   appBase="webapps"
>   unpackWARs="true"
>   autoDeploy="true"
>   xmlValidation="false"
>   xmlNamespaceAware="false">
>   </Host>
>
>  </Engine>
>  </Service>
> </Server>
>
>
> Thanks
>
>
>
>

Reply via email to