Hi All,
The startjaxrx script doesn't add all the necessary jars to the classpath before starting BaseX. Changing it to the following worked for me....
#!/bin/bash
# Script for running the JaxRx server
# Path to this script PWD=`dirname $0`
# Check: path to BaseX binary BXPATH=$PWD/BaseX61.jar
# Classpath LIB=$PWD/lib CP=$PWD/BaseX61-jaxrx.jar:${BXPATH} for jar in ${LIB}/*.jar do CP=${CP}:${jar} done
# Assign more memory VM=-Xmx1g
# Run JaxRx java -cp "$CP:." $VM StartJaxRx
Andy,
thanks for the notification and your solution; this issue will be covered in the next release.
Christian
On Sat, Jul 10, 2010 at 3:58 PM, Andy Chambers achambers.home@gmail.com wrote:
Hi All, The startjaxrx script doesn't add all the necessary jars to the classpath before starting BaseX. Changing it to the following worked for me.... #!/bin/bash # Script for running the JaxRx server # Path to this script PWD=`dirname $0` # Check: path to BaseX binary BXPATH=$PWD/BaseX61.jar # Classpath LIB=$PWD/lib CP=$PWD/BaseX61-jaxrx.jar:${BXPATH} for jar in ${LIB}/*.jar do CP=${CP}:${jar} done # Assign more memory VM=-Xmx1g # Run JaxRx java -cp "$CP:." $VM StartJaxRx
--
Andy Chambers Formedix Ltd
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de