karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Moved: (KARAF-8) Improve error reporting for features installer
Date Mon, 28 Jun 2010 09:56:51 GMT

     [ https://issues.apache.org/jira/browse/KARAF-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet moved FELIX-2077 to KARAF-8:
--------------------------------------------

              Project: Karaf  (was: Felix)
                  Key: KARAF-8  (was: FELIX-2077)
    Affects Version/s:     (was: karaf-1.2.0)
          Component/s:     (was: Karaf)

> Improve error reporting for features installer
> ----------------------------------------------
>
>                 Key: KARAF-8
>                 URL: https://issues.apache.org/jira/browse/KARAF-8
>             Project: Karaf
>          Issue Type: Bug
>         Environment: ServiceMix 4.1.0 SNAPSHOT
> Karaf 1.2.0
>            Reporter: Vincent Girard-Reydet
>            Priority: Minor
>
> When a feature is installed and one of the to-be-installed bundles raises an exception,
the feature installer only reports 'null' on the console to the user. The error reporting
should be improved so that at least the user knows which bundle caused the error (the only
way to know currently is to switch logs to TRACE level and note the last bundle trying to
install).
> Steps to reproduce:
> 1. unzip one of the bundles of a feature (the bundle can already be installed, it does
not change anything)
> 2. Make a trivial change in the Manifest
> 3. Zip again the bundle using 7-Zip file archiver (mode: ZIP format, normal compression)
> 4. Change the file name to xxx.jar and copy it back to your Maven local repository (note:
if the file was taken from Karaf 'system' repository, it should be placed here back again).
> This way we have created a bundle whose Manifest won't be found by the Jar reader.
> 5. Install the feature containing your bundle
> When the feature installer tries to open the target bundle to compare version to the
currently installed version, it will raise an exception. The exception is catched, but on
the console only "null" is displayed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message