TomCat 7 - Manager Access Failing

Spadge

Member
Oct 14, 2013
7
0
1
cPanel Access Level
Root Administrator
I'm trying to install Alfresco on my VPS running WHM/Cpanel and I've hit a wall at the TomCat install. I installed TomCat using EasyApache and I can access the default page at port 8080 however despite following numerous tutorials for setting up the tomcat-users.xml file I still can't access the backend. Neither of the usernames work, it just returns me to the blank login box.

Here is the code I have in my .xml

Code:
<tomcat-users>
<role rolename="manager-gui"/>
<user username="admin" password="password" roles="manager-gui"/>

<role rolename="admin-gui"/>
<user username="tomcat" password="password" roles="admin-gui"/>
</tomcat-users>
After editing the file I've been either been rebooting the whole VPS or recently I've tried scripts/restartsrv_tomcat neither to any avail.

If it helps any I'm also receiving emails from WHM that Tomcat has failed, followed shortly afterwards my emails saying it's recovered.

Please help, I'm beating my head against the desk over this.
 

ScottTh

Well-Known Member
Jan 28, 2013
157
2
18
Houston, TX
cPanel Access Level
Root Administrator
I'm trying to install Alfresco on my VPS running WHM/Cpanel and I've hit a wall at the TomCat install. I installed TomCat using EasyApache and I can access the default page at port 8080 however despite following numerous tutorials for setting up the tomcat-users.xml file I still can't access the backend. Neither of the usernames work, it just returns me to the blank login box.

Here is the code I have in my .xml

Code:
<tomcat-users>
<role rolename="manager-gui"/>
<user username="admin" password="password" roles="manager-gui"/>

<role rolename="admin-gui"/>
<user username="tomcat" password="password" roles="admin-gui"/>
</tomcat-users>
After editing the file I've been either been rebooting the whole VPS or recently I've tried scripts/restartsrv_tomcat neither to any avail.

If it helps any I'm also receiving emails from WHM that Tomcat has failed, followed shortly afterwards my emails saying it's recovered.

Please help, I'm beating my head against the desk over this.
Hi Spadge,

Can you provide us with a little more information? Specifically, what version of cPanel & WHM are you currently running?

Thank you!