Hi all, attached is some interesting information from Raymond Meester on how to get BaseX running as Windows service. Everyone’s feedback is welcome, Christian ---------- Forwarded message ---------- From: Raymond Meester <raymondmeester@gmail.com> Hi Christian, A small update on implementing basex. Still working on the issue that BaseXServer suddenly isn't available more (started as BaseXServer -S on a Windows 2008 r2 server). I tried to monitor the process with procmon, unfortunaly due to a leak procmon flooded the page file of the server. So I had to go for another approach. As our administrator are familiar with windows services I tried to install basex as windows service. - First I tried the Java launcher Janel (http://www.redskaper.com/), but I could get it working. Don't know why, but it seemed to be a Janel issue. - Secondly I tried another Java launcher (http://winrun4j.sourceforge.net/). With this launcher I was able to got a working executable. I attached the ini file I used. However to use it as a windows service it needs a java method to work with services (see "Service example" on their webpage). - Last I used the working exe and this manual http://marckean.wordpress.com/2009/05/24/run-shoutcast-as-a-windows-service/ ((I attached the tools which the manual uses: instrv.exe and srvany.exe. (I changed the extension to .txt to get them through the email scanner. I believe they are part of the tool "resource hacker" http://www.angusj.com/resourcehacker/) And now I got BaseX running as a windows service. So of course I would like to see a native way to install Basex as Windows Service, but I thought I let you know how I manage this. Also when there is a better way (not changing the registry directly), please put it on the wiki. Regards, Raymond
participants (1)
-
Christian Grün