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