Just trying this out and it's not quite working for me.
Should the script be creating the logs directory?
./xindice.sh: /home/kstaken/Projects/xml-xindice/logs/xindice.pid: No such file or directory
./xindice.sh: /home/kstaken/Projects/xml-xindice/logs/xindice.out: No such file or directory
cat: /home/kstaken/Projects/xml-xindice/logs/xindice.pid: No such file or directory
Also I'm getting this in xindice.out
23:02:58.343 WARN!!
java.lang.NumberFormatException: tools/jetty/conf/main.xml
at java.lang.Integer.parseInt(Integer.java:409)
at java.lang.Integer.parseInt(Integer.java:458)
at org.mortbay.util.InetAddrPort.<init>(InetAddrPort.java:83)
at org.mortbay.http.HttpServer.main(HttpServer.java:1410)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)End result, the server doesn't start (even after creating the logs directory).
Also should any references to paths within the command line be taken relative to $XINDICE_HOME (i.e. forehead.conf.file)?
On Monday, February 24, 2003, at 06:41 AM, Gianugo Rabellino wrote:
For the few of you who don't read commit messages, I've just added Jetty to our repository, mimicking (well, copying shamelessly is a better description actually... :-) the Cocoon environment.Kimbro Staken
Please try it out and LMK if it works for you. For the Unix guys, ./xindice.sh should be pretty self-explanatory, I tried to write it in a init.d way. MS users might be a bit out of luck: I have no Windows machine handy, so I could just make a wild guess on what to do. Please feel free to correct everything.
Once we have a stable setup, I will update the docs.
Ciao,
-- Gianugo Rabellino Pro-netics s.r.l. http://www.pro-netics.com
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org
