Disclaimer: I'm not a server admin.
I recently put up tomcat on my home server and I intend to link it to my apache2 service. My issue here is that I can't even get manager as it seems that whenever i enable the tomcat-users.xml, tomcat will hang.
For my Debian server, the users file is expected in /etc/tomcat6/tomcat-users.xml
.
Prior to creating the file, tomcat responded as expected with the test page. Once I created the file, it stopped, and resumed to work when I removed it.
Testing through telnet confirmed my suspicions as it hung on GET / requests, though connected during that time.
My tomcat-users.xml file is as so ($user , and $password substituted)
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="$user" password="$password" roles="admin,manager"/>
</tomcat-users>
This is a default tomcat6 installation, so why would this cause a hang? how can I resolve this?
The syntax and hanging has been resolved thanks to jmort253, however <domain>:<port>/manager/html
is still unavailable. Is there something equally silly I'm missing here? the documentation points that the default package should have this stock.