Re: CM and DS logging interpretation

2016-09-16 Thread David Jencks
Dunno about the config admin logging, but if you don’t see any activity setting 
up a component manager in the DS logs, DS didn’t get a configuration for your 
component.  The gogo scr:info command will show this more easily, there won’t 
be any component configurations after the component description.  Is there a 
config admin gogo command to show you all the configurations it found?

david jencks

> On Sep 16, 2016, at 7:37 AM, Benson Margulies  wrote:
> 
> I need some help interpreting the logging from DS and CM, if someone
> could be kind enough to have a look at the material below.
> 
> I have an @Component named WorkerBusService which is never activated.
> I see no SCR messages related to it in the log except for other
> components trying to depend on it.
> 
> It need a configuration (configured policy = REQUIRED).
> 
> I believe that the necessary file is sitting in the directory
> configured with felix.cm.dir. I suspect that the log messages below
> are trying to tell me something about this, one way or the other. It
> says 'listing configurations for', but then doesn't list any. Does
> this mean that it didn't find it? I set the CM log level all the way
> up (to 4).
> 
> 10:25:34.474 [main] DEBUG rosapi-worker-bus.1.4.0.201609161353 -
> BundleComponentActivator : Bundle [86] ComponentHolder created for
> com.basistech.ws.worker.bus.impl.BusService
> 10:25:34.475 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]listConfigurations(filter=(|(service.factoryPid=com.basistech.ws.bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar)))
> 10:25:34.475 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]Listing configurations
> matching 
> (|(service.factoryPid=com.basistech.ws.bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar))
> 10:25:34.476 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]listConfigurations(filter=(|(service.pid=com.basistech.ws.bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar)))
> 10:25:34.476 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
> [[org.osgi.service.cm.ConfigurationAdmin]]Listing configurations
> matching 
> (|(service.pid=com.basistech.ws.bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar))
> 10:25:34.476 [main] DEBUG rosapi-worker-bus.1.4.0.201609161353 -
> BundleComponentActivator : Bundle [86] May enable component holder
> com.basistech.ws.worker.bus.impl.BusService
> 10:25:34.476 [main] DEBUG rosapi-worker-bus.1.4.0.201609161353 -
> BundleComponentActivator : Bundle [86] Enabling component holder
> com.basistech.ws.worker.bus.impl.BusService
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org



CM and DS logging interpretation

2016-09-16 Thread Benson Margulies
I need some help interpreting the logging from DS and CM, if someone
could be kind enough to have a look at the material below.

I have an @Component named WorkerBusService which is never activated.
I see no SCR messages related to it in the log except for other
components trying to depend on it.

It need a configuration (configured policy = REQUIRED).

I believe that the necessary file is sitting in the directory
configured with felix.cm.dir. I suspect that the log messages below
are trying to tell me something about this, one way or the other. It
says 'listing configurations for', but then doesn't list any. Does
this mean that it didn't find it? I set the CM log level all the way
up (to 4).

10:25:34.474 [main] DEBUG rosapi-worker-bus.1.4.0.201609161353 -
BundleComponentActivator : Bundle [86] ComponentHolder created for
com.basistech.ws.worker.bus.impl.BusService
10:25:34.475 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]listConfigurations(filter=(|(service.factoryPid=com.basistech.ws.bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar)))
10:25:34.475 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]Listing configurations
matching 
(|(service.factoryPid=com.basistech.ws.bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.factoryPid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar))
10:25:34.476 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]listConfigurations(filter=(|(service.pid=com.basistech.ws.bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar)))
10:25:34.476 [main] DEBUG org.apache.felix.configadmin.1.8.10 -
[[org.osgi.service.cm.ConfigurationAdmin]]Listing configurations
matching 
(|(service.pid=com.basistech.ws.bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353)(service.pid=com.basistech.ws.bus|rosapi-worker-bus|1.4.0.201609161353|/Users/benson/x/rosapi1.5/headless/framework/../collect-bundles/target/bundles/rosapi-worker-bus-1.4.0-SNAPSHOT.jar))
10:25:34.476 [main] DEBUG rosapi-worker-bus.1.4.0.201609161353 -
BundleComponentActivator : Bundle [86] May enable component holder
com.basistech.ws.worker.bus.impl.BusService
10:25:34.476 [main] DEBUG rosapi-worker-bus.1.4.0.201609161353 -
BundleComponentActivator : Bundle [86] Enabling component holder
com.basistech.ws.worker.bus.impl.BusService

-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org