- First downloaded Tomcat 7
- Then followed the steps to set JAVA_HOME and JRE_HOME
- Startup.sh and it worked. Stopped it
- Extract the native from bin gz file.
- Tried compiling, didn't work. Said APR not there
- Checked a blog, found the APR source, built that one and installed it using 'sudo'
- Built tomcat native with the APR above, it worked. Installed it too using 'sudo'
- Start Tomcat and it did not pick up the APR
- Ah...had forgot to update the LD_LIBRARY_PATH. So updated it and viola it works.
- 5 years and still I can do it (well just followed instructions)
"ajp-apr-8009"
Max threads: 200 Current thread count: 0 Current thread busy: 0 Keeped alive sockets count: 0
Max processing time: 0 ms Processing time: 0.0 s Request count: 0 Error count: 0 Bytes received: 0.00 MB Bytes sent: 0.00 MB
Stage | Time | B Sent | B Recv | Client | VHost | Request |
---|
P: Parse and prepare request S: Service F: Finishing R: Ready K: Keepalive
"http-apr-8080"
Max threads: 200 Current thread count: 5 Current thread busy: 3 Keeped alive sockets count: 0
Max processing time: 1769 ms Processing time: 1.967 s Request count: 2 Error count: 1 Bytes received: 0.00 MB Bytes sent: 0.01 MB
Stage | Time | B Sent | B Recv | Client | VHost | Request |
---|---|---|---|---|---|---|
P | ? | ? | ? | ? | ? | ? |
S | 28 ms | 0 KB | 0 KB | 127.0.0.1 | localhost | GET /manager/status HTTP/1.1 |
P | ? | ? | ? | ? | ? | ? |
P: Parse and prepare request S: Service F: Finishing R: Ready K: Keepalive