[basex-talk] SQL memory error

2015-01-07 Thread Erol Akarsu
Hi Christian, I have another issue with following code snippet. It works fine with small JDBC result rows returned from database. But if your sql query returns say 40 million rows, then you will get out of memory exception easily. I guess Basex first read whole 40 million rows into memory first,

Re: [basex-talk] Feature request: RNG and Schematron validation

2015-01-07 Thread Andy Bunce
Hi Philipp, At one point I converted Norman Walsh's ML-Schematron https://github.com/ndw/ML-Schematron to run under BaseX. It is not hard to do. But it would be nice to have a standard, perhaps EXpath https://groups.google.com/forum/#!topic/expath/_e-S7ui-gI4. Regards /Andy On 7 January 2015 at

[basex-talk] BaseX Concurrency

2015-01-07 Thread Bondeson, Carl
I have a multithreaded web application running under JBoss 6.2. It seems that 2 threads are attempting access concurrently. Any suggestions. 01/07/15 10:07:14 WARN [server ]: Error creating connection to BaseX server - attempt 0 java.io.IOException: Improper use? Potential bug? Your feedback is

Re: [basex-talk] BaseX Concurrency

2015-01-07 Thread Bondeson, Carl
Additional information There are 2 classes running that are both using BaseX. Mine uses a client/server paradigm // create BaseX session on server mapperSession = new ClientSession("localhost", 1984, "admin", "admin"); // open databa

[basex-talk] basexgui.bat doesn't run under Windows Server 2008 R2

2015-01-07 Thread Dave Haans
Hi everyone, I'm having an issue running the basexgui.bat file under Server 2008 R2. It runs fine on Windows 7 Pro 64-bit. All the other batch files work under Server 2008 and Win 7. I added a pause to the batch file and there's no feedback (no errors) but the BaseX GUI simply does not start

[basex-talk] Silly XQUERY exception

2015-01-07 Thread Mansi Sheth
Hello, I feel very stupid and frustrated, not able to fix this error: Below, is a my query code, which I am trying to run. I am passing the value for "contains" clause thru command line and I expect to receive # of xml files matching $cmd xpath. I always get Stopped at /veracode/msheth/BaseXWeb/

Re: [basex-talk] BaseX Concurrency

2015-01-07 Thread Christian Grün
Hi Carl, I am sorry we cannot provide feedback for older version of BaseX, as potential error may already have been fixed. Could you please check out our latest stable snapshot [1] and report back to us if the problem persists or has been fixed? Thanks in advance, Christian [1] http://files.base

[basex-talk] Linux lessons

2015-01-07 Thread Wendell Piez
Dear BaseX people, I am a hopeless newbie when it comes to Linux. Seriously, my ignorance is astonishing. I am now running Linux Mint. It's a huge amount of fun but I'm left guessing about many simply things. I am running the current BaseX 7.9. I am using it to provide a pipeline architecture cal

Re: [basex-talk] Linux lessons

2015-01-07 Thread Wendell Piez
Hi again, Correction: of course, under the "composite" path, neither path works. Perhaps BaseX can only have a single RestXQ directory at a time? Thanks again for your patience with me. :-) Cheers, Wendell On Wed, Jan 7, 2015 at 5:29 PM, Wendell Piez wrote: > Dear BaseX people, > > I am a hop

Re: [basex-talk] BaseX 8.0 snapshot on OpenShift

2015-01-07 Thread Andy Bunce
Thats working for me[1]. Thanks /Andy [1] http://jan07-apb.rhcloud.com/ On 6 January 2015 at 10:59, Christian Grün wrote: > Hi Andy, > > > I wonder if SERVERHOST should be set here? As with SERVER PORT.. > > > https://github.com/BaseXdb/basex/blob/0af4ead914d3d1946e5a8ce9672811a34f9330c2/basex-

[basex-talk] Index cvs error throws "Content is not allowed in prolog"

2015-01-07 Thread Erol Akarsu
I am trying to index an csv file through basexclient. I issued this command SET INTPARSE false; CREATE DB Properties Properties.csv got these error message in basex server. What shall I do to index csv through basexclient command? [kangadm@kangapp12 javaProcess]$ basexserver -d BaseX 7.9 [Serve

Re: [basex-talk] Index cvs error throws "Content is not allowed in prolog"

2015-01-07 Thread Erol Akarsu
I solved this one, SET PARSER csv SET CSVPARSER encoding=utf-8, header=true, separator=comma SET CREATEFILTER *.csv But now with 16565274 rows csv file, 690M. During indexing, I am getting this. I have set memory to 30G Creating Database... java.lang.NegativeArraySizeException at java.ut

[basex-talk] Reg : Setting Time Out

2015-01-07 Thread Chandrasekhar
Dear Christian We are optimizing the collection database(5 GB DB SIZE) .After some time(30 minutes) we are getting the below message. org.basex.core.BaseXException: Timeout exceeded. We are not able to setting time out option.We are setting the time

Re: [basex-talk] Silly XQUERY exception

2015-01-07 Thread Lukas Kircher
Hi Mansi, > let $cmd := "/A/*/descendant::C/descandant::*[contains(@name,'"|| $n ||"')]” Just a quick scan - I marked the problem in above - I would try ‘descendant’ instead of 'descandant’. Cheers, Lukas