You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/04/11 12:52:25 UTC

[jira] [Commented] (KARAF-4484) Logging stops working when eventadmin is installed (as bootFeature or from command line)

    [ https://issues.apache.org/jira/browse/KARAF-4484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234866#comment-15234866 ] 

Jean-Baptiste Onofré commented on KARAF-4484:
---------------------------------------------

As you can see on the Karaf distribution, eventadmin has to be a startup feature (not a boot feature):

{code}
                    <startupFeatures>
                        <feature>eventadmin</feature>
                    </startupFeatures>
{code}

It's a requirement to avoid some refresh.

> Logging stops working when eventadmin is installed (as bootFeature or from command line)
> ----------------------------------------------------------------------------------------
>
>                 Key: KARAF-4484
>                 URL: https://issues.apache.org/jira/browse/KARAF-4484
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.0.4
>            Reporter: Roland Hauser
>            Priority: Critical
>         Attachments: karaf.log, karaf_with_eventadmin.log
>
>
> We build our own Karaf distribution and use therefore the karaf-maven-plugin. When a distribution is build with following configuration, logging works:
> {code}
> <bootFeatures>
> <feature>standard</feature>
> </bootFeatures>
> {code}
> When the eventadmin feature is added to the configuration, logging stops to work:
> {code}
> <bootFeatures>
> <feature>standard</feature>
> <feature>eventadmin</feature>
> </bootFeatures>
> {code}
> I'm pretty sure that other stuff won't work as expected as well, for instance when I want to list all bundles on the console with command bundle:list, an empty list is displayed which cannot be correct:
> {code}
> appsrvadm@root()> bundle:list
> START LEVEL 100 , List Threshold: 50
> ID | State | Lvl | Version | Name
> ---------------------------------
> {code}
> The same happens, when we install the eventadmin feature after start via command line. This might be related to KARAF-3739



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)