How can I monitor/log Tomcat’s thread pool?

Direct JMX access Try adding this to catalina.sh/bat: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5005 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false UPDATE: Alex P suggest that the following settings might also be required in some situations: -Dcom.sun.management.jmxremote.host=localhost This enables remote anonymous JMX connections on port 5005. You may also consider JVisualVM which is much more please and allows to browse JMX via plugin. What … Read more

The AJP Connector is configured with secretRequired=”true” but the secret attribute is either null or “” after upgrade to 2.2.5

Navigate to the server.xml in tomcat: Replace AJP with: <Connector protocol=”AJP/1.3″ address=”::1″ port=”8009″ redirectPort=”8443″ secretRequired=”false” /> But make sure that you understand the security implications of that (see Krzysztof Skrzynecki’s answer for that).

What is AJP protocol used for?

More specifically, and not really covered in that ehow article, there’s some non-trivial overhead to parsing http headers on requests and creating them on responses. If you are fronting your app server with a web proxy server, AJP allows you to skip that extra parsing and just pass efficient binary representations of the headers between … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)