Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-26 Thread Christian Grün
Hi Alex, The problem has hopefully been fixed with the latest snapshot [1]. Could you please give it a try? Cheers, Christian [1] http://files.basex.org/releases/latest On Sun, May 24, 2015 at 1:20 AM, Christian Grün wrote: > Hi Alex, > >> No, it's located in C:\Users\user\.basex > > Oh yes,

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Christian Grün
Hi Alex, > No, it's located in C:\Users\user\.basex Oh yes, I can now see what's going wrong: In BaseX82.exe, the BaseX82.jar file was moved into the lib directory. Because of that, the program directory (which is the parent directory of lib) is not correctly detected anymore. The webapp directo

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Alexander Shpack
I replied inline * Is it the .basex file which is located in "C:\Program Files (x86)\BaseX" ? > No, it's located in C:\Users\user\.basex > * What happens if you start the start menu shortcut "BaseX Server (Start)"? > C:/Program Files (x86)/BaseX/.basex: writing new configuration file. HTTP Ser

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Christian Grün
Thanks for the details. Recently, I only tried the installer with Win XP, but we'll do some more testing soon. Two last questions: > Because .basex configuration file contains > WEBPATH = C:\Users\user\BaseXWeb * Is it the .basex file which is located in "C:\Program Files (x86)\BaseX" ? * What h

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Alexander Shpack
Fresh installation of win 8.1 Fresh BaseX 8.2 installed from .exe file Launched basexhttp.bat Opened http://localhost:8984/ HTTP ERROR 404 Problem accessing /. Reason: No function found that matches the request. Because .basex configuration file contains WEBPATH = C:\Users\user\BaseXWeb bu

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Christian Grün
Hi Alex, Just to be sure: In my last mail, I was indeed referring to the .exe version. Have you already tried to reinstall BaseX? Best, Christian On Sat, May 23, 2015 at 9:51 AM, Alexander Shpack wrote: > Guys, I installed BaseX from .exe installator, not from .zip file. > > > > On Sat, May 23

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-23 Thread Alexander Shpack
Guys, I installed BaseX from *.exe* installator, not from .zip file. On Sat, May 23, 2015 at 5:06 AM, Erol Akarsu wrote: > Alexander, > > No issue I am getting.Christian made it perfect. > > I downloaded war file and unzip to somewhere. Then modify WEB-INF/web.xml > file. I modified these line

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Erol Akarsu
Alexander, No issue I am getting.Christian made it perfect. I downloaded war file and unzip to somewhere. Then modify WEB-INF/web.xml file. I modified these lines org.basex.restxqpath /home/eakarsu/apache-tomcat-8.0.22/basex org.basex.dbpath /home/eakarsu/apache-tomcat-8

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Christian Grün
Hi Alex, could you please try to uninstall BaseX, delete remaining files in the program files directory (if there are any), install BaseX again and report back to us if the problem persists? Thanks in advance, Christian On Fri, May 22, 2015 at 11:31 AM, Andy Bunce wrote: > Now I am confused. I

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Andy Bunce
Now I am confused. I just tried again. Steps as yours, as I did before, and this time it worked. There is something funny here as I have had the problem on two machines and with the recent betas but what it is is not clear to me. /Andy On 22 May 2015 at 10:19, Christian Grün wrote: > I am con

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Alexander Shpack
I installed BaseX from .exe file. On Fri, May 22, 2015 at 12:19 PM, Christian Grün wrote: > I am confused. It works for me. This is what I did: > > * downloaded BaseX82.zip > * unzipped to c:\users\user\Desktop > * started c:\Users\user\Desktop\basex\bin\basexhttp.bat > * visited http://localhos

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Christian Grün
I am confused. It works for me. This is what I did: * downloaded BaseX82.zip * unzipped to c:\users\user\Desktop * started c:\Users\user\Desktop\basex\bin\basexhttp.bat * visited http://localhost:8984/ This is an extract from the newly created .basex file: # HTTP Services WEBPATH = C:/Users/user

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Christian Grün
Hi Alex, what you already can do is setting the system property "org.basex.restxqpath" [1]. Hope this helps, Christian [1] http://docs.basex.org/wiki/Options On Fri, May 22, 2015 at 11:05 AM, Alexander Shpack wrote: > Feature request! > > Please, add additional, non required parameter to the

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Alexander Shpack
Feature request! Please, add additional, non required parameter to the basexhttp launcher - path to restxq.xqm file. Thanks On Fri, May 22, 2015 at 11:48 AM, Christian Grün wrote: > Hm. It looks as if RESTXQPATH is not resolved as relative path > anymore. I'll check this out, thanks. > > > On

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Christian Grün
Hm. It looks as if RESTXQPATH is not resolved as relative path anymore. I'll check this out, thanks. On Fri, May 22, 2015 at 10:37 AM, Andy Bunce wrote: > Same for me. Using the zip to a new folder: Desktop/basex-8.2 then .basex > has > > # HTTP Services > WEBPATH = C:/Users/Bunceax/Desktop/base

Re: [basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Andy Bunce
Same for me. Using the zip to a new folder: Desktop/basex-8.2 then .basex has # HTTP Services WEBPATH = C:/Users/Bunceax/Desktop/basex-8.2/webapp RESTPATH = RESTXQPATH = If I edit .basex to have: RESTXQPATH = C:/Users/Bunceax/Desktop/basex-8.2/webapp It works again. /Andy On 22 May 2015 at 09

[basex-talk] 8.2 on Windows. RESTXQ demo doesn't work.

2015-05-22 Thread Alexander Shpack
Hi BaseX team! It doesn't work, because WEBPATH contains (by default) a path to a local user's BaseXWeb folder, not to a webapp folder inside BaseX installation folder I was confused a bit, why clean installation of 8.2 doesn't work, when 8.1 works fine Thanks -- s0rr0w