Is this the log output for the xml descriptor you show?  If so what is wrong?  
If not, what is the log output for the xml descriptor you show, and what xml 
descriptor corresponds to this log output?

thanks
david jencks

On Jul 30, 2013, at 4:29 AM, bokie <[email protected]> wrote:

> This seems to be a recurring issue...
> 
> My requirement now, was to create a bundle that embedded the apache axis 1.4
> framework. The bundle I created does not get activated nor does the modified
> method get called if I declare a configurationPid with configurationPolicy =
> REQUIRE. If I declare the configurationPolicy = OPTIONAL then the
> component's activate method is called (I've doubled checked that the
> configuration is in fact available to the component).
> 
> I'm not sure, but it seems to like the embedded jars cause a state that the
> SCR deems unsatisfiable for some reason (logging info not conclusive).
> 
> The log output I get from the SCR:
> 
> [p.b.r.n.s.b.Notifier] This thread collected dependencies
> [p.b.r.n.s.b.Notifier] getService won collecting dependencies, proceed to
> creating object.
> [p.b.r.n.s.b.Notifier] getting activate: activate
> [p.b.r.n.s.b.Notifier] Locating method activate in class
> p.b.r.n.s.b.Notifier
> [p.b.r.n.s.b.Notifier] Declared Method
> p.b.r.n.s.b.Notifier.activate([interface
> org.osgi.service.component.ComponentContext]) not found
> [p.b.r.n.s.b.Notifier] Declared Method
> p.b.r.n.s.b.Notifier.activate([interface org.osgi.framework.BundleContext])
> not found
> [p.b.r.n.s.b.Notifier] Declared Method
> p.b.r.n.s.b.Notifier.activate([interface java.util.Map]) not found
> [p.b.r.n.s.b.Notifier] Declared Method p.b.r.n.s.b.Notifier.activate() not
> found
> [p.b.r.n.s.b.Notifier] Locating method activate in class java.lang.Object
> [p.b.r.n.s.b.Notifier] Declared Method java.lang.Object.activate([interface
> org.osgi.service.component.ComponentContext]) not found
> [p.b.r.n.s.b.Notifier] Declared Method java.lang.Object.activate([interface
> org.osgi.framework.BundleContext]) not found
> [p.b.r.n.s.b.Notifier] Declared Method java.lang.Object.activate([interface
> java.util.Map]) not found
> [p.b.r.n.s.b.Notifier] Declared Method java.lang.Object.activate() not found
> [p.b.r.n.s.b.Notifier] activate method [activate] not found, ignoring
> [p.b.r.n.s.b.Notifier] Set implementation object for component
> p.b.r.n.s.b.Notifier
> [p.b.r.n.s.b.Notifier] State transition : Registered -> Active : service
> reg: org.apache.felix.framework.ServiceRegistrationImpl@4b84f12e
> 
> The generated component xml:
> 
> <?xml version='1.1'?>
> <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.2.0";
> name="p.b.r.n.s.b.Notifier" configuration-policy="require"
> activate="activate" modified="modified"
> configuration-pid="notification.sms.bankguarantee.bank-guarantee-notifier">
>  <implementation class="p.b.r.n.s.b.Notifier"/>
>  <service>
>    <provide interface="p.b.r.p.Subscriber"/>
>  </service>
> </scr:component>
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-felix.18485.x6.nabble.com/DS-activate-method-activate-not-found-Component-will-fail-tp5004353p5004435.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to