Hi,

I've a problem using the tomcat APR connector with my Tomcat 6.0.16 under
Solaris 10.

I've compiled the APR and the Tomcat native Connector. My server.xml is
configured to use the connector I've compiled. When Tomcat start up
everything looks fine. The server uses the APR connector classes for every
connector defined in the config file. (http, https and ajp).

When you try to look at the myserver:8080/manager/html page you get only a
blank white page with no html sourcecode. If you try to send a "GET /" with
telnet to the server the connection will be terminated by the server before
you can get any results.

A look to the catalina.out log file shows the following problem:

Jun 27, 2008 5:34:38 PM org.apache.tomcat.util.net.AprEndpoint$Poller run
SEVERE: Socket [62] poll event: [Timer expired] {2}

This error you get for every page request. The only exception is a page
request through the apache server in front of my tomcat. "Small" pages can
be visited, "larger" ones produce the same error.

I'm using APR 1.2.12. Here is a snippet of my server.xml file:

<Server port="8005" shutdown="SHUTDOWN"> ...
<Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" /> ...
<Service name="Catalina">
<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4" maxIdleTime="60000" /> ...
        <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               redirectPort="8443" />

    <Connector port="8443"
               protocol="HTTP/1.1" SSLEnabled="true"
               executor="tomcatThreadPool" connectionTimeout="20000"
               scheme="https" secure="true"
               enableLookups="false"
               sslProtocol="all"
               SSLCertificateFile="mycert.crt"
               SSLCertificateKeyFile="mycert.key" />

    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
                enableLookups="false"
                executor="tomcatThreadPool"
                connectionTimeout="20000" /> ...
</Server>

I hope there is anybody who knows this problem. I've testet different
configurations with or without executor and different pollTimes for the
connectors, but it doesn't solve the problem.


With best regards,

Marcel


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to