Hi Gareth,

thanks for the report, I will take a look tonight.

Regards
JB

On 09/08/2011 07:41 PM, Gareth wrote:
Hello,

I appear to be noticing a couple of issues with cellar.

Background:

My environment: Red Hat EL5 x64 (2.6.18-164.el5), JDK 1.6.0.27 (two machines
- used multicast for hazelcast discovery)
Features currently installed:

State         Version           Name
Repository               Description
[installed  ] [1.9.3          ] hazelcast                            repo-0
In memory data grid
[installed  ] [2.2.2          ] cellar                               repo-0
Karaf clustering
[installed  ] [2.2.2          ] cellar-webconsole                    repo-0
Karaf Cellar Webconsole Plugin
[installed  ] [3.0            ] guice                                repo-0
Google Guice
[installed  ] [3.0.6.RELEASE  ] spring
karaf-2.2.3
[installed  ] [1.2.1          ] spring-dm
karaf-2.2.3
[installed  ] [2.2.3          ] obr
karaf-2.2.3
[installed  ] [2.2.3          ] config
karaf-2.2.3
[installed  ] [7.4.5.v20110725] jetty
karaf-2.2.3
[installed  ] [2.2.3          ] http
karaf-2.2.3
[installed  ] [2.2.3          ] war
karaf-2.2.3
[installed  ] [2.2.3          ] webconsole-base
karaf-2.2.3
[installed  ] [2.2.3          ] webconsole
karaf-2.2.3
[installed  ] [2.2.3          ] ssh
karaf-2.2.3
[installed  ] [2.2.3          ] management
karaf-2.2.3
[installed  ] [1.2.0-SNAPSHOT ] shiro-core
shiro-1.2.0-SNAPSHOT
[installed  ] [1.2.0-SNAPSHOT ] shiro-web
shiro-1.2.0-SNAPSHOT
[installed  ] [5.5.0          ] activemq
activemq-5.5.0
[installed  ] [5.5.0          ] activemq-blueprint
activemq-5.5.0
[installed  ] [5.5.0          ] activemq-web-console
activemq-5.5.0

Feature URLs:

  Loaded   URI
   true    mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features
   true    mvn:org.jclouds.karaf/feature/1.0.0/xml/features
   true
mvn:org.apache.karaf.assemblies.features/enterprise/2.2.3/xml/features
   true
mvn:org.apache.karaf.assemblies.features/standard/2.2.3/xml/features
   true
https://repository.apache.org/content/groups/snapshots-group/org/apache/shiro/shiro-features/1.2.0-SNAPSHOT/shiro-features-1.2.0-20110813.220457-24-features.xml
   true    mvn:org.apache.activemq/activemq-karaf/5.5.0/xml/features

I was playing with feature urls on one of the machines (machine1). I added
and then deleted two feature urls on this machine (I as making sure I
understood how cellar works):

http://machine1:8999/myproduct-features.xml
file:///home/osgi/myproduct-hosting/myproduct-features.xml

Whilst leaving karaf on machine2 running,  I restarted karaf on machine1.
When I run features:listurl after a little while, even though I deleted
these two urls previously, the two urls return! If I repeat the process
(delete the urls, restart karaf on machine1), the urls again return.

I played around a little more, restarting several times. I found if I ran
features:listurl immediately after I see the karaf prompt for the first
time, I am able to see the url list without these deleted urls (of course, a
few seconds later they appear). I also found that sometimes I can hang karaf
completely (requiring kill -9 to stop) when calling features:listurl, though
I haven't been able to reproduce this consistently.

Anything I could be obviously messing up? Any other information I could
provide to help you figure out what may be going wrong (I don't see anything
terribly exciting in the log)?

thanks in advance,
Gareth










--
View this message in context: 
http://karaf.922171.n3.nabble.com/Cellar-2-2-2-Issues-tp3320524p3320524.html
Sent from the Karaf - User mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to