On Yellow Dog Linux 3.0.1, I get the following after
launching Treebeard with the shell script
"treebeard.sh", I get the following:
Couldn't start Ashpool: java.sql.SQLException: Could
not open datastore: SAX2 driver class
org.apache.crimson.parser.XMLReaderImpl not found
java.sql.SQLException: Could not open datastore: SAX2
driver class org.apache.crimson.parser.XMLReaderImpl
not found
at
com.rohanclan.ashpool.jdbc.Driver.connect(Driver.java:141)
at
java.sql.DriverManager.getConnection(DriverManager.java:539)
at
java.sql.DriverManager.getConnection(DriverManager.java:158)
at com.robrohan.tools.AshpoolDB.startUp(Unknown
Source)
at com.robrohan.fangorn.Fangorn.<init>(Unknown
Source)
at com.robrohan.fangorn.Fangorn.main(Unknown
Source)
Exception in thread "main" java.lang.NullPointerException
at
com.robrohan.tools.AshpoolDB.executeQuery(Unknown Source)
at com.robrohan.fangorn.Fangorn.<init>(Unknown
Source)
at com.robrohan.fangorn.Fangorn.main(Unknown
Source)
"treebeard.sh" contains:
#!/bin/sh
java -classpath
"$CLASSPATH:/home/jhart/Treebeard:/home/jhart/Treebeard/treebeard.jar:/home/jhart/Treebeard/regexp.jar:/home/jhart/Treebeard/Ashpool.jar:/home/jhart/Treebeard/fop.jar:/home/jhart/Treebeard/avalon.jar:/home/jhart/Treebeard/xercesImpl.jar:/home/jhart/Treebeard/bsh.jar"
-Dtreebeard.config.path="/home/jhart/Treebeard"
-Dtreebeard.lib.path="/home/jhart/Treebeard"
com.robrohan.fangorn.Fangorn
java information:
[jhart@A3590 Treebeard]$ java -showversion
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build
cxppc32142-20040917 (JIT enabled: jitc))
Got the exact same error on WinXP SP3 machine, jre 1.7.
starting like
java -classpath "%CLASSPATH%;C:\Program Files\Treebeard;C:\Program Files\Treebeard\treebeard.jar;C:\Program Files\Treebeard\regexp.jar;C:\Program Files\Treebeard\Ashpool.jar;C:\Program Files\Treebeard\fop.jar;C:\Program Files\Treebeard\avalon.jar;C:\Program Files\Treebeard\xercesImpl.jar;C:\Program Files\Treebeard\bsh.jar" -Dtreebeard.config.path="C:\Program Files\Treebeard" -Dtreebeard.lib.path="C:\Program Files\Treebeard" com.robrohan.fangorn.Fangorn