8.2 on Windows. RESTXQ demo doesn't work.

Friday, 22 May 2015 · 17 messages · last reply 26 May 2015
AS
Alexander Shpack22 May 2015 10:20 #
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
AB
Andy Bunce22 May 2015 10:37 #
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
Quoted text · Alexander Shpack · 15 lines
On 22 May 2015 at 09:20, Alexander Shpack <shadowkin at gmail.com> 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 >
CG
Christian Grün22 May 2015 10:48 #
Hm. It looks as if RESTXQPATH is not resolved as relative path anymore. I'll check this out, thanks.
Quoted text · Andy Bunce · 34 lines
On Fri, May 22, 2015 at 10:37 AM, Andy Bunce <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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 > >
AS
Alexander Shpack22 May 2015 11:05 #
Feature request! Please, add additional, non required parameter to the basexhttp launcher - path to restxq.xqm file. Thanks
Quoted text · Christian Grün · 42 lines
On Fri, May 22, 2015 at 11:48 AM, Christian Grün <christian.gruen at gmail.com> 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 <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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
CG
Christian Grün22 May 2015 11:11 #
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
Quoted text · Alexander Shpack · 60 lines
On Fri, May 22, 2015 at 11:05 AM, Alexander Shpack <shadowkin at gmail.com> 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 <christian.gruen at gmail.com> > 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 <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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
CG
Christian Grünin reply to Andy Bunce, 22 May 2015, 10:3722 May 2015 11:19 #
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 at 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
Quoted text · Andy Bunce · 34 lines
On Fri, May 22, 2015 at 10:37 AM, Andy Bunce <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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 > >
AS
Alexander Shpack22 May 2015 11:24 #
I installed BaseX from .exe file.
Quoted text · Christian Grün · 70 lines
On Fri, May 22, 2015 at 12:19 PM, Christian Grün <christian.gruen at gmail.com> 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 at 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 <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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
AB
Andy Buncein reply to Christian Grün, 22 May 2015, 11:1922 May 2015 11:31 #
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
Quoted text · Christian Grün · 69 lines
On 22 May 2015 at 10:19, Christian Grün <christian.gruen at gmail.com> 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 at 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 <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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 > > > > >
CG
Christian Grün22 May 2015 11:50 #
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
Quoted text · Andy Bunce · 84 lines
On Fri, May 22, 2015 at 11:31 AM, Andy Bunce <bunce.andy at gmail.com> 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 <christian.gruen at gmail.com> 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 at 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 <bunce.andy at gmail.com> 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 <shadowkin at gmail.com> 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 >> > >> > > >
EA
Erol Akarsuin reply to Alexander Shpack, 22 May 2015, 10:2023 May 2015 06:06 #
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
  <context-param>
    <param-name>org.basex.restxqpath</param-name>
    <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex</param-value>
  </context-param>
  <context-param>
    <param-name>org.basex.dbpath</param-name>
    <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/data</param-value>
  </context-param>
  <context-param>
    <param-name>org.basex.repopath</param-name>
    <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/repo</param-value>
  </context-param>
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 data dba repo restxq.xqm static 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
Quoted text · Alexander Shpack · 16 lines
On Fri, May 22, 2015 at 4:20 AM, Alexander Shpack <shadowkin at gmail.com> 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 >
AS
Alexander Shpack23 May 2015 09:51 #
Guys, I installed BaseX from *.exe* installator, not from .zip file.
Quoted text · Erol Akarsu · 63 lines
On Sat, May 23, 2015 at 5:06 AM, Erol Akarsu <eakarsu at gmail.com> 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 > > <context-param> > <param-name>org.basex.restxqpath</param-name> > <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex</param-value> > </context-param> > <context-param> > <param-name>org.basex.dbpath</param-name> > > <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/data</param-value> > </context-param> > <context-param> > <param-name>org.basex.repopath</param-name> > > <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/repo</param-value> > </context-param> > > 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 > data dba repo restxq.xqm static > > > 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 <shadowkin at gmail.com> > 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
CG
Christian Grün23 May 2015 17:41 #
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
Quoted text · Alexander Shpack · 73 lines
On Sat, May 23, 2015 at 9:51 AM, Alexander Shpack <shadowkin at gmail.com> wrote: > Guys, I installed BaseX from .exe installator, not from .zip file. > > > > On Sat, May 23, 2015 at 5:06 AM, Erol Akarsu <eakarsu at gmail.com> 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 >> >> <context-param> >> <param-name>org.basex.restxqpath</param-name> >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex</param-value> >> </context-param> >> <context-param> >> <param-name>org.basex.dbpath</param-name> >> >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/data</param-value> >> </context-param> >> <context-param> >> <param-name>org.basex.repopath</param-name> >> >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/repo</param-value> >> </context-param> >> >> 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 >> data dba repo restxq.xqm static >> >> >> 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 <shadowkin at gmail.com> >> 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
AS
Alexander Shpack23 May 2015 23:11 #
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\"
Quoted text · Christian Grün · 90 lines
On Sat, May 23, 2015 at 6:41 PM, Christian Grün <christian.gruen at gmail.com> 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 <shadowkin at gmail.com> > wrote: > > Guys, I installed BaseX from .exe installator, not from .zip file. > > > > > > > > On Sat, May 23, 2015 at 5:06 AM, Erol Akarsu <eakarsu at gmail.com> 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 > >> > >> <context-param> > >> <param-name>org.basex.restxqpath</param-name> > >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex</param-value> > >> </context-param> > >> <context-param> > >> <param-name>org.basex.dbpath</param-name> > >> > >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/data</param-value> > >> </context-param> > >> <context-param> > >> <param-name>org.basex.repopath</param-name> > >> > >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/repo</param-value> > >> </context-param> > >> > >> 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 > >> data dba repo restxq.xqm static > >> > >> > >> 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 <shadowkin at gmail.com> > >> 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
CG
Christian Grün24 May 2015 00:46 #
Thanks for the details. Recently, I only tried the installer with Win XP, but we'll do some more testing soon. Two last questions:
Quoted text · Alexander Shpack · 2 lines
> 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
Quoted text · Alexander Shpack · 102 lines
> 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 <christian.gruen at gmail.com> > 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 <shadowkin at gmail.com> >> wrote: >> > Guys, I installed BaseX from .exe installator, not from .zip file. >> > >> > >> > >> > On Sat, May 23, 2015 at 5:06 AM, Erol Akarsu <eakarsu at gmail.com> 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 >> >> >> >> <context-param> >> >> <param-name>org.basex.restxqpath</param-name> >> >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex</param-value> >> >> </context-param> >> >> <context-param> >> >> <param-name>org.basex.dbpath</param-name> >> >> >> >> >> >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/data</param-value> >> >> </context-param> >> >> <context-param> >> >> <param-name>org.basex.repopath</param-name> >> >> >> >> >> >> <param-value>/home/eakarsu/apache-tomcat-8.0.22/basex/repo</param-value> >> >> </context-param> >> >> >> >> 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 >> >> data dba repo restxq.xqm static >> >> >> >> >> >> 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 <shadowkin at gmail.com> >> >> 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
AS
Alexander Shpack24 May 2015 01:05 #
I replied inline * Is it the .basex file which is located in "C:\Program Files (x86)\BaseX" ?
Quoted text · Christian Grün · 1 line
>
No, it's located in C:\Users\user\.basex
Quoted text · Christian Grün · 2 lines
> * 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
CG
Christian Grün24 May 2015 01:20 #
Hi Alex,
Quoted text · Alexander Shpack · 1 line
> 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
Quoted text · Alexander Shpack · 8 lines
>> * 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
CG
Christian Grün26 May 2015 13:37 #
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
Quoted text · Christian Grün · 29 lines
On Sun, May 24, 2015 at 1:20 AM, Christian Grün <christian.gruen at gmail.com> 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

⚡Generated with XQuery