Hi,

I have been tasked with setting up an OpenGrok instance and have been
provided a dedicated box for it. Since the box will only run this
service, I am trying to make opengrok the root context application.

On the tomcat side, I have achieved this by renaming source.war to
ROOT.war (suggestions on nicer ways to accomplish this are also
welcomed)

However, OpenGrok itself, even when using -w / in all invocations to
ser the root as the application context, doesn't seem to work, I can
never go beyond the index page without an error:

> org.apache.jasper.JasperException: An exception occurred processing JSP page 
> /error.jsp at line 35
>
> 32:
> 33:     String context = request.getContextPath();
> 34:     String configError = "";
> 35:     if (cfg.getSourceRootPath().isEmpty()) {
> 36:         configError = "CONFIGURATION parameter has not been configured in 
> "
> 37:             + "web.xml! Please configure your webapp.";
> 38:     } else if (!cfg.getEnv().getSourceRootFile().isDirectory()) {

The source root is set up correctly in the config file and just to
cover everything, I simlinked it to /var/opengrok/src. With no
success.

So, how does one go about setting OpenGrok as the root context application?

Thanks and regards,

-- 
Jacobo de Vera
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to