dantran wrote:
> 
> ah, I should have looking further to figure out how to turn on debug
> logging.
> 
> -D
> 
> On Mon, Mar 14, 2011 at 8:50 AM, Achim Nierbeck
> <[email protected]> wrote:
>> ok,
>>
>> what is features:list telling you?
>> if your active-mq feature isn't listed here you have some other sort of
>> issue.
>> Please take a look at the logs, and if there is nothing in it switch
>> to DEBUG logging.
>>
>> When looking for such issues it's always helpfull to  restart your
>> karaf instance with dev:restart -clean
>> this way the data directory is deleted and you start with a fresh
>> installation :)
>>
>> regards, Achim
>>
>> 2011/3/14 Dan Tran <[email protected]>:
>>> 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"?>
>>> 
>>>  
>>>    mvn:org.springframework/spring-core/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-tx/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-context/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-beans/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-aop/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-expression/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-asm/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-jms/3.0.5.RELEASE
>>>  
>>>  
>>>    mvn:org.springframework/spring-core/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-context/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-expression/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-beans/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-aop/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-asm/3.0.5.RELEASE
>>>    mvn:commons-net/commons-net/2.0
>>>    mvn:org.apache.activemq/activemq-core/5.4.2
>>>  
>>>  
>>>    mvn:org.springframework/spring-core/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-expression/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-beans/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-aop/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-context/3.0.5.RELEASE
>>>    mvn:org.springframework/spring-asm/3.0.5.RELEASE
>>>    mvn:org.apache.xbean/xbean-spring/3.7
>>>  
>>>  
>>>    mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
>>>  
>>>  
>>>    geronimo-jta_1.1_spec
>>>    mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
>>>  
>>>  
>>>    mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1
>>>  
>>>  
>>>    mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1
>>>  
>>>  
>>>    mvn:org.apache.activemq/kahadb/5.4.2
>>>  
>>> 
>>>
>>>
>>>
>>> -Dan
>>>
>>>
>>> On Mon, Mar 14, 2011 at 2:13 AM, Achim Nierbeck
>>> &lt;[email protected]&gt; 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 &lt;[email protected]&gt;:
>>>>> 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"?>
>>>>> 
>>>>>  
>>>>>    mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
>>>>>    mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
>>>>>  
>>>>>  mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1
>>>>>    mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1
>>>>>    mvn:org.apache.activemq/activemq-core/5.4.2
>>>>>    mvn:org.apache.activemq/kahadb/5.4.2
>>>>>    mvn:org.apache.xbean/xbean-spring/3.7
>>>>>    mvn:org.springframework/spring-jms/3.0.5.RELEASE
>>>>>    mvn:org.springframework/spring-tx/3.0.5.RELEASE
>>>>>  
>>>>> 
>>>>>
>>>>>
>>>>> what is the best way to trouble shot this issue?
>>>>>
>>>>> Thanks
>>>>>
>>>>> -Dan
>>>>>
>>>>
>>>
>>
> 

Dan,

Turning on debug logging is pretty easy, and you can do if from the console.
If I were you, I'd start up karaf in INFO mode.  Then, just before
attempting to install your feature, type the following on the console:

karaf@root:  log:set DEBUG

This sets the log to DEBUG. Then install your feature.  Once it fails or
installs correctly, from the command line type the following to put the
debugger back in INFO mode:

karaf@root: log:set INFO

I hope that helps!

-----
Karafman
Slayer of the JEE
Pounder of the Perl Programmer

--
View this message in context: 
http://karaf.922171.n3.nabble.com/no-log-activity-when-deploy-a-features-xml-to-deploy-directory-tp2678861p2689000.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to