Hi Achime,

features:install activemq-client does not work, Karaf cant not find it
( "Error executing command: No feature named 'activemq-client' with
version '0.0.0' available" )

On other hand, the following features.xml file generated from
maven-features-plugin, works:

<?xml version="1.0" encoding="UTF-8"?>
<features>
  <feature name='spring-jms' version='3.0.5.RELEASE'>
    <bundle>mvn:org.springframework/spring-core/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-tx/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-context/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-beans/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-aop/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-expression/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-asm/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-jms/3.0.5.RELEASE</bundle>
  </feature>
  <feature name='activemq-core' version='5.4.2'>
    <bundle>mvn:org.springframework/spring-core/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-context/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-expression/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-beans/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-aop/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-asm/3.0.5.RELEASE</bundle>
    <bundle>mvn:commons-net/commons-net/2.0</bundle>
    <bundle>mvn:org.apache.activemq/activemq-core/5.4.2</bundle>
  </feature>
  <feature name='xbean-spring' version='3.7'>
    <bundle>mvn:org.springframework/spring-core/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-expression/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-beans/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-aop/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-context/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.springframework/spring-asm/3.0.5.RELEASE</bundle>
    <bundle>mvn:org.apache.xbean/xbean-spring/3.7</bundle>
  </feature>
  <feature name='geronimo-jta_1.1_spec' version='1.1.1'>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
  </feature>
  <feature name='geronimo-jms_1.1_spec' version='1.1.1'>
    <feature version='1.1.1'>geronimo-jta_1.1_spec</feature>
    <bundle>mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1</bundle>
  </feature>
  <feature name='geronimo-annotation_1.0_spec' version='1.1.1'>
    
<bundle>mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
  </feature>
  <feature name='geronimo-j2ee-management_1.1_spec' version='1.0.1'>
    
<bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1</bundle>
  </feature>
  <feature name='kahadb' version='5.4.2'>
    <bundle>mvn:org.apache.activemq/kahadb/5.4.2</bundle>
  </feature>
</features>



-Dan


On Mon, Mar 14, 2011 at 2:13 AM, Achim Nierbeck <[email protected]> wrote:
> Hi Dan,
>
> after droping your features.xml your features are also available for
> installing by features:install activemq-client.
> If you do this in the shell you will receive the information you are
> missing right now.
>
> regards, Achim
>
> 2011/3/14 Dan Tran <[email protected]>:
>> Hi,
>>
>>
>> Since I now have a known set of bundles for activemq client ( i deploy
>> all the bundles to deploy directory and karaf happy ), the next step
>> is to see if I can automate it via a features.xml. However karaf is
>> dead silent when i drop my features.xml to deploy directory
>>
>> here is my file
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>
>>  <feature name='activemq-client' version='5.4.2' >
>>    <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:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
>>    <bundle>mvn:org.apache.activemq/activemq-core/5.4.2</bundle>
>>    <bundle>mvn:org.apache.activemq/kahadb/5.4.2</bundle>
>>    <bundle>mvn:org.apache.xbean/xbean-spring/3.7</bundle>
>>    <bundle>mvn:org.springframework/spring-jms/3.0.5.RELEASE</bundle>
>>    <bundle>mvn:org.springframework/spring-tx/3.0.5.RELEASE</bundle>
>>  </feature>
>> </features>
>>
>>
>> what is the best way to trouble shot this issue?
>>
>> Thanks
>>
>> -Dan
>>
>

Reply via email to