startjaxrx

Saturday, 10 July 2010 · 2 messages
AC
Andy Chambers10 Jul 2010 15:58 #
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
CG
Christian Grün10 Jul 2010 16:16 #
Andy, thanks for the notification and your solution; this issue will be covered in the next release. Christian
Quoted text · Andy Chambers · 33 lines
On Sat, Jul 10, 2010 at 3:58 PM, Andy Chambers <achambers.home at 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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >

⚡Generated with XQuery