Thanks Vadim,
Unfortunately this didn't do it (I've tried with version going back to
1.23).  Adding a variable declaration to WebAdminServlet.java ('protected
Database database;') allowed it to compile without error, but now I get the
following error when accessing the webadmin viewer:

type Exception report

message

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

exception

javax.servlet.ServletException
        org.apache.xindice.webadmin.WebAdminContainer.handleRequest(Unknown 
Source)
        org.apache.xindice.webadmin.WebAdminServlet.service(Unknown Source)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.NullPointerException

org.apache.xindice.webadmin.viewer.components.ListCollectionViewer.execute(U
nknown Source)

org.apache.xindice.webadmin.viewer.components.ListCollectionViewer$BCELWrapp
er.execute(Unknown Source)
        org.apache.xindice.webadmin.WebAdminContainer.handleRequest(Unknown 
Source)
        org.apache.xindice.webadmin.WebAdminServlet.service(Unknown Source)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


note The full stack trace of the root cause is available in the Tomcat logs.

The tomcat log is attached, if that is useful.  Any further suggestions?
TIA,
John

-----Original Message-----
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 12:04 PM
To: [email protected]
Subject: Re: compile WebAdmin module from /scratchpad/


John Dunning wrote:

>Hi,
>I've been trying to compile the webadmin interface from the scratchpad
area,
>but keep experiencing the following error:
>
>
...

>    [javac]
>C:\Xindice-webadmin-source_NEW\xml-xindice\java\scratchpad\webadmin\src\org
\
>apache\xindice\webadmin\WebAdminServlet.java:100: cannot resolve symbol
>    [javac] symbol  : variable database
>    [javac] location: class org.apache.xindice.webadmin.WebAdminServlet
>    [javac]                    m_container.handleRequest(req, res, 
> this.database);             }
>    [javac]                                                             ^
>
>
...

>I'm not very experienced in Java; has anyone successfully compiled this, or
>can anyone direct me how to correct this error?
>
>

Xindice was updated to handle multiple databases; and webadmin - not
yet. If you are not strong in java... Pull previous version of the
XindiceServlet from the CVS, which does not yet support multiple
databases. webadmin should compile with it.

Vadim

Attachment: stdout.log
Description: Binary data

Reply via email to