users@glassfish.java.net

My Declarative Services twice in the system

From: Mihael Schmidt <mschmidt_at_sgbs.de>
Date: Mon, 29 Aug 2011 14:59:47 +0200

Hi,

can anybody tell me why I have my services twice in the system? I used
the Declarative Service approach to get them registered.

2011.08.29 14:53:41 INFO - Bundle: de.sgbs.web.core -
[de.sgbs.web.core.service.IModuleService] - ServiceEvent REGISTERED
2011.08.29 14:53:41 INFO - Bundle: de.sgbs.web.core - BundleEvent STARTED
2011.08.29 14:53:41 INFO - Bundle: de.sgbs.web.core -
[de.sgbs.web.core.service.IModuleService] - ServiceEvent REGISTERED

My component.xml:
<?xml version="1.0"?>
<component name="launcherModuleService" immediate="true">
  <implementation class="de.sgbs.web.core.service.impl.ModuleService" />
  <service>
    <provide interface="de.sgbs.web.core.service.IModuleService" />
  </service>
</component>

If you need any more info just ask.

Thanx in advance.

Regards

Mihael Schmidt

-- 
Mihael Schmidt
Software und System-Entwicklung
Schulz Gebäudeservice GmbH & Co. KG
Dr.-Max-Ilgner-Straße 17
32339 Espelkamp
Telefon: 05772-9100-00
Telefax: 05772-9100-11
Internet: www.sgbs.de
Persönlich haftende Gesellschafterin:
Gebäudereinigung Joachim Schulz
Verwaltungsgesellschaft mbH
Geschäftsführer: Joachim Schulz, Dirk Schulz, Norbert Kosica
Handelsregister Bad Oeynhausen:
HRA 5902, HRB 8591