Is there a possibility to install BaseX server as a service under Windows?
The -S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Best regards,
Sam
I remember there has beer another thread on this:
http://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg01525.html
Feedback from evreryone is welcome, Christian
On Wed, Jan 22, 2014 at 2:12 PM, Sam Eklund sam.eklund@gluebox.se wrote:
Is there a possibility to install BaseX server as a service under Windows?
The –S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Best regards,
Sam
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Sam,
I don't know about any special tricks BaseX has up it's sleeve, but I have had succes running Solr, BigData and other Java server apps as a Windows service using YAJSW. It's fairly easy to accomplish. There are other applications that can run Java apps as a Windows Service for you as well.
Op 22 jan. 2014, om 14:12 heeft Sam Eklund <sam.eklund@gluebox.semailto:sam.eklund@gluebox.se> het volgende geschreven:
Is there a possibility to install BaseX server as a service under Windows?
The –S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Hartelijke groet,
Huib Verweij
Hi Sam, hi Huib,
if one of you succeeds installing BaseX as service, would you be willing to contribute a little HowTo article for our Wiki?
Christian
On Wed, Jan 22, 2014 at 2:19 PM, Huib Verweij Huib.Verweij@koop.overheid.nl wrote:
Hi Sam,
I don't know about any special tricks BaseX has up it's sleeve, but I have had succes running Solr, BigData and other Java server apps as a Windows service using YAJSW. It's fairly easy to accomplish. There are other applications that can run Java apps as a Windows Service for you as well.
Op 22 jan. 2014, om 14:12 heeft Sam Eklund sam.eklund@gluebox.se het volgende geschreven:
Is there a possibility to install BaseX server as a service under Windows?
The –S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Hartelijke groet,
Huib Verweij
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi,
Maybe I don't understand your needs, but there exists native tools to install services with windows. For instance the batch command sc, or the visual studio tool installutil. Is there any incentive for not using them ?
2014/1/22 Christian Grün christian.gruen@gmail.com
Hi Sam, hi Huib,
if one of you succeeds installing BaseX as service, would you be willing to contribute a little HowTo article for our Wiki?
Christian
On Wed, Jan 22, 2014 at 2:19 PM, Huib Verweij Huib.Verweij@koop.overheid.nl wrote:
Hi Sam,
I don't know about any special tricks BaseX has up it's sleeve, but I
have
had succes running Solr, BigData and other Java server apps as a Windows service using YAJSW. It's fairly easy to accomplish. There are other applications that can run Java apps as a Windows Service for you as well.
Op 22 jan. 2014, om 14:12 heeft Sam Eklund sam.eklund@gluebox.se het volgende geschreven:
Is there a possibility to install BaseX server as a service under
Windows?
The –S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Hartelijke groet,
Huib Verweij
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Ok, I missed the point sorry : BaseX being a Java executable, we have to wrap it before registring it as a service with sc or installutil. Wrapping Java for windows servicing is quite easy, I did it some years ago with JSW. I had a look to YAJSW : it seems to be a better choice than JSW now. Flexible enough licensing, and most importantly support for windows 64 bits. @Christian : Installing a service with YAJSW seems really straightforward (see : http://yajsw.sourceforge.net/). Is it worth writing a Wiki page ?
2014/1/22 jean-marc Mercier jeanmarc.mercier@gmail.com
Hi,
Maybe I don't understand your needs, but there exists native tools to install services with windows. For instance the batch command sc, or the visual studio tool installutil. Is there any incentive for not using them ?
2014/1/22 Christian Grün christian.gruen@gmail.com
Hi Sam, hi Huib,
if one of you succeeds installing BaseX as service, would you be willing to contribute a little HowTo article for our Wiki?
Christian
On Wed, Jan 22, 2014 at 2:19 PM, Huib Verweij Huib.Verweij@koop.overheid.nl wrote:
Hi Sam,
I don't know about any special tricks BaseX has up it's sleeve, but I
have
had succes running Solr, BigData and other Java server apps as a Windows service using YAJSW. It's fairly easy to accomplish. There are other applications that can run Java apps as a Windows Service for you as
well.
Op 22 jan. 2014, om 14:12 heeft Sam Eklund sam.eklund@gluebox.se het volgende geschreven:
Is there a possibility to install BaseX server as a service under
Windows?
The –S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Hartelijke groet,
Huib Verweij
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Huib,
Thanks, I will look into YAJSW, it seems like a pretty straight forward way of doing it, I'll write back with my findings!
Best regards,
Sam
From: Huib Verweij [mailto:Huib.Verweij@koop.overheid.nl] Sent: den 22 januari 2014 14:20 To: Sam Eklund Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] BaseX as a Windows Service
Hi Sam,
I don't know about any special tricks BaseX has up it's sleeve, but I have had succes running Solr, BigData and other Java server apps as a Windows service using YAJSW. It's fairly easy to accomplish. There are other applications that can run Java apps as a Windows Service for you as well.
Op 22 jan. 2014, om 14:12 heeft Sam Eklund <sam.eklund@gluebox.semailto:sam.eklund@gluebox.se> het volgende geschreven:
Is there a possibility to install BaseX server as a service under Windows?
The -S switch to start BaseX in the background is nice, however a proper windows service would be even better!
Anyone that has accomplished this?
Hartelijke groet,
Huib Verweij
basex-talk@mailman.uni-konstanz.de