You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Adrian Trenaman (JIRA)" <ji...@apache.org> on 2010/07/30 10:32:51 UTC

[jira] Created: (SMX4-570) activemq feature does -not- include the Geronimo specs for javax.annotation; cannot deploy a broker XML.

activemq feature does -not- include the Geronimo specs for javax.annotation; cannot deploy a broker XML.
--------------------------------------------------------------------------------------------------------

                 Key: SMX4-570
                 URL: https://issues.apache.org/activemq/browse/SMX4-570
             Project: ServiceMix 4
          Issue Type: Bug
          Components: Bundles
    Affects Versions: 4.2.0
         Environment: All
            Reporter: Adrian Trenaman


When you deploy a minimal configuration of ServiceMix4, say with just activemq as a feature, it won't install. 

This is because the javax.annotation package is not present - you need to install the bundle mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1 

You won't notice this problem in a default installation of ServiceMix4, because this bundle is dragged in by the servicemix-bean feature, which is installed by default. 

I propose that we simply update appropriate 'activemq' feature to include this bundle. Example fix for the fuse distribution is below (see line 10) - we just have to add the appropriate bundle to the feature.

{code:xml} 
    <feature name="activemq" version="5.3.1-fuse-02-00">
        <feature version="4.2.0-fuse-02-00">connector</feature>
        <feature version="2.5.6.SEC01">spring</feature>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.josql/1.5_3</bundle>
        <bundle>mvn:commons-lang/commons-lang/2.4</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3</bundle>
        <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
        <bundle>mvn:org.apache.xbean/xbean-spring/3.5</bundle>
        <bundle>mvn:org.apache.activemq/kahadb/5.3.1-fuse-02-00</bundle>
        <bundle>mvn:org.apache.activemq/activemq-core/5.3.1-fuse-02-00</bundle>
        <bundle>mvn:org.apache.activemq/activemq-ra/5.3.1-fuse-02-00</bundle>
        <bundle>mvn:org.apache.activemq/activemq-console/5.3.1-fuse-02-00</bundle>
        <bundle>mvn:org.apache.activemq/activemq-pool/5.3.1-fuse-02-00</bundle>
        <bundle>mvn:org.apache.servicemix.activemq/org.apache.servicemix.activemq.commands/4.2.0-fuse-02-00</bundle>
    </feature>
{code} 

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


[jira] Resolved: (SMX4-570) activemq feature does -not- include the Geronimo specs for javax.annotation; cannot deploy a broker XML.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMX4-570.
-------------------------------

    Resolution: Won't Fix

Hi Adrian,

This  isn't an issue for apache side.
For Apache SMX 4.2 release, we use activemq 5.3, which has no javax.annotation package import for activemq-core bundle jar.
And for Apache SMX 4.3 snapshot, we use activemq 5.4-SNPAHOT, which has javax.annotation package import for activemq-core bundle jar, but now we use feature file from activemq side for activemq related features, the feature file is mvn:org.apache.activemq/activemq-karaf/5.4-SNAPSHOT/xml/features, and in this file you can find that the activemq feature is
 <feature name="activemq" version="5.4-SNAPSHOT">
        <bundle>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
        <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
        <bundle>mvn:commons-pool/commons-pool/1.5.4</bundle>
        <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-lang/2.4_3</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3</bundle>
        <bundle>mvn:org.apache.activemq/activemq-core/5.4-SNAPSHOT</bundle>
        <bundle>mvn:org.apache.activemq/kahadb/5.4-SNAPSHOT</bundle>
        <bundle>mvn:org.apache.activemq/activemq-console/5.4-SNAPSHOT</bundle>
        <bundle>mvn:org.apache.activemq/activemq-pool/5.4-SNAPSHOT</bundle>
        <bundle>mvn:org.apache.activemq/activemq-karaf/5.4-SNAPSHOT</bundle>
        <bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.1-incubating</bundle>
    </feature>

which already have mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1.

So this is an issue for FUSE side ESB release only, when we do next FUSE ESB release, I believe we'll use same way(use activemq features file) as we do for Apache smx 4.3 snapshot,  so that we can fix FUSE ESB release also.

Freeman

> activemq feature does -not- include the Geronimo specs for javax.annotation; cannot deploy a broker XML.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-570
>                 URL: https://issues.apache.org/activemq/browse/SMX4-570
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>    Affects Versions: 4.2.0
>         Environment: All
>            Reporter: Adrian Trenaman
>            Assignee: Freeman Fang
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> When you deploy a minimal configuration of ServiceMix4, say with just activemq as a feature, it won't install. 
> This is because the javax.annotation package is not present - you need to install the bundle mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1 
> You won't notice this problem in a default installation of ServiceMix4, because this bundle is dragged in by the servicemix-bean feature, which is installed by default. 
> I propose that we simply update appropriate 'activemq' feature to include this bundle. Example fix for the fuse distribution is below (see line 10) - we just have to add the appropriate bundle to the feature.
> {code:xml} 
>     <feature name="activemq" version="5.3.1-fuse-02-00">
>         <feature version="4.2.0-fuse-02-00">connector</feature>
>         <feature version="2.5.6.SEC01">spring</feature>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.josql/1.5_3</bundle>
>         <bundle>mvn:commons-lang/commons-lang/2.4</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3</bundle>
>         <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
>         <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
>         <bundle>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
>         <bundle>mvn:org.apache.xbean/xbean-spring/3.5</bundle>
>         <bundle>mvn:org.apache.activemq/kahadb/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-core/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-ra/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-console/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-pool/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.servicemix.activemq/org.apache.servicemix.activemq.commands/4.2.0-fuse-02-00</bundle>
>     </feature>
> {code} 

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


[jira] Assigned: (SMX4-570) activemq feature does -not- include the Geronimo specs for javax.annotation; cannot deploy a broker XML.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SMX4-570:
---------------------------------

    Assignee: Freeman Fang

> activemq feature does -not- include the Geronimo specs for javax.annotation; cannot deploy a broker XML.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-570
>                 URL: https://issues.apache.org/activemq/browse/SMX4-570
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>    Affects Versions: 4.2.0
>         Environment: All
>            Reporter: Adrian Trenaman
>            Assignee: Freeman Fang
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> When you deploy a minimal configuration of ServiceMix4, say with just activemq as a feature, it won't install. 
> This is because the javax.annotation package is not present - you need to install the bundle mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1 
> You won't notice this problem in a default installation of ServiceMix4, because this bundle is dragged in by the servicemix-bean feature, which is installed by default. 
> I propose that we simply update appropriate 'activemq' feature to include this bundle. Example fix for the fuse distribution is below (see line 10) - we just have to add the appropriate bundle to the feature.
> {code:xml} 
>     <feature name="activemq" version="5.3.1-fuse-02-00">
>         <feature version="4.2.0-fuse-02-00">connector</feature>
>         <feature version="2.5.6.SEC01">spring</feature>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.josql/1.5_3</bundle>
>         <bundle>mvn:commons-lang/commons-lang/2.4</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3</bundle>
>         <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
>         <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
>         <bundle>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool/1.5.4_1</bundle>
>         <bundle>mvn:org.apache.xbean/xbean-spring/3.5</bundle>
>         <bundle>mvn:org.apache.activemq/kahadb/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-core/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-ra/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-console/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.activemq/activemq-pool/5.3.1-fuse-02-00</bundle>
>         <bundle>mvn:org.apache.servicemix.activemq/org.apache.servicemix.activemq.commands/4.2.0-fuse-02-00</bundle>
>     </feature>
> {code} 

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