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 christian.gruen@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@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@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@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