Furthermore in looking at the scr:list | grep <component_name>
it produces [com.liferay.portal.http.tunnel.extender.HttpTunnelExtender] [ 60] [true] which seems to indicate that it's enabled... which it's not really. - Ray On Thu, Dec 3, 2015 at 11:10 AM, Raymond Auge <raymond.a...@liferay.com> wrote: > The point is that if you start with no configuration, and you view the > component scr:info it's hard for a less knowledgeable person to recognize > that it's missing a configuration? > > I would hope to see something like this: > > -------------------------------- > g! scr:info com.liferay.portal.http.tunnel.extender.HttpTunnelExtender > *** Bundle: com.liferay.portal.http.tunnel.extender (60) > Component Description: > Name: com.liferay.portal.http.tunnel.extender.HttpTunnelExtender > Default State: enabled > Activation: immediate > Configuration Policy: require > Activate Method: activate > Deactivate Method: deactivate > Modified Method: modified > Configuration Pid: > [com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration] > Services: Service Scope: null > Properties: > Component Configuration: > State: missing > g! > -------------------------------- > > make sense now? > > > On Thu, Dec 3, 2015 at 11:03 AM, David Jencks <david.a.jen...@gmail.com> > wrote: > >> It looks pretty blatant to me that the reason there are no component >> configurations is that there is no CA configuration. What kind of >> notification do you want? >> >> thanks >> david jencks >> >> > On Dec 3, 2015, at 7:57 AM, Raymond Auge <raymond.a...@liferay.com> >> wrote: >> > >> > Hey all, >> > >> > It seems that scr:info report is not clearly indicating when a required >> > configuration is not available. It is showing good info when the >> component >> > has a configuration: >> > >> > Here is the report WITH required configuration: >> > ---------------------------------- >> > g! scr:info com.liferay.portal.http.tunnel.extender.HttpTunnelExtender >> > *** Bundle: com.liferay.portal.http.tunnel.extender (60) >> > Component Description: >> > Name: com.liferay.portal.http.tunnel.extender.HttpTunnelExtender >> > Default State: enabled >> > Activation: immediate >> > Configuration Policy: require >> > Activate Method: activate >> > Deactivate Method: deactivate >> > Modified Method: modified >> > Configuration Pid: >> > >> [com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration] >> > Services: Service Scope: null >> > Properties: >> > Component Configuration: >> > ComponentId: 1936 >> > State: active >> > Properties: >> > component.id = 1936 >> > component.name = >> > com.liferay.portal.http.tunnel.extender.HttpTunnelExtender >> > hostsAllowed = [127.0.0.1] >> > service.pid = >> > >> com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration >> > g! >> > ---------------------------------- >> > >> > And here is the report when NO required configuration is available: >> > >> > ---------------------------------- >> > g! scr:info com.liferay.portal.http.tunnel.extender.HttpTunnelExtender >> > *** Bundle: com.liferay.portal.http.tunnel.extender (60) >> > Component Description: >> > Name: com.liferay.portal.http.tunnel.extender.HttpTunnelExtender >> > Default State: enabled >> > Activation: immediate >> > Configuration Policy: require >> > Activate Method: activate >> > Deactivate Method: deactivate >> > Modified Method: modified >> > Configuration Pid: >> > >> [com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration] >> > Services: Service Scope: null >> > Properties: >> > g! >> > ---------------------------------- >> > >> > As you can see it's not clear at all that the component is missing the >> > configuration it requires. >> > >> > Can we fix this? >> > >> > -- >> > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> >> > (@rotty3000) >> > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> >> > (@Liferay) >> > Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> >> (@OSGiAlliance) >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org >> For additional commands, e-mail: users-h...@felix.apache.org >> >> > > > -- > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> > (@rotty3000) > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> > (@Liferay) > Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> > (@OSGiAlliance) > -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)