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, 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 directory will be detected if you are launching the bat
> scripts from either the start menu or the program directory (e.g. via
> "bin\basexhttp.bat"). However, we'll check out if we can restore the
> previous behavior of the BaseX executable.
>
> Thanks for your feedback,
> Christian
>
>
>
>>> * What happens if you start the start menu shortcut "BaseX Server
>>> (Start)"?
>>
>>
>> C:/Program Files (x86)/BaseX/.basex: writing new configuration file.
>> HTTP Server was started (port: 8984)
>>
>> Now it works fine


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 directory will be detected if you are launching the bat
scripts from either the start menu or the program directory (e.g. via
"bin\basexhttp.bat"). However, we'll check out if we can restore the
previous behavior of the BaseX executable.

Thanks for your feedback,
Christian



>> * What happens if you start the start menu shortcut "BaseX Server
>> (Start)"?
>
>
> C:/Program Files (x86)/BaseX/.basex: writing new configuration file.
> HTTP Server was started (port: 8984)
>
> Now it works fine


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 Server was started (port: 8984)

Now it works fine


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 happens if you start the start menu shortcut "BaseX Server (Start)"?

Cheers,
Christian



> but this folder contains only WEB-INF folder instead expected "C:\Program
> Files (x86)\BaseX\webapp\"
>
>
> On Sat, May 23, 2015 at 6:41 PM, Christian Grün 
> wrote:
>>
>> 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, 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 lines
>> >>
>> >>   
>> >> org.basex.restxqpath
>> >> /home/eakarsu/apache-tomcat-8.0.22/basex
>> >>   
>> >>   
>> >> org.basex.dbpath
>> >>
>> >>
>> >> /home/eakarsu/apache-tomcat-8.0.22/basex/data
>> >>   
>> >>   
>> >> org.basex.repopath
>> >>
>> >>
>> >> /home/eakarsu/apache-tomcat-8.0.22/basex/repo
>> >>   
>> >>
>> >> Copy files in WEB-INF folder contents to above configured location for
>> >> org.basex.restxqpath so that you will have this:
>> >>
>> >> [eakarsu@norshin ~/apache-tomcat-8.0.22/basex]$ ls
>> >> datadbareporestxq.xqmstatic
>> >>
>> >>
>> >> Then build war file (BaseX82c.war)  again and drop it to webapps folder
>> >> of
>> >> apache tomcat.
>> >>
>> >> Restart apache.
>> >>
>> >> You can access
>> >>
>> >> http://localhost:8080/BaseX82c/dba
>> >>
>> >> http://localhost:8080/BaseX82c/hello/World
>> >>
>> >> Erol Akarsu
>> >>
>> >>
>> >> On Fri, May 22, 2015 at 4:20 AM, Alexander Shpack 
>> >> wrote:
>> >>>
>> >>> 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
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > s0rr0w
>
>
>
>
> --
> s0rr0w


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

but this folder contains only WEB-INF folder instead expected "C:\Program
Files (x86)\BaseX\webapp\"


On Sat, May 23, 2015 at 6:41 PM, Christian Grün 
wrote:

> 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, 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 lines
> >>
> >>   
> >> org.basex.restxqpath
> >> /home/eakarsu/apache-tomcat-8.0.22/basex
> >>   
> >>   
> >> org.basex.dbpath
> >>
> >> /home/eakarsu/apache-tomcat-8.0.22/basex/data
> >>   
> >>   
> >> org.basex.repopath
> >>
> >> /home/eakarsu/apache-tomcat-8.0.22/basex/repo
> >>   
> >>
> >> Copy files in WEB-INF folder contents to above configured location for
> >> org.basex.restxqpath so that you will have this:
> >>
> >> [eakarsu@norshin ~/apache-tomcat-8.0.22/basex]$ ls
> >> datadbareporestxq.xqmstatic
> >>
> >>
> >> Then build war file (BaseX82c.war)  again and drop it to webapps folder
> of
> >> apache tomcat.
> >>
> >> Restart apache.
> >>
> >> You can access
> >>
> >> http://localhost:8080/BaseX82c/dba
> >>
> >> http://localhost:8080/BaseX82c/hello/World
> >>
> >> Erol Akarsu
> >>
> >>
> >> On Fri, May 22, 2015 at 4:20 AM, Alexander Shpack 
> >> wrote:
> >>>
> >>> 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
> >>
> >>
> >
> >
> >
> > --
> > s0rr0w
>



-- 
s0rr0w


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, 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 lines
>>
>>   
>> org.basex.restxqpath
>> /home/eakarsu/apache-tomcat-8.0.22/basex
>>   
>>   
>> org.basex.dbpath
>>
>> /home/eakarsu/apache-tomcat-8.0.22/basex/data
>>   
>>   
>> org.basex.repopath
>>
>> /home/eakarsu/apache-tomcat-8.0.22/basex/repo
>>   
>>
>> Copy files in WEB-INF folder contents to above configured location for
>> org.basex.restxqpath so that you will have this:
>>
>> [eakarsu@norshin ~/apache-tomcat-8.0.22/basex]$ ls
>> datadbareporestxq.xqmstatic
>>
>>
>> Then build war file (BaseX82c.war)  again and drop it to webapps folder of
>> apache tomcat.
>>
>> Restart apache.
>>
>> You can access
>>
>> http://localhost:8080/BaseX82c/dba
>>
>> http://localhost:8080/BaseX82c/hello/World
>>
>> Erol Akarsu
>>
>>
>> On Fri, May 22, 2015 at 4:20 AM, Alexander Shpack 
>> wrote:
>>>
>>> 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
>>
>>
>
>
>
> --
> s0rr0w


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 lines
>
>   
> org.basex.restxqpath
> /home/eakarsu/apache-tomcat-8.0.22/basex
>   
>   
> org.basex.dbpath
>
> /home/eakarsu/apache-tomcat-8.0.22/basex/data
>   
>   
> org.basex.repopath
>
> /home/eakarsu/apache-tomcat-8.0.22/basex/repo
>   
>
> Copy files in WEB-INF folder contents to above configured location for
> org.basex.restxqpath so that you will have this:
>
> [eakarsu@norshin ~/apache-tomcat-8.0.22/basex]$ ls
> datadbareporestxq.xqmstatic
>
>
> Then build war file (BaseX82c.war)  again and drop it to webapps folder of
> apache tomcat.
>
> Restart apache.
>
> You can access
>
> http://localhost:8080/BaseX82c/dba
>
> http://localhost:8080/BaseX82c/hello/World
>
> Erol Akarsu
>
>
> On Fri, May 22, 2015 at 4:20 AM, Alexander Shpack 
> wrote:
>
>> 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
>>
>
>


-- 
s0rr0w


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.0.22/basex/data
  
  
org.basex.repopath
/home/eakarsu/apache-tomcat-8.0.22/basex/repo
  

Copy files in WEB-INF folder contents to above configured location for
org.basex.restxqpath so that you will have this:

[eakarsu@norshin ~/apache-tomcat-8.0.22/basex]$ ls
datadbareporestxq.xqmstatic


Then build war file (BaseX82c.war)  again and drop it to webapps folder of
apache tomcat.

Restart apache.

You can access

http://localhost:8080/BaseX82c/dba

http://localhost:8080/BaseX82c/hello/World

Erol Akarsu


On Fri, May 22, 2015 at 4:20 AM, Alexander Shpack 
wrote:

> 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
>


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 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 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/Desktop/basex/webapp
>> RESTPATH =
>> RESTXQPATH =
>>
>> This is what is shown on command line when starting basexhttp.bat:
>>
>> C:/Users/user/Desktop/basex/.basex: writing new configuration file.
>> [main] INFO org.eclipse.jetty.server.Server - jetty-8.1.16.v20140903
>> [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO
>> JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
>> BaseX 8.2 [Server]
>> Server was started (port: 1984)
>> [main] INFO org.eclipse.jetty.server.AbstractConnector - Started
>> SelectChannelConnector@0.0.0.0:8984
>> HTTP Server was started (port: 8984)
>>
>> Do you possibly have some more hints on what goes wrong in your
>> environment?
>>
>> Christian
>>
>>
>> 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/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:20, Alexander Shpack  wrote:
>> >>
>> >> 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
>> >
>> >
>
>


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 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/Desktop/basex/webapp
> RESTPATH =
> RESTXQPATH =
>
> This is what is shown on command line when starting basexhttp.bat:
>
> C:/Users/user/Desktop/basex/.basex: writing new configuration file.
> [main] INFO org.eclipse.jetty.server.Server - jetty-8.1.16.v20140903
> [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO
> JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
> BaseX 8.2 [Server]
> Server was started (port: 1984)
> [main] INFO org.eclipse.jetty.server.AbstractConnector - Started
> SelectChannelConnector@0.0.0.0:8984
> HTTP Server was started (port: 8984)
>
> Do you possibly have some more hints on what goes wrong in your
> environment?
>
> Christian
>
>
> 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/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:20, Alexander Shpack  wrote:
> >>
> >> 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
> >
> >
>


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://localhost:8984/
>
> This is an extract from the newly created .basex file:
>
> # HTTP Services
> WEBPATH = C:/Users/user/Desktop/basex/webapp
> RESTPATH =
> RESTXQPATH =
>
> This is what is shown on command line when starting basexhttp.bat:
>
> C:/Users/user/Desktop/basex/.basex: writing new configuration file.
> [main] INFO org.eclipse.jetty.server.Server - jetty-8.1.16.v20140903
> [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO
> JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
> BaseX 8.2 [Server]
> Server was started (port: 1984)
> [main] INFO org.eclipse.jetty.server.AbstractConnector - Started
> SelectChannelConnector@0.0.0.0:8984
> HTTP Server was started (port: 8984)
>
> Do you possibly have some more hints on what goes wrong in your
> environment?
>
> Christian
>
>
> 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/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:20, Alexander Shpack  wrote:
> >>
> >> 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
> >
> >
>



-- 
s0rr0w


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/Desktop/basex/webapp
RESTPATH =
RESTXQPATH =

This is what is shown on command line when starting basexhttp.bat:

C:/Users/user/Desktop/basex/.basex: writing new configuration file.
[main] INFO org.eclipse.jetty.server.Server - jetty-8.1.16.v20140903
[main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO
JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
BaseX 8.2 [Server]
Server was started (port: 1984)
[main] INFO org.eclipse.jetty.server.AbstractConnector - Started
SelectChannelConnector@0.0.0.0:8984
HTTP Server was started (port: 8984)

Do you possibly have some more hints on what goes wrong in your environment?

Christian


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/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:20, Alexander Shpack  wrote:
>>
>> 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
>
>


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 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 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/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:20, Alexander Shpack  wrote:
>> >>
>> >> 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
>> >
>> >
>
>
>
>
> --
> s0rr0w


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 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/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:20, Alexander Shpack  wrote:
> >>
> >> 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
> >
> >
>



-- 
s0rr0w


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/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:20, Alexander Shpack  wrote:
>>
>> 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
>
>


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:20, Alexander Shpack  wrote:

> 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
>


[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