How do I change the default ROOT URL path for Yellowfin?

If you would like to change the name of the ROOT directory from Yellowfin\appserver\webapps\ to a name of your own choosing, please follow the steps below.

Please ensure that Yellowfin is stopped and note this will also change your URL string to access Yellowfin.

Step 1 : Changing the path and filename

Open the file Yellowfin/appserver/conf/Catalina/localhost/ROOT.xml and add your new context name in the "path" attribute (in this example we will use "DAVE"), save the file, then rename it from ROOT.xml to <context>.xml (eg "DAVE.xml").

Step 2 : Updating the web.xml file

Start up Yellowfin, if you are seeing errors and Yellowfin isn't launching, don't worry! Now open the file C:\Yellowfin 6 May\appserver\webapps\DAVE\WEB-INF\web.xml and change "ROOT" to "DAVE" in the following element which is to be found near the top of the file:

<!ENTITY jsps SYSTEM "file:/C:/Yellowfin/appserver/webapps/ROOT/WEB-INF/web-jsps.xml">

That's it!

From now on your URL will be http://localhost:8080/DAVE/

Note: If you had already run YF before your changes then you'll have a ROOT subfolder next to your newly created DAVE subfolder, delete it otherwise 2 instances of YF will try and be started. Which is bad.

Is article helpful?