Hi Marcel,
Marcel Huth schrieb:
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.
It is a known problem with the APR libraries.
The fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=42580
introduced another problem (starting with APR 1.2.9).
The known fix has been applied to APR 1.2.x HEAD and 1.3.x HEAD two days ago
http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/poll/unix/port.c?r1=648007&r2=672346&diff_format=h
and:
http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/poll/unix/port.c?r1=663843&r2=672345&diff_format=h
The discussion can be found at:
http://marc.info/?t=121438277000004&r=1&w=2
So you can either:
- disable tcnative/APR in Tomcat until APR 1.3.3 or 1.2.13 get released
- Patch your source of APR with the above patch and rebuild
- downgrade to APR 1.2.8
With best regards,
Marcel
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]