oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.34k stars 745 forks source link

foot.jspf not found #4048

Closed nitinpuranik closed 1 year ago

nitinpuranik commented 1 year ago

Long time Opengrok user here. Love it, use it everyday. Since opengrok installation isn't an easy process, I even wrote an installation guide (Link) for absolute dummies. Google search for opengrok installation ranks my post at the very top :)

So it feels like I've lost an arm with this "ChronicleMap" issue I've run into lately. Any help would greatly be appreciated.

OS: Windows 11 Home

java version "17.0.4.1" 2022-08-18 LTS Java(TM) SE Runtime Environment (build 17.0.4.1+1-LTS-2) Java HotSpot(TM) 64-Bit Server VM (build 17.0.4.1+1-LTS-2, mixed mode, sharing)

Apache Tomcat: 10.0.26

Ctags: 2022-09-29/p5.9.20220925.0-7-g9072199

Opengrok: 1.7.35

The indexer seems to run just fine. Here's a screenshot. Index

Then I make sure the web.xml file points to the right configuration.xml, and launch the Tomcat server with its provided startup.bat script. This is where I get the ChronicleMap "SEVERE" error. Here's the screenshot. Apache

Tomcat eventually comes up fine and I get the welcome page at localhost:8080. But localhost:8080/source throws this error: browser

Please help! Browsing code sucks without Opengrok :(

vladak commented 1 year ago

The ChronicleMap log message is just a red herring. The inability to find foot.jspf is the main problem.

vladak commented 1 year ago

A dup of #4050

nitinpuranik commented 1 year ago

Thanks Vlad! Changing "foot.jspf" to "/foot.jspf" fixed the issue. So happy to have opengrok back :)