I use the karaf commands to manage subsystems inside karaf.

I always tried the subsystem type application and it didn't work with it.
When I switched to subsystem type feature everything worked fine. Though
feature is not what i necessarily wanted.

2015-07-10 18:39 GMT+02:00 Kamesh Sampath <[email protected]>:

> Yeah the old link does not work while the new one works.
>
> The plain drop does not work for Subsystem, you need to have subsystem
> command[1] bundle and use that to install the subsystems.
>
> [1]
> https://svn.apache.org/repos/asf/aries/trunk/subsystem/subsystem-gogo-command/
>
> On Fri 10 Jul, 2015 7:57 pm Mihael Schmidt <[email protected]> wrote:
>
>> Actually I didn't understand what you mean. Does the link work or does it
>> not work? You should be able to see the project on this site:
>> http://sourceforge.net/u/fist/test.esa/ci/master/tree/
>>
>> I will try it with a plain Felix installation and then move to Karaf.
>>
>> BTW ... it all worked when I dropped the bundles into the deploy folder.
>> I used the maven esa plugin for building the ESA file.
>>
>> Thanx
>>
>> Mihael
>>
>> 2015-07-10 16:12 GMT+02:00 Kamesh Sampath <[email protected]>:
>>
>>> Hi Mihael,
>>>
>>> BundleActivator has nothing to do with Subsytems,  “Subsystem” is a
>>> mechanism to deploy a collection of resources (bundles).
>>>
>>> I hope you have set up the Karaf based like said [1] and did you try
>>> building your esa using the tools [2]
>>>
>>>
>>> [1] http://aries.apache.org/modules/subsystems.html
>>> *[2] *http://aries.apache.org/modules/esaanttask.html (or)
>>> http://aries.apache.org/modules/esamavenpluginproject.html
>>>
>>> Please validate if the SUBSYSTEM.MF is generated correctly.  FYI, the
>>> link which you have posted for the sample project is to working can you try
>>> using Github ?
>>>
>>> HTH
>>>
>>> -Kamesh
>>>
>>> On 10/07/15 7:38 pm, "Mihael Schmidt" wrote:
>>>
>>> Hi,
>>>
>>> I am new to subsystems and would like to use them to deploy my
>>> applications. I am testing subsystems on Apache Karaf 4.0.0 using Aries
>>> Subsystem bundles 2.0.2.
>>>
>>> I have a multi module maven project with several bundles. One bundle
>>> registers an OSGi service via DS, one bundle registers an OSGi service via
>>> Blueprint and one bundle consumes these services.
>>>
>>> Do subsystems work with DS and Blueprint?
>>>
>>> I have a BundleActivator in the consumer bundle which should output a
>>> log entry. But that didn't work. Is BundleActivator supported when using
>>> subsystems?
>>>
>>> My test project can be cloned from
>>>
>>> git://git.code.sf.net/u/fist/test.esa
>>>
>>> Thanks in advance.
>>>
>>> Mihael
>>>
>>> --
>>> Mihael Schmidt
>>> Software und System-Entwicklung
>>>
>>> Schulz Gebäudeservice GmbH & Co. KG
>>> Dr.-Max-Ilgner-Straße 17
>>> 32339 Espelkamp
>>> Persönlich haftende Gesellschafterin:
>>> Gebäudereinigung Joachim Schulz
>>> Verwaltungsgesellschaft mbH
>>> Telefon: +49 5772 9100 0
>>> Telefax: +49 5772 9100 11
>>> Email: [email protected]
>>> Internet: www.sgbs.de
>>> Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica
>>> Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591
>>> UST-Id-Nr.: DE 125752702
>>>
>>>
>>
>>
>> --
>> Mihael Schmidt
>> Software und System-Entwicklung
>>
>> Schulz Gebäudeservice GmbH & Co. KG
>> Dr.-Max-Ilgner-Straße 17
>> 32339 Espelkamp
>> Persönlich haftende Gesellschafterin:
>> Gebäudereinigung Joachim Schulz
>> Verwaltungsgesellschaft mbH
>> Telefon: +49 5772 9100 0
>> Telefax: +49 5772 9100 11
>> Email: [email protected]
>> Internet: www.sgbs.de
>> Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica
>> Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591
>> UST-Id-Nr.: DE 125752702
>>
>


-- 
Mihael Schmidt
Software und System-Entwicklung

-- 

Schulz Gebäudeservice GmbH & Co. KG
Dr.-Max-Ilgner-Straße 17
32339 Espelkamp
Persönlich haftende Gesellschafterin:
Gebäudereinigung Joachim Schulz
Verwaltungsgesellschaft mbH
Telefon: +49 5772 9100 0
Telefax: +49 5772 9100 11
Email: [email protected]
Internet: www.sgbs.de
Geschäftsführer: Joachim und Dirk Schulz, Norbert Kosica
Handelsregister Bad Oeynhausen: HRA 5902, HRB 8591
UST-Id-Nr.: DE 125752702

Reply via email to