You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2008/05/01 01:38:56 UTC

[jira] Created: (CXF-1562) OSGI needed manifest modifications

OSGI needed manifest modifications
----------------------------------

                 Key: CXF-1562
                 URL: https://issues.apache.org/jira/browse/CXF-1562
             Project: CXF
          Issue Type: Bug
          Components: Bus
    Affects Versions: 2.0.6
            Reporter: Dave Brosius
            Priority: Minor
             Fix For: 2.1.1


The manifest for cxf needs to specify

Bundle-ClassPath: .,cxf-2.0.5-incubator.jar

and not just

Bundle-ClassPath: cxf-2.0.5-incubator.jar

(or whatever the jar is called now). That is add the .    (root directory)

Also

add

META-INF.services

to the Export-Package list

The reason is that BusFactory.getBusFactoryClass can't load 'META-INF/services/org.apache.cxf.bus.factory' from an OSGI class loader without it.



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


[jira] Commented: (CXF-1562) OSGI needed manifest modifications

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593889#action_12593889 ] 

Daniel Kulp commented on CXF-1562:
----------------------------------


I don't see a Bundle-ClassPath defined at all in 2.1/2.0.6.

Also, the second thing isn't ideal.   Exporting META-INF/services is not ideal as other jars use that as well.   For example, saaj looks for stuff in there.   Since you can only have one plugin exporting the package in your osgi container, it kind of is less than idea.

What I'm going to do is copy the 'META-INF/services/org.apache.cxf.bus.factory' to META-INF/cxf and have the factory check both.  services first, then the cxf dir.





> OSGI needed manifest modifications
> ----------------------------------
>
>                 Key: CXF-1562
>                 URL: https://issues.apache.org/jira/browse/CXF-1562
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.0.6
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: 2.1.1
>
>
> The manifest for cxf needs to specify
> Bundle-ClassPath: .,cxf-2.0.5-incubator.jar
> and not just
> Bundle-ClassPath: cxf-2.0.5-incubator.jar
> (or whatever the jar is called now). That is add the .    (root directory)
> Also
> add
> META-INF.services
> to the Export-Package list
> The reason is that BusFactory.getBusFactoryClass can't load 'META-INF/services/org.apache.cxf.bus.factory' from an OSGI class loader without it.

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


[jira] Resolved: (CXF-1562) OSGI needed manifest modifications

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1562.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.7
         Assignee: Daniel Kulp

Copied the file to META-INF/cxf and updated CXF to look there as well.




> OSGI needed manifest modifications
> ----------------------------------
>
>                 Key: CXF-1562
>                 URL: https://issues.apache.org/jira/browse/CXF-1562
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.0.6
>            Reporter: Dave Brosius
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.1.1, 2.0.7
>
>
> The manifest for cxf needs to specify
> Bundle-ClassPath: .,cxf-2.0.5-incubator.jar
> and not just
> Bundle-ClassPath: cxf-2.0.5-incubator.jar
> (or whatever the jar is called now). That is add the .    (root directory)
> Also
> add
> META-INF.services
> to the Export-Package list
> The reason is that BusFactory.getBusFactoryClass can't load 'META-INF/services/org.apache.cxf.bus.factory' from an OSGI class loader without it.

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