I want to use Opengrok and Glassfish on a Fedora 9 system and I am
having trouble getting it to work.

I want to index the Linux kernel source tree and I believe opengrok
has done this.

$  opengrok -s /home/rick/rpmbuild -d /home/rick/tmp/opengrok-data -W
/home/rick/tmp/opengrok-data/opengrok-config.xml

There is 3.1 GB of files in opengrok-data when opengrok completes and
the Opengrok Swing GUI seems to work fine.  Though the Swing GUI works
fine, I'd like to see source code with XRef links (ala LXR).

I believe the problem is the webapp deployment.  Firstly, although
Fedora 9 has an opengrok RPM (opengrok-0.6-9.hg275.fc9.noarch), I
could find no "source.war".  After downloading
http://www.opensolaris.org/os/project/opengrok/files/opengrok-0.6.1.tar.gz
and extracting source.war, I modified web.xml to use the opengrok
generated configuration file.

 <context-param>
   <param-name>CONFIGURATION</param-name>
   <param-value>/home/rick/tmp/opengrok-data/opengrok-config.xml</param-value>
   <description>Full path to the configuration file where OpenGrok
can read it's configuration</description>
 </context-param>

I then jared up the source.war:

$ jar -cvf source.war source.war-contents

I moved source.war to the glassfish autodeploy directory (as I had
done with the sample hello.war - and it worked) and then went to the
proper localhost url and was presented with "glassfish anger".  Here's
a snippet:
_________________
HTTP Status 500 -

type Exception report

message

descriptionThe server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP

PWC6199: Generated servlet error:
package org.opensolaris.opengrok.configuration does not exist

PWC6199: Generated servlet error:
package org.opensolaris.opengrok.configuration does not exist

PWC6199: Generated servlet error:
package org.opensolaris.opengrok.web does not exist
_________________

How can I get this to work properly?

Thanks in advance for your help.

Reply via email to