Tomcat Manager

Andy_Brown
New Contributor
New Contributor

I'm looking for advice on installing Tomcat Manager on a multi context JSS.
Running on ubuntu 14.04 with tomcat that comes with the JSS installer and using jssmanager.sh
Has anyone done this?

1 ACCEPTED SOLUTION

Sonic84
Contributor III

tomcat manager can live in the webapps folder alongside ROOT or any other tomcat apps your running. I got my copy from the full install of Tomcat. Like the JSS, manager is a portable web app. You just need to add a manager role and user in Tomcat's tomcat-user.xml to log into it:

```<role rolename="manager-gui"/>
<user username="admin" password="[password]" roles="manager-gui"/>```

access manager at https://yourdevjss.company.com:port/manager

View solution in original post

3 REPLIES 3

Sonic84
Contributor III

tomcat manager can live in the webapps folder alongside ROOT or any other tomcat apps your running. I got my copy from the full install of Tomcat. Like the JSS, manager is a portable web app. You just need to add a manager role and user in Tomcat's tomcat-user.xml to log into it:

```<role rolename="manager-gui"/>
<user username="admin" password="[password]" roles="manager-gui"/>```

access manager at https://yourdevjss.company.com:port/manager

Andy_Brown
New Contributor
New Contributor

Thanks for pointing me in the right direction. I seem to have got it working on my dev server by
Downloading tomcat 7 source code and copying the /manager directory from /webapps into /usr/local/jss/tomcat/webapps
Editing the /usr/local/jss/tomcat/conf/tomcat-users.xml
```<role rolename="manager-gui"/>
<user username="admin" password="[password]" roles="manager-gui"/>```
Restarting Tomcat.
accessing the manager https://yourdevjss.company.com:8443/manager

franton
Valued Contributor III

Tomcat manager can be considered a security risk in most environments, especially on internet facing tomcat servers. Using @kitzy 's JSS Manager is a good start. I wrote my own script to automate this work, which you can find here