You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Artur Opala (JIRA)" <ji...@apache.org> on 2010/01/13 12:44:54 UTC

[jira] Commented: (FELIX-1984) Components starts disabled

    [ https://issues.apache.org/jira/browse/FELIX-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799700#action_12799700 ] 

Artur Opala commented on FELIX-1984:
------------------------------------

Declaration of a selected component

<?xml version="1.0" encoding="UTF-8"?>
<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
    <scr:component enabled="true" immediate="true" name="pl.eurobank.osgi.launcher.bundle.internal.LauncherSupportActivator">
        <implementation class="pl.eurobank.osgi.launcher.bundle.internal.LauncherSupportActivator"/>
        <property name="service.pid" value="pl.eurobank.osgi.launcher.bundle.internal.LauncherSupportActivator"/>
        <reference name="httpService" interface="org.osgi.service.http.HttpService" cardinality="0..1" policy="dynamic" bind="bindHttpService" unbind="unbindHttpService"/>
        <reference name="logReader" interface="org.osgi.service.log.LogReaderService" cardinality="0..1" policy="dynamic" bind="bindLogReader" unbind="unbindLogReader"/>
        <reference name="bundleProviderService" interface="pl.eurobank.osgi.deployment.BundleProviderService" cardinality="0..1" policy="dynamic" bind="bindBundleProviderService" unbind="unbindBundleProviderService"/>
    </scr:component>
</components>


> Components starts disabled
> --------------------------
>
>                 Key: FELIX-1984
>                 URL: https://issues.apache.org/jira/browse/FELIX-1984
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>         Environment: felix-2.0.2
>            Reporter: Artur Opala
>         Attachments: configuration-status-20100113-1209+0100.zip
>
>
> From SCR version 1.2.0 all components starts with state 'disabled', SCR 1.0.8 worked fine. Configuration dump attached as zip file.
> {code}
> 0=[pl.eurobank.osgi.springframework.web.SpringServletContextListener]
> Bundlepl.eurobank.osgi.springframework-bundle (11)
> State=disabled
> DefaultState=enabled
> Activation=delayed
> ServiceType=service
> Services=javax.servlet.ServletContextListener
> Properties=
> component.id=0
> component.name=pl.eurobank.osgi.springframework.web.SpringServletContextListener
> service.pid=pl.eurobank.osgi.springframework.web.SpringServletContextListener
> 1=[pl.eurobank.osgi.launcher.bundle.internal.LauncherSupportActivator]
> Bundlepl.eurobank.osgi.launcher-bundle (18)
> State=disabled
> DefaultState=enabled
> Activation=immediate
> Reference=bundleProviderService, Satisfied
> Service Name: pl.eurobank.osgi.deployment.BundleProviderService
> Multiple: single
> Optional: optional
> Policy: dynamic
> No Services bound
> Reference=httpService, Satisfied
> Service Name: org.osgi.service.http.HttpService
> Multiple: single
> Optional: optional
> Policy: dynamic
> No Services bound
> Reference=logReader, Satisfied
> Service Name: org.osgi.service.log.LogReaderService
> Multiple: single
> Optional: optional
> Policy: dynamic
> No Services bound
> Properties=
> component.id=1
> component.name=pl.eurobank.osgi.launcher.bundle.internal.LauncherSupportActivator
> service.pid=pl.eurobank.osgi.launcher.bundle.internal.LauncherSupportActivator
> 2=[pl.eurobank.osgi.struts.internal.TestFilter]
> Bundlepl.eurobank.osgi.struts-1-2-bundle (19)
> State=disabled
> DefaultState=enabled
> Activation=delayed
> ServiceType=service
> Services=javax.servlet.Filter
> Properties=
> alias=/test2/*
> component.id=2
> component.name=pl.eurobank.osgi.struts.internal.TestFilter
> contextPath=/bar
> init.testparam=testvalue
> service.pid=pl.eurobank.osgi.struts.internal.TestFilter
> service.ranking=50
> 3=[pl.eurobank.osgi.struts.internal.IndexServlet]
> Bundlepl.eurobank.osgi.struts-1-2-bundle (19)
> State=disabled
> DefaultState=enabled
> Activation=delayed
> ServiceType=service
> Services=javax.servlet.Servlet
> Properties=
> alias=/index
> component.id=3
> component.name=pl.eurobank.osgi.struts.internal.IndexServlet
> contextPath=/
> init.testparam=testvalue
> service.pid=pl.eurobank.osgi.struts.internal.IndexServlet
> 4=[pl.eurobank.osgi.struts.internal.StrutsProxyServlet]
> Bundlepl.eurobank.osgi.struts-1-2-bundle (19)
> State=disabled
> DefaultState=enabled
> Activation=delayed
> ServiceType=service
> Services=javax.servlet.Servlet
> Properties=
> alias=*.ebk
> component.id=4
> component.name=pl.eurobank.osgi.struts.internal.StrutsProxyServlet
> service.pid=pl.eurobank.osgi.struts.internal.StrutsProxyServlet
> 5=[pl.eurobank.osgi.jsp.internal.JspProxyServlet]
> Bundlepl.eurobank.osgi.jsp-bundle (20)
> State=disabled
> DefaultState=enabled
> Activation=delayed
> ServiceType=service
> Services=org.osgi.util.tracker.BundleTrackerCustomizer, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
> Properties=
> alias=*.jsp
> component.id=5
> component.name=pl.eurobank.osgi.jsp.internal.JspProxyServlet
> service.pid=pl.eurobank.osgi.jsp.internal.JspProxyServlet
> 6=[pl.eurobank.multipulpit.system.menu.MenuService]
> Bundleeb-multipulpit-system (25)
> State=disabled
> DefaultState=enabled
> Activation=immediate
> ServiceType=service
> Services=pl.eurobank.multipulpit.system.menu.MenuService
> Properties=
> component.id=6
> component.name=pl.eurobank.multipulpit.system.menu.MenuService
> service.pid=pl.eurobank.multipulpit.system.menu.MenuService
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.