Discussion:
[OSPL-Dev] OSPL 5.4.1 as a Windows Service
Daniel Leavitt - ARA/NED
2011-11-07 20:51:06 UTC
Permalink
Hi,

I found a reference in http://dev.opensplice.org/pipermail/announce/2011-January/000021.html announcing that the OpenSplice daemon can now be installed as a Windows service. It further explains some options to select when doing the product install. My problem is that I've never found an installer for the community edition. Can someone enlighten me?

Thanks,
Dan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20111107/df9314ce/attachment.htm>
Volckaert, Guy (CA - MTS)
2011-11-07 21:51:33 UTC
Permalink
Instead of running as a service, you can always started the deamons yourself (i.e. within your application):

Here is an code snipit taken from SIMD (http://code.google.com/p/simd-cxx/):

#include <boost/process.hpp>

namespace bp = boost::process;

int startOpenSplice() {
std::string exec(bp::find_executable_in_path("ospl"));
std::vector<std::string> args;
args.push_back(exec);
args.push_back("start");

bp::context ctx;
ctx.environment = bp::self::get_environment();
ctx.stdout_behavior = bp::silence_stream();
bp::child c = bp::launch(exec, args, ctx);
bp::status s = c.wait();
return s.exited() ? s.exit_status() : 1;
}

Regards,

From: developer-bounces at opensplice.org [mailto:developer-bounces at opensplice.org] On Behalf Of Daniel Leavitt - ARA/NED
Sent: November-07-11 3:51 PM
To: developer at opensplice.org
Subject: [OSPL-Dev] OSPL 5.4.1 as a Windows Service


Hi,

I found a reference in http://dev.opensplice.org/pipermail/announce/2011-January/000021.html announcing that the OpenSplice daemon can now be installed as a Windows service. It further explains some options to select when doing the product install. My problem is that I've never found an installer for the community edition. Can someone enlighten me?

Thanks,
Dan




________________________________
This email may contain proprietary information and/or copyright material. This email is intended for the use of the addressee only. Any unauthorized use may be unlawful. If you receive this email by mistake, please advise the sender immediately by using the reply facility in your email software.

Information contained in and/or attached to this document may be subject to export control regulations of the European Community, USA, or other countries. Each recipient of this document is responsible to ensure that usage and/or transfer of any information contained in this document complies with all relevant export control regulations. If you are in any doubt about the export control restrictions that apply to this information, please contact the sender immediately.

Be aware that Meggitt may monitor incoming and outgoing emails to ensure compliance with the Meggitt IT User policy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20111107/caea8432/attachment.htm>
Daniel Leavitt - ARA/NED
2011-11-08 00:39:24 UTC
Permalink
Sure. Some of my colleagues have done so in our app but I believe that the domain should be configured and executed in a manner as decoupled from the app as possible. They've also taken to stopping the ospl services when the primary app closes which dislike even more. Are you confirming that a windows service installer is not included in the community edition?


________________________________
From: developer-bounces at opensplice.org [developer-bounces at opensplice.org] on behalf of Volckaert, Guy (CA - MTS) [Guy.Volckaert at meggitt.com]
Sent: Monday, November 07, 2011 4:51 PM
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service

Instead of running as a service, you can always started the deamons yourself (i.e. within your application):

Here is an code snipit taken from SIMD (http://code.google.com/p/simd-cxx/):

#include <boost/process.hpp>

namespace bp = boost::process;

int startOpenSplice() {
std::string exec(bp::find_executable_in_path("ospl"));
std::vector<std::string> args;
args.push_back(exec);
args.push_back("start");

bp::context ctx;
ctx.environment = bp::self::get_environment();
ctx.stdout_behavior = bp::silence_stream();
bp::child c = bp::launch(exec, args, ctx);
bp::status s = c.wait();
return s.exited() ? s.exit_status() : 1;
}

Regards,

From: developer-bounces at opensplice.org [mailto:developer-bounces at opensplice.org] On Behalf Of Daniel Leavitt - ARA/NED
Sent: November-07-11 3:51 PM
To: developer at opensplice.org
Subject: [OSPL-Dev] OSPL 5.4.1 as a Windows Service


Hi,

I found a reference in http://dev.opensplice.org/pipermail/announce/2011-January/000021.html announcing that the OpenSplice daemon can now be installed as a Windows service. It further explains some options to select when doing the product install. My problem is that I?ve never found an installer for the community edition. Can someone enlighten me?

Thanks,
Dan




________________________________
This email may contain proprietary information and/or copyright material. This email is intended for the use of the addressee only. Any unauthorized use may be unlawful. If you receive this email by mistake, please advise the sender immediately by using the reply facility in your email software.

Information contained in and/or attached to this document may be subject to export control regulations of the European Community, USA, or other countries. Each recipient of this document is responsible to ensure that usage and/or transfer of any information contained in this document complies with all relevant export control regulations. If you are in any doubt about the export control restrictions that apply to this information, please contact the sender immediately.

Be aware that Meggitt may monitor incoming and outgoing emails to ensure compliance with the Meggitt IT User policy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20111108/2ef05599/attachment.htm>
Steve Cammish
2011-11-08 11:33:18 UTC
Permalink
Dan,

The installer and windows service functionality is something only available
in the commercial version, not the community version.

Hope that helps,


Steve Cammish

OpenSplice DDS Development Manager

www.prismtech.com

PrismTech is a global leader in standards-based, performance-critical
middleware. Our products enable our OEM, Systems Integrator, and End User
customers to build and optimize high-performance systems primarily for
Mil/Aero, Communications, Industrial, and Financial Markets.




------------------------------
*From:* developer-bounces at opensplice.org [mailto:
developer-bounces at opensplice.org] *On Behalf Of *Volckaert, Guy (CA - MTS)
*Sent:* 07 November 2011 21:52
*To:* OpenSplice DDS Developer Mailing List
*Subject:* Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service

Instead of running as a service, you can always started the deamons
yourself (i.e. within your application):



Here is an code snipit taken from SIMD (http://code.google.com/p/simd-cxx/):



#include <boost/process.hpp>



namespace bp = boost::process;



int startOpenSplice() {

std::string exec(bp::find_executable_in_path("ospl"));

std::vector<std::string> args;

args.push_back(exec);

args.push_back("start");



bp::context ctx;

ctx.environment = bp::self::get_environment();

ctx.stdout_behavior = bp::silence_stream();

bp::child c = bp::launch(exec, args, ctx);

bp::status s = c.wait();

return s.exited() ? s.exit_status() : 1;

}



Regards,



*From:* developer-bounces at opensplice.org [mailto:
developer-bounces at opensplice.org] *On Behalf Of *Daniel Leavitt - ARA/NED
*Sent:* November-07-11 3:51 PM
*To:* developer at opensplice.org
*Subject:* [OSPL-Dev] OSPL 5.4.1 as a Windows Service





Hi,



I found a reference in
http://dev.opensplice.org/pipermail/announce/2011-January/000021.htmlannouncing
that the OpenSplice daemon can now be installed as a Windows
service. It further explains some options to select when doing the
product install. My problem is that I?ve never found an installer for the
community edition. Can someone enlighten me?


Thanks,
Dan







------------------------------
This email may contain proprietary information and/or copyright material.
This email is intended for the use of the addressee only. Any unauthorized
use may be unlawful. If you receive this email by mistake, please advise
the sender immediately by using the reply facility in your email software.

Information contained in and/or attached to this document may be subject to
export control regulations of the European Community, USA, or other
countries. Each recipient of this document is responsible to ensure that
usage and/or transfer of any information contained in this document
complies with all relevant export control regulations. If you are in any
doubt about the export control restrictions that apply to this information,
please contact the sender immediately.

Be aware that Meggitt may monitor incoming and outgoing emails to ensure
compliance with the Meggitt IT User policy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20111108/37a0bc77/attachment.htm>
Daniel Leavitt - ARA/NED
2011-11-08 11:51:37 UTC
Permalink
Thanks for the confirmation, Steve. That certainly does help.

From: developer-bounces at opensplice.org [mailto:developer-bounces at opensplice.org] On Behalf Of Steve Cammish
Sent: Tuesday, November 08, 2011 6:33 AM
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service

Dan,

The installer and windows service functionality is something only available in the commercial version, not the community version.

Hope that helps,

Steve Cammish
OpenSplice DDS Development Manager
www.prismtech.com<blocked::http://www.prismtech.com/>
PrismTech is a global leader in standards-based, performance-critical middleware. Our products enable our OEM, Systems Integrator, and End User customers to build and optimize high-performance systems primarily for Mil/Aero, Communications, Industrial, and Financial Markets.



________________________________
From: developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org> [mailto:developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org>] On Behalf Of Volckaert, Guy (CA - MTS)
Sent: 07 November 2011 21:52
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service
Instead of running as a service, you can always started the deamons yourself (i.e. within your application):

Here is an code snipit taken from SIMD (http://code.google.com/p/simd-cxx/):

#include <boost/process.hpp>

namespace bp = boost::process;

int startOpenSplice() {
std::string exec(bp::find_executable_in_path("ospl"));
std::vector<std::string> args;
args.push_back(exec);
args.push_back("start");

bp::context ctx;
ctx.environment = bp::self::get_environment();
ctx.stdout_behavior = bp::silence_stream();
bp::child c = bp::launch(exec, args, ctx);
bp::status s = c.wait();
return s.exited() ? s.exit_status() : 1;
}

Regards,

From: developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org> [mailto:developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org>] On Behalf Of Daniel Leavitt - ARA/NED
Sent: November-07-11 3:51 PM
To: developer at opensplice.org<mailto:developer at opensplice.org>
Subject: [OSPL-Dev] OSPL 5.4.1 as a Windows Service


Hi,

I found a reference in http://dev.opensplice.org/pipermail/announce/2011-January/000021.html announcing that the OpenSplice daemon can now be installed as a Windows service. It further explains some options to select when doing the product install. My problem is that I've never found an installer for the community edition. Can someone enlighten me?

Thanks,
Dan




________________________________
This email may contain proprietary information and/or copyright material. This email is intended for the use of the addressee only. Any unauthorized use may be unlawful. If you receive this email by mistake, please advise the sender immediately by using the reply facility in your email software.

Information contained in and/or attached to this document may be subject to export control regulations of the European Community, USA, or other countries. Each recipient of this document is responsible to ensure that usage and/or transfer of any information contained in this document complies with all relevant export control regulations. If you are in any doubt about the export control restrictions that apply to this information, please contact the sender immediately.

Be aware that Meggitt may monitor incoming and outgoing emails to ensure compliance with the Meggitt IT User policy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20111108/82e4314d/attachment.htm>
Wilkins, Brian
2011-11-08 13:03:42 UTC
Permalink
There are plenty of resources online that show you how to make anything into a service. Do some google searches for SRVANY

See here : http://support.microsoft.com/kb/137890

You don't need the commercial version of OpenSplice to do this.

Brian

From: developer-bounces at opensplice.org [mailto:developer-bounces at opensplice.org] On Behalf Of Daniel Leavitt - ARA/NED
Sent: Tuesday, November 08, 2011 6:52 AM
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service

Thanks for the confirmation, Steve. That certainly does help.

From: developer-bounces at opensplice.org [mailto:developer-bounces at opensplice.org] On Behalf Of Steve Cammish
Sent: Tuesday, November 08, 2011 6:33 AM
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service

Dan,

The installer and windows service functionality is something only available in the commercial version, not the community version.

Hope that helps,

Steve Cammish
OpenSplice DDS Development Manager
www.prismtech.com<blocked::http://www.prismtech.com/>
PrismTech is a global leader in standards-based, performance-critical middleware. Our products enable our OEM, Systems Integrator, and End User customers to build and optimize high-performance systems primarily for Mil/Aero, Communications, Industrial, and Financial Markets.



________________________________
From: developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org> [mailto:developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org>] On Behalf Of Volckaert, Guy (CA - MTS)
Sent: 07 November 2011 21:52
To: OpenSplice DDS Developer Mailing List
Subject: Re: [OSPL-Dev] OSPL 5.4.1 as a Windows Service
Instead of running as a service, you can always started the deamons yourself (i.e. within your application):

Here is an code snipit taken from SIMD (http://code.google.com/p/simd-cxx/):

#include <boost/process.hpp>

namespace bp = boost::process;

int startOpenSplice() {
std::string exec(bp::find_executable_in_path("ospl"));
std::vector<std::string> args;
args.push_back(exec);
args.push_back("start");

bp::context ctx;
ctx.environment = bp::self::get_environment();
ctx.stdout_behavior = bp::silence_stream();
bp::child c = bp::launch(exec, args, ctx);
bp::status s = c.wait();
return s.exited() ? s.exit_status() : 1;
}

Regards,

From: developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org> [mailto:developer-bounces at opensplice.org<mailto:developer-bounces at opensplice.org>] On Behalf Of Daniel Leavitt - ARA/NED
Sent: November-07-11 3:51 PM
To: developer at opensplice.org<mailto:developer at opensplice.org>
Subject: [OSPL-Dev] OSPL 5.4.1 as a Windows Service


Hi,

I found a reference in http://dev.opensplice.org/pipermail/announce/2011-January/000021.html announcing that the OpenSplice daemon can now be installed as a Windows service. It further explains some options to select when doing the product install. My problem is that I've never found an installer for the community edition. Can someone enlighten me?

Thanks,
Dan




________________________________
This email may contain proprietary information and/or copyright material. This email is intended for the use of the addressee only. Any unauthorized use may be unlawful. If you receive this email by mistake, please advise the sender immediately by using the reply facility in your email software.

Information contained in and/or attached to this document may be subject to export control regulations of the European Community, USA, or other countries. Each recipient of this document is responsible to ensure that usage and/or transfer of any information contained in this document complies with all relevant export control regulations. If you are in any doubt about the export control restrictions that apply to this information, please contact the sender immediately.

Be aware that Meggitt may monitor incoming and outgoing emails to ensure compliance with the Meggitt IT User policy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.opensplice.org/pipermail/developer/attachments/20111108/6f7529fd/attachment.htm>
Loading...