You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2012/10/16 07:29:04 UTC

[jira] [Commented] (KARAF-1924) Fix the WARN logs from starting a vanilla Karaf 2.3.0

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

Freeman Fang commented on KARAF-1924:
-------------------------------------

This WARN log is from pax-url when the org.ops4j.pax.url.mvn.defaultRepositories in org.ops4j.pax.url.mvn.cfg has no id.
This is a new feature introduced by recent pax-url, we can add id for karaf.system and karaf.local-repo to avoid this WARN
                
> Fix the WARN logs from starting a vanilla Karaf 2.3.0
> -----------------------------------------------------
>
>                 Key: KARAF-1924
>                 URL: https://issues.apache.org/jira/browse/KARAF-1924
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-core
>    Affects Versions: 2.3.0
>         Environment: osx, 10.7.5, jdk  1.6.0_35
>            Reporter: Claus Ibsen
>            Assignee: Freeman Fang
>            Priority: Minor
>
> When starting the just released Karaf 2.3.0 on my laptop I see 3 WARNs in the log
> {code}
> 2012-10-16 07:00:51,051 | WARN  | JMX OSGi Agent   | core                             | ?                                   ? | 29 - org.apache.aries.jmx.core - 1.0.1 | There are no MBean servers registred, can't register MBeans
> 2012-10-16 07:00:51,423 | WARN  | rint Extender: 1 | MavenRepositoryURL               | maven.commons.MavenRepositoryURL  116 | 1 - org.ops4j.pax.url.mvn - 1.3.5 | Repository spec file:/opt/apache-karaf-2.3.0/system/ does not contain an identifier. This is deprecated & discouraged & just evil.
> 2012-10-16 07:00:51,425 | WARN  | rint Extender: 1 | MavenRepositoryURL               | maven.commons.MavenRepositoryURL  116 | 1 - org.ops4j.pax.url.mvn - 1.3.5 | Repository spec file:/opt/apache-karaf-2.3.0/local-repo/ does not contain an identifier. This is deprecated & discouraged & just evil.
> {code}
> It would be nice if Karaf can startup without any WARNs. As end users may think there is something wrong on their system.
> And the warn message above is a bit harsh saying you are evil :(

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira