How do I enable the Tomcat Management Console?

The version of Tomcat packaged with Yellowfin comes with a Manager Console, though it is disabled by default. However, it's relatively easy to enable the manager web apps for Tomcat.

Download the tomcat distribution from the tomcat website:

https://tomcat.apache.org/

Ideally, you should get the same version of Tomcat that your Yellowfin install uses - the current version shipped with Yellowfin 7.1 is Tomcat 7.0.59 - you can get the download for that version right here:

http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.59/bin/apache-tomcat-7.0.59.zip

Extract the zip file somewhere, and copy the "manager" and "host-manager" directories from under apache-tomcat-7.0.59/webapps/ into the Yellowfin/appserver/webapps/ directory. Then you can start Yellowfin and they should be available through the URLs:

http://<server>/manager/html
http://<server>/host-manager/html

You will also need to add user authentication information to the file Yellowfin/appserver/conf/tomcat-users.xml

EDIT: The following should go directly under the <server> element:

<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>

The following should go inside the <Engine> element:

<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
</Realm>

This should prevent authentication issues. If you have any additional questions post in the community...

Is article helpful?