From: Joe W. <jo...@gm...> - 2008-09-05 06:50:43
|
On Tue, Sep 2, 2008 at 2:57 PM, Wolfgang <wol...@ex...> wrote: > Build 8124 addressed the Java service wrapper issue. The jar signing problem > is a different one and I'm not sure where it comes from. I'm afraid that my troubles with the service wrapper for Windows and SVN builds of eXist have not gone away. I systematically built everything up from scratch on my own machine (WinXP Thinkpad): completely wiping eXist, downloading a fresh SVN copy (rev8149), reinstalling the latest JDK and JRE (1.6.0_07), setting my System variables (via System Properties > Advanced > Environment Variables) for JAVA_HOME to point to the JDK (C:\Program Files\Java\jdk_1.6.0_07) and EXIST_HOME to point to the fresh install (C:\Program Files\eXist). Below [1] is the wrapper.log that consistently results from starting the service after (1) doing all of the above, (2) then running bin\batch.bat, (3) then running tools\wrapper\bin\install.bat, (4) then starting the service via Control Panel > Administrative Tools > Services. The log clearly points to a "java.io.FileNotFoundException: C:\Program Files\eXist\${jetty.dir}\etc\jetty.xml (The system cannot find the path specified)". This led me to look all around (build\build-impl.xml, tools\wrapper\build.xml, tools\wrapper\conf\wrapper.conf) to see where a definition for this jetty.dir variable might have been incorrect, but I had no luck. (Note that eXist works fine when launched from bin\startup.bat.) I'm sorry to harp on this service issue. It's just that this is the only way we can run eXist at work. If I can successfully get the service running on this Thinkpad of mine, I'm hopeful the same issues we're seeing at work with the service wrapper will be addressed. I'd very much appreciate anyone's suggestions. Thanks, - Joe [1 - wrapper.log] STATUS | wrapper | 2008/09/05 02:13:06 | eXist Native XML Database installed. STATUS | wrapper | 2008/09/05 02:13:31 | --> Wrapper Started as Service STATUS | wrapper | 2008/09/05 02:13:31 | Launching a JVM... INFO | jvm 1 | 2008/09/05 02:13:38 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2008/09/05 02:13:38 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2008/09/05 02:13:38 | INFO | jvm 1 | 2008/09/05 02:13:39 | jetty.home = ../../../${jetty.dir} INFO | jvm 1 | 2008/09/05 02:13:39 | INFO | jvm 1 | 2008/09/05 02:13:39 | WARN: The following JAR file entries from 'org/exist/start/start.config' aren't available (this may NOT be a problem): INFO | jvm 1 | 2008/09/05 02:13:39 | C:\Program Files\eXist\examples.jar INFO | jvm 1 | 2008/09/05 02:13:39 | C:\Program Files\eXist\tools\ircbot\dist\ircbot.jar INFO | jvm 1 | 2008/09/05 02:13:39 | INFO | jvm 1 | 2008/09/05 02:13:39 | log4j:WARN Continuable parsing error 1 and column 194 INFO | jvm 1 | 2008/09/05 02:13:39 | log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null". INFO | jvm 1 | 2008/09/05 02:13:39 | log4j:WARN Continuable parsing error 1 and column 194 INFO | jvm 1 | 2008/09/05 02:13:39 | log4j:WARN Document is invalid: no grammar found. INFO | jvm 1 | 2008/09/05 02:13:39 | Configuring eXist from C:\Program Files\eXist\tools\wrapper\bin\..\..\..\conf.xml INFO | jvm 1 | 2008/09/05 02:13:42 | java.io.FileNotFoundException: C:\Program Files\eXist\${jetty.dir}\etc\jetty.xml (The system cannot find the path specified) INFO | jvm 1 | 2008/09/05 02:13:42 | at java.io.FileInputStream.open(Native Method) INFO | jvm 1 | 2008/09/05 02:13:42 | at java.io.FileInputStream.<init>(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at java.io.FileInputStream.<init>(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.mortbay.xml.XmlParser.parse(XmlParser.java:176) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.mortbay.xml.XmlParser.parse(XmlParser.java:192) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.mortbay.xml.XmlConfiguration.<init>(XmlConfiguration.java:112) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.mortbay.jetty.Server.<init>(Server.java:109) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.mortbay.jetty.Server.<init>(Server.java:83) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.exist.JettyStart.run(JettyStart.java:99) INFO | jvm 1 | 2008/09/05 02:13:42 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2008/09/05 02:13:42 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.exist.wrapper.Main.start(Unknown Source) INFO | jvm 1 | 2008/09/05 02:13:42 | at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) |