Tomas Forsman created OPENJPA-2202:
--------------------------------------

             Summary: axiom bundles does not have MANIFEST.MF as first entry of 
the zip
                 Key: OPENJPA-2202
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2202
             Project: OpenJPA
          Issue Type: Bug
         Environment: Using axiom version 1.2.13 (could not find it in the 
"Affects Version/s" list)
Karaf 2.2.6
            Reporter: Tomas Forsman


The problem occurs when trying to install axiom-impl (or axiom-dom) from within 
a karaf-feature

<feature name="axiom-test" version="1.0.0-SNAPSHOT">
        <!-- possible that other bundles are needed here, this is just an 
example -->
        <bundle>mvn:org.apache.ws.commons.axiom/axiom-api/1.2.13</bundle>
        <bundle>mvn:org.apache.ws.commons.axiom/axiom-dom/1.2.13</bundle>
        <bundle>mvn:org.apache.ws.commons.axiom/axiom-impl/1.2.13</bundle>
</feature>

Typeing "feature:install axiom-test" from within karaf will give the following 
error:
"Error executing command: Manifest not present in the first entry of the zip 
mvn:org.apache.ws.commons.axiom/axiom-impl/1.2.13"

OpenJPA had the same issue and has solved it: 
https://issues.apache.org/jira/browse/OPENJPA-1737

"This issue only shows up when you do a features:install because the
features service is looking at the MANIFEST.MF right upfront to
determine if it needs to install the bundle or if there's already a
suitable bundle available in the container." -- 
http://mail-archives.apache.org/mod_mbox/karaf-user/201106.mbox/%3cbanlktim7gvyowqwazryufoohcj0la2y...@mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to