Hi Sebastian,
On 27 Sep 2015 at 20:07:53, s.schafer
(s.schafer@ssi.samsung.com(mailto:s.schafer@ssi.samsung.com)) wrote:
Hi all,
I'm new with xwiki and need help before I go crazy here. I just tried to
install the 'proper' .war installation after a being happy with the xwiki
standalone installation. The main reason to switch is not performance (it'll
be a small wiki), but the fact that I can't seem to run it as a service and
it stopped running after not being logged on for a couple of days. Back to
topic...
I chose what seemed like the easiest path to me from the manual install
documentation:
Jetty (9.3.3) + HSQLDB (2.3.3) + xwiki (7.2) on Windows server 2008 R2
(don't have a choice of using something else there)
I think my problem is an utter lack of knowledge of how to configure
jetty+hsqldb.
The good news is that I get to the xwiki initialization screen when I access
hostname:8080/xwiki/
Bad news is that it throws a http 500 error once it's done initializing, see
the log below.
Here is what I did: I literally wet by the documentation and I suspect that
I'm missing the part where I define the hsqldb setup (db location and
connection):
- extracted jetty in a folder
- extracted the xwiki 7.2 .war file into the webapps subfolder in jetty
- copied the hsqldb.jar file in the WEB-INF/lib subfolder in xwiki
- uncommented the HSQLDB part in the hibernate.cfg.xml
- set the directory to environment.permanentDirectory="E:/Data/Wiki/data/"
in xwiki.properties; I used unix-like path even though I'm on windows. Using
\ instead of / did not work either
That looks ok (see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationHSQL).
Yes you need to use “/“ in xwiki.properties.
I did not set up a database, user, etc for hsqldb, is
that my problem? The
documentation made it sound like this is not necessary.
I would really appreciate any input because I started over again a few times
already and am lost.
Missing the logs to know what your problem is.
Normally it should be ok
Thanks
-Vincent
Cheers
Sebastian