On 17.11.2009 02:33, ndunn1979 wrote: > > > Rainer Jung-3 wrote: >> >> >> BTW: Do you use the tomcat native connector? If so, try whether the >> problem comes from tcnative. >> >> > > So, I tried increasing the log level on the Tomcat side, but it was a stab > in the dark because I'm not very familiar with the default style of logging > (I use log4j, and Tomcat is not setup to use that by default). I changed > some logger settings, but it didn't show me anything so I went ahead and > grabbed the tomcat source so I could determine if there was any logging to > be seen or if I had misconfigured the logging.properties file. > > I checked the Connector class to find out where I should log and found the > check for APR support. I googled that and found the documentation > referencing the global AprLifecycleListener so I commented that out of the > server.xml file. That didn't change a thing, but I recognized the JNI call > in the test for APR support so I decided to rename tcnative-1.dll. That > forced it to use the java implementation of AJP and all of a sudden my page > works correctly. > > So I know for a fact that the issue is with tcnative (thanks for that hint > Ranier).
Good to know! > That leaves me with a few questions: > > Why did commenting out the following line not affect it's usage: > <Listener className="org.apache.catalina.core.AprLifecycleListener" /> > > The docs say: > "The APR library is configured by the AprLifecycleListener. This listener is > configured as a global listener under the Server element in server.xml. If > the listener can't find the APR/native library when it started, the library > path it searched will be displayed." > > Could any of the configuration options (firstReadTimeout, pollTime, > pollerSize, useSendFile, sendfileSize) be causing my problems? > > If so, what could be causing my system to behave incorrectly with the > default settings? > > What should my next step be in trying to understand why this is not working > on my machine? I suggest you start a new discussion thread concerning the listener, because not everybody reads all mails on the list. Pople decide by Subject line, which topics they are interested in. Concerning the tcnative problem I suggest you - replace tcnative with the most recent version. Tomcat will stay compatible with it. - If the problem persists with that version, open an issue in Bugzilla Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org