Hello Ioannis,

I tried again with an even more basic configuration (base karaf +
features:install cellar):

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  ] [1.0.0          ] jclouds                              repo-0     
           
JClouds
[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          ] config                              
karaf-2.2.3            
[installed  ] [2.2.3          ] ssh                                 
karaf-2.2.3            
[installed  ] [2.2.3          ] management                          
karaf-2.2.3

I still had the same problem. In fact, I found the problem even worse. As
soon as you turn multicast off from the file and restart karaf, the cellar
features bundle hangs on startup:

[  67] [Active     ] [Created     ] [       ] [   60] Apache Karaf :: Cellar
:: Core (2.2.2)
[  68] [Active     ] [Created     ] [       ] [   60] Apache Karaf :: Cellar
:: Config (2.2.2)
[  69] [Active     ] [GracePeriod ] [       ] [   60] Apache Karaf :: Cellar
:: Features (2.2.2)
[  70] [Active     ] [Created     ] [       ] [   60] Apache Karaf :: Cellar
:: Bundle (2.2.2)
[  71] [Active     ] [Created     ] [       ] [   60] Apache Karaf :: Cellar
:: Utils (2.2.2)
[  72] [Active     ] [Created     ] [       ] [   60] Apache Karaf :: Cellar
:: Shell (2.2.2)
[  73] [Active     ] [            ] [Started] [   60] Apache Karaf :: Cellar
:: Hazelcast (2.2.2)
[  74] [Active     ] [Created     ] [       ] [   60] Apache Karaf :: Cellar
:: Management (2.2.2)

I have to shutdown karaf with "kill -9" (as shutdown doesn't work). Even if
I now turn multicast back on in the instance config file and restart, the
"Cellar :: Features" bundle continues to hang. I don't see anything too
exciting in the logs which could point me to the issue. I only see this on
shutdown:

2011-09-06 15:29:23,259 | DEBUG | lixDispatchQueue | framework                  
     
| ?                                   ? | 0 - org.apache.felix.framework -
3.0.9 | BundleEvent STOPPED2011-09-06 15:29:23,259 | DEBUG | nt Dispatcher:
1 | BlueprintListener                | raf.shell.osgi.BlueprintListener   85
| 30 - org.apache.karaf.shell.osgi - 2.2.3 | Blueprint app state changed to
Destroying
 for bundle 74
2011-09-06 15:29:23,259 | WARN  | hz.UDP.Sender    | ManagementCenterService    
     
| dardLoggerFactory$StandardLogger   62 |  -  -  | [cellar] sleep
interrupted
java.lang.InterruptedException: sleep interrupted        at
java.lang.Thread.sleep(Native Method)[:1.6.0_27]
        at
com.hazelcast.impl.management.ManagementCenterService$UDPSender.run(ManagementCenterService.java:212)[42:hazelcast:1.9.3]2011-09-06
15:29:23,260 | DEBUG | FelixStartLevel  | management                       |
?                                   ? | 74 -
org.apache.karaf.cellar.management - 2.2.2 | ServiceEvent UNREGISTERING
2011-09-06 15:29:23,261 | DEBUG | FelixStartLevel  | ReferenceRecipe            
     
| eprint.container.ReferenceRecipe  152 | 9 - org.apache.aries.blueprint -
0.3.1 | Unbinding reference mbeanServer

If you could let me know what else I can try, it would be much appreciated.

thanks in advance,
Gareth




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Configuring-Cellar-For-TCP-Instead-Of-Multicast-tp3305497p3314614.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to