I've been playing around with starting Xindice from within an init
method of a servlet I'm using the system.xml provided in the source and
trying to Instantiate my own Kernel, like so:
public void init(ServletConfig config) throws ServletException {
super.init(config);
System.out.println();
System.out.println(Title+" "+Version+" ("+Codename+")");
System.out.println();
ServletContext ctx = config.getServletContext();
String path = ctx.getRealPath("");
if(kernel == null){
File cfg = new File(path, "/WEB-INF/conf/system.xml");
kernel = new
org.apache.xindice.server.Kernel(cfg.getAbsolutePath());
}
System.out.println(kernel.toString());
}
My problem is I'm getting a "Please set the openorb.home property".
What is 'openorb.home', and what should it be set to?
Can this just be set in the System.properties of the JVM as opposed to
the Environment of the server?
-Mark Diggory