I just follow the steps here: http://www.hierax.org/2009/10/opengrok-on-ubuntu-w-tomcat6.html And get opengrok works with index searching but history and annotate did not work.
Specifically, when viewing a file, the "Home", "History", "Annotate", "Line #", etc., buttons are present in the ribbon above the displayed source file, most are links that do what they say, but History and Annotate are not links.
When I click on the folder name to display a list of files, each file has tiny H-A-D links, where H and A stand for history and annotate, respectively. This time they are links (for example, "A" augments the URL with a=true), but when I click on it, the file is displayed without any annotation.
This can happen both with SVN and with TFS.
It can happen that in the same opengrok installation, it is possible that only some files are so affected (this was observed with a TFS only installation).
Here is my command for generating the configuration.xml
sudo java -jar /var/lib/opengrok/bin/opengrok.jar -W /var/lib/opengrok/configuration.xml -c /usr/bin/ctages -P -S -v -s /var/lib/opengrok/src/ -d /var/lib/opengrok/data -w opengrok -L polished -r on