Tomcat6.0, JDK6.0, WindowsXP APR works well under Tomcat5.5, but failed under tomcat6.0; Tomcat seems is infinite loop to output below log when I try to access https://localhost:443, FINE: Checking context[/host-manager] reload resource C:\Data\Home\Softwares\tomcat6.0\conf\context.xml Mar 4, 2008 1:21:47 PM org.apache.catalina.startup.HostConfig checkResources FINE: Checking context[/host-manager] reload resource C:\Data\Home\Softwares\tomcat6.0\webapps\host-manager\META-INF\context.xml Mar 4, 2008 1:21:47 PM org.apache.catalina.startup.HostConfig checkResources FINE: Checking context[/host-manager] reload resource C:\Data\Home\Softwares\tomcat6.0\conf\web.xml Mar 4, 2008 1:21:47 PM org.apache.catalina.startup.HostConfig checkResources Case reproduce: I can see below info while starting tomcat server, which should mean the tomcat starts successfully under the APR mode: Mar 3, 2008 4:58:17 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Mar 3, 2008 4:58:17 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-443 But I always fail to access localhost:443, which gives me some info like "The connection was interrupted" after very long wait. Attached my server.xml.
Created attachment 21615 [details] server.xml
The problem appears to be the infinite redeployment loop rather than the APR configuration. I can't tell the cause but it is probably related to your context configuration. I suggest you seek help from the users list. You'll need to include any changes you made to conf\context.xml and webapps\host-manager\META-INF\context.xml
hi Mark, Thanks for your reply. But I'm sure I only changed the server.xml after I download tomcat6.0.14 from official site,no any other changes on it. I compared both of context.xml you mentioned with the one in original version, they are same. I can enable APR by tomcat5.5 successfully.