I've just installed Tomcat on CentOS 6.3.
# yum install tomcat6
# service tomcat6 start
According to the tutorials I've looked at, I should be able to see a test page now.
# curl -I 127.0.0.1:8080
HTTP/1.1 400 Bad Request
...
# curl -I 127.0.0.1:8080/manager/html
HTTP/1.1 400 Bad Request
...
Why am I getting 400 here? Is there something else that I need to configure?
Best Answer
Because the
webapps
directory is empty:https://issues.apache.org/bugzilla/show_bug.cgi?id=50734
Either create a dummy
ROOT
context to get a 404 status:or... install the
tomcat6-webapps
package to get a 200:yum info tomcat6-webapps
tree -L 2 /usr/share/tomcat6/webapps/
curl -I localhost:8080