Hi,
Can someone enlighten me on how I can debug an issue with the not satisfied
references? I know which reference is not satisfied, what's next?
Apparently the needed features are available. This happens with some of the
profiles that comes with multi-profile support.
The osgi console outputs are as follows.
osgi> ls
24 Active coordination.client.component
org.wso2.carbon.coordination.core(bid=176)
25 Unsatisfied carbon.core.dscomponent org.wso2.carbon.core(bid=177)
26 Unsatisfied
org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent
org.wso2.carbon.core(bid=177)
27 Unsatisfied
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent
org.wso2.carbon.core(bid=177)
28 Unsatisfied
org.wso2.stratos.permission.update.PermissionUpdateServiceComponent
org.wso2.carbon.core(bid=177)
29 Registered MIMEType2FileExtensionMap.component
org.wso2.carbon.core(bid=177)
30 Unsatisfied core.services.dscomponent
org.wso2.carbon.core.services(bid=181)
31 Active agentservice.component
org.wso2.carbon.databridge.agent.thrift(bid=182)
32 Active dataservices.component org.wso2.carbon.dataservices.core(bid=186)
33 Unsatisfied org.wso2.carbon.deployment.synchronizer.XXX
org.wso2.carbon.deployment.synchronizer(bid=191)
36 Unsatisfied org.wso2.carbon.discovery
org.wso2.carbon.discovery.core(bid=195)
37 Unsatisfied
org.wso2.carbon.email.verification.internal.EmailVerificationServiceComponent
org.wso2.carbon.email.verification(bid=197)
38 Unsatisfied wsevent.component.admin org.wso2.carbon.event.admin(bid=198)
39 Unsatisfied eventbrokerbuilder.component
org.wso2.carbon.event.core(bid=202)
40 Unsatisfied wsevent.component org.wso2.carbon.event.ws(bid=205)
41 Active component.manager.core.service.comp
org.wso2.carbon.feature.mgt.core(bid=206)
47 Unsatisfied org.wso2.carbon.logging.services
org.wso2.carbon.logging.service(bid=233)
48 Active org.wso2.carbon.ndatasource
org.wso2.carbon.ndatasource.core(bid=241)
49 Unsatisfied tasks.component org.wso2.carbon.ntask.core(bid=246)
50 Active org.wso2.carbon.redirector.servlet
org.wso2.carbon.redirector.servlet(bid=257)
53 Unsatisfied org.wso2.carbon.registry.eventing
org.wso2.carbon.registry.eventing(bid=265)
54 Active org.wso2.carbon.registry.properties
org.wso2.carbon.registry.properties(bid=266)
55 Unsatisfied org.wso2.carbon.registry.resource
org.wso2.carbon.registry.resource(bid=269)
56 Unsatisfied registry.search.dscomponent
org.wso2.carbon.registry.search(bid=272)
58 Unsatisfied org.wso2.carbon.registry.servlet
org.wso2.carbon.registry.servlet(bid=276)
60 Unsatisfied reporting.template
org.wso2.carbon.reporting.template.core(bid=285)
*osgi> ls -c 177*
*Components in bundle org.wso2.carbon.core: *
ID Component details
25 Component[
name = carbon.core.dscomponent
factory = null
autoenable = true
immediate = true
implementation = org.wso2.carbon.core.internal.CarbonCoreServiceComponent
state = Unsatisfied
properties = {service.pid=carbon.core.dscomponent}
serviceFactory = false
serviceInterface = null
references = {
Reference[name = user.realmservice.default, interface =
org.wso2.carbon.user.core.service.RealmService, policy = dynamic,
cardinality = 1..1, target = null, bind = setRealmService, unbind =
unsetRealmService]
Reference[name = registry.service, interface =
org.wso2.carbon.registry.core.service.RegistryService, policy = dynamic,
cardinality = 1..1, target = null, bind = setRegistryService, unbind =
unsetRegistryService]
Reference[name = server.configuration.service, interface =
org.wso2.carbon.base.api.ServerConfigurationService, policy = dynamic,
cardinality = 1..1, target = null, bind = setServerConfigurationService,
unbind = unsetServerConfigurationService]
Reference[name = http.service, interface =
org.osgi.service.http.HttpService, policy = dynamic, cardinality = 1..1,
target = null, bind = setHttpService, unbind = unsetHttpService]
Reference[name = serverShutdownHandler, interface =
org.wso2.carbon.core.ServerShutdownHandler, policy = dynamic, cardinality =
0..n, target = null, bind = addServerShutdownHandler, unbind =
removeServerShutdownHandler]
Reference[name = serverRestartHandler, interface =
org.wso2.carbon.core.ServerRestartHandler, policy = dynamic, cardinality =
0..n, target = null, bind = addServerRestartHandler, unbind =
removeServerRestartHandler]
Reference[name = serverStartupHandler, interface =
org.wso2.carbon.core.ServerStartupHandler, policy = dynamic, cardinality =
0..n, target = null, bind = addServerStartupHandler, unbind =
removeServerStartupHandler]
}
located in bundle = org.wso2.carbon.core_4.2.0.SNAPSHOT [177]
]
Dynamic information :
*The component is NOT satisfied
The following references are not satisfied:
Reference[name = http.service, interface =
org.osgi.service.http.HttpService, policy = dynamic, cardinality = 1..1,
target = null, bind = setHttpService, unbind = unsetHttpService]
Reference[name = serverShutdownHandler, interface =
org.wso2.carbon.core.ServerShutdownHandler, policy = dynamic, cardinality =
0..n, target = null, bind = addServerShutdownHandler, unbind =
removeServerShutdownHandler]
Reference[name = serverRestartHandler, interface =
org.wso2.carbon.core.ServerRestartHandler, policy = dynamic, cardinality =
0..n, target = null, bind = addServerRestartHandler, unbind =
removeServerRestartHandler]
Reference[name = serverStartupHandler, interface =
org.wso2.carbon.core.ServerStartupHandler, policy = dynamic, cardinality =
0..n, target = null, bind = addServerStartupHandler, unbind =
removeServerStartupHandler]
Component configurations :
Configuration properties:
service.pid = carbon.core.dscomponent
component.name = carbon.core.dscomponent
component.id = 24
Instances:
26 Component[
name =
org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent
factory = null
autoenable = true
immediate = true
implementation =
org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent
state = Unsatisfied
properties =
{service.pid=org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent}
serviceFactory = false
serviceInterface = null
references = {
Reference[name = listener.manager.service, interface =
org.apache.axis2.engine.ListenerManager, policy = dynamic, cardinality =
1..1, target = null, bind = setListenerManager, unbind =
unsetListenerManager]
}
located in bundle = org.wso2.carbon.core_4.2.0.SNAPSHOT [177]
]
Dynamic information :
*The component is NOT satisfied
The following references are not satisfied:
Reference[name = listener.manager.service, interface =
org.apache.axis2.engine.ListenerManager, policy = dynamic, cardinality =
1..1, target = null, bind = setListenerManager, unbind =
unsetListenerManager]
Component configurations :
Configuration properties:
service.pid =
org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent
component.name =
org.wso2.carbon.core.internal.ListenerManagerRetrieverServiceComponent
component.id = 25
Instances:
27 Component[
name = org.wso2.carbon.core.internal.StartupFinalizerServiceComponent
factory = null
autoenable = true
immediate = true
implementation =
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent
state = Unsatisfied
properties =
{service.pid=org.wso2.carbon.core.internal.StartupFinalizerServiceComponent}
serviceFactory = false
serviceInterface = null
references = {
Reference[name = org.wso2.carbon.configCtx, interface =
org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic,
cardinality = 1..1, target = null, bind = setConfigurationContext, unbind =
unsetConfigurationContext]
Reference[name = user.realmservice.default, interface =
org.wso2.carbon.user.core.service.RealmService, policy = dynamic,
cardinality = 1..1, target = null, bind = setRealmService, unbind =
unsetRealmService]
Reference[name = registry.service, interface =
org.wso2.carbon.registry.core.service.RegistryService, policy = dynamic,
cardinality = 1..1, target = null, bind = setRegistryService, unbind =
unsetRegistryService]
}
located in bundle = org.wso2.carbon.core_4.2.0.SNAPSHOT [177]
]
Dynamic information :
*The component is NOT satisfied
The following references are not satisfied:
Reference[name = org.wso2.carbon.configCtx, interface =
org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic,
cardinality = 1..1, target = null, bind = setConfigurationContext, unbind =
unsetConfigurationContext]
Component configurations :
Configuration properties:
service.pid =
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent
component.name =
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent
component.id = 26
Instances:
28 Component[
name = org.wso2.stratos.permission.update.PermissionUpdateServiceComponent
factory = null
autoenable = true
immediate = true
implementation =
org.wso2.carbon.core.internal.permission.update.PermissionUpdateServiceComponent
state = Unsatisfied
properties =
{service.pid=org.wso2.stratos.permission.update.PermissionUpdateServiceComponent}
serviceFactory = false
serviceInterface = null
references = {
Reference[name = registry.service, interface =
org.wso2.carbon.registry.core.service.RegistryService, policy = dynamic,
cardinality = 1..1, target = null, bind = setRegistryService, unbind =
unsetRegistryService]
Reference[name = config.context.service, interface =
org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic,
cardinality = 1..1, target = null, bind = setConfigurationContextService,
unbind = unsetConfigurationContextService]
}
located in bundle = org.wso2.carbon.core_4.2.0.SNAPSHOT [177]
]
Dynamic information :
*The component is NOT satisfied
The following references are not satisfied:
Reference[name = config.context.service, interface =
org.wso2.carbon.utils.ConfigurationContextService, policy = dynamic,
cardinality = 1..1, target = null, bind = setConfigurationContextService,
unbind = unsetConfigurationContextService]
Component configurations :
Configuration properties:
service.pid =
org.wso2.stratos.permission.update.PermissionUpdateServiceComponent
component.name =
org.wso2.stratos.permission.update.PermissionUpdateServiceComponent
component.id = 27
Instances:
29 Component[
name = MIMEType2FileExtensionMap.component
factory = null
autoenable = true
immediate = false
implementation = org.wso2.carbon.core.util.MIMEType2FileExtensionMap
state = Unsatisfied
properties = {service.pid=MIMEType2FileExtensionMap.component}
serviceFactory = false
serviceInterface = [org.wso2.carbon.core.util.MIMEType2FileExtensionMap]
references = null
located in bundle = org.wso2.carbon.core_4.2.0.SNAPSHOT [177]
]
Dynamic information :
The component is satisfied
All component references are satisfied
Component configurations :
Configuration properties:
objectClass =
String[org.wso2.carbon.core.util.MIMEType2FileExtensionMap]
service.pid = MIMEType2FileExtensionMap.component
component.name = MIMEType2FileExtensionMap.component
component.id = 28
Instances:
--
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com
,
*email: **kasung AT spamfree wso2.com
** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe
*
*
*blog: **http://kasunbg.org* <http://kasunbg.org>
*
twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev