karaf 2.3.3 java.io.IOException: Pipe closed
Hi JB, when I try to deploy the quartz-1.8.5.jar to karaf 2.3.3 It always shows the below exception. 2014-01-08 17:04:49,276 | INFO | raf-2.3.3/deploy | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Started bundle: wrap:file:/C:/work/softtools/Karaf%20cluster/apache-karaf-2.3.3/deploy/quartz-2.0.0.jar$Bundle-SymbolicName=quartzBundle-Version=2.0.0 2014-01-08 17:04:50,199 | WARN | Thread-15| BndUtils | ps4j.pax.swissbox.bnd.BndUtils$1 178 | 2 - org.ops4j.pax.url.wrap - 1.3.6 | Bundle cannot be generated java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)[:1.6.0_37] at java.io.PipedInputStream.receive(PipedInputStream.java:210)[:1.6.0_37] at java.io.PipedOutputStream.write(PipedOutputStream.java:132)[:1.6.0_37] at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:155)[:1.6.0_37] at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)[:1.6.0_37] at aQute.lib.osgi.Jar.writeResource(Jar.java:305)[2:org.ops4j.pax.url.wrap:1.3.6] at aQute.lib.osgi.Jar.write(Jar.java:211)[2:org.ops4j.pax.url.wrap:1.3.6] at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:174)[2:org.ops4j.pax.url.wrap:1.3.6] I check the MANIFEST.MF in the jar file. the content as below *Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: cruise Build-Jdk: 1.6.0_24* apparently it is not a standard bundle MANIFEST.MF file. *Is the issue caused by the MANIFEST.MF file? Is any solution to fix this? * -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-2-3-3-java-io-IOException-Pipe-closed-tp4030932.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: karaf 2.3.3 java.io.IOException: Pipe closed
Hi, Servicemix wrap quartz as OSGi bundle, how about you use the one from servicemix[1]. something like install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.6_1 - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On 2014-1-8, at 下午5:33, simafengyun1984 wrote: Hi JB, when I try to deploy the quartz-1.8.5.jar to karaf 2.3.3 It always shows the below exception. 2014-01-08 17:04:49,276 | INFO | raf-2.3.3/deploy | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Started bundle: wrap:file:/C:/work/softtools/Karaf%20cluster/apache-karaf-2.3.3/deploy/quartz-2.0.0.jar$Bundle-SymbolicName=quartzBundle-Version=2.0.0 2014-01-08 17:04:50,199 | WARN | Thread-15| BndUtils | ps4j.pax.swissbox.bnd.BndUtils$1 178 | 2 - org.ops4j.pax.url.wrap - 1.3.6 | Bundle cannot be generated java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)[:1.6.0_37] at java.io.PipedInputStream.receive(PipedInputStream.java:210)[:1.6.0_37] at java.io.PipedOutputStream.write(PipedOutputStream.java:132)[:1.6.0_37] at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:155)[:1.6.0_37] at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)[:1.6.0_37] at aQute.lib.osgi.Jar.writeResource(Jar.java:305)[2:org.ops4j.pax.url.wrap:1.3.6] at aQute.lib.osgi.Jar.write(Jar.java:211)[2:org.ops4j.pax.url.wrap:1.3.6] at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:174)[2:org.ops4j.pax.url.wrap:1.3.6] I check the MANIFEST.MF in the jar file. the content as below *Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: cruise Build-Jdk: 1.6.0_24* apparently it is not a standard bundle MANIFEST.MF file. *Is the issue caused by the MANIFEST.MF file? Is any solution to fix this? * -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-2-3-3-java-io-IOException-Pipe-closed-tp4030932.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: karaf 2.3.3 java.io.IOException: Pipe closed
I second Freeman. Try to use the Quartz SMX bundle. Regards JB On 01/08/2014 10:41 AM, Freeman Fang wrote: Hi, Servicemix wrap quartz as OSGi bundle, how about you use the one from servicemix[1]. something like install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.6_1 - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On 2014-1-8, at 下午5:33, simafengyun1984 wrote: Hi JB, when I try to deploy the quartz-1.8.5.jar to karaf 2.3.3 It always shows the below exception. 2014-01-08 17:04:49,276 | INFO | raf-2.3.3/deploy | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Started bundle: wrap:file:/C:/work/softtools/Karaf%20cluster/apache-karaf-2.3.3/deploy/quartz-2.0.0.jar$Bundle-SymbolicName=quartzBundle-Version=2.0.0 2014-01-08 17:04:50,199 | WARN | Thread-15| BndUtils | ps4j.pax.swissbox.bnd.BndUtils$1 178 | 2 - org.ops4j.pax.url.wrap - 1.3.6 | Bundle cannot be generated java.io.IOException: Pipe closed at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:244)[:1.6.0_37] at java.io.PipedInputStream.receive(PipedInputStream.java:210)[:1.6.0_37] at java.io.PipedOutputStream.write(PipedOutputStream.java:132)[:1.6.0_37] at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:155)[:1.6.0_37] at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:196)[:1.6.0_37] at aQute.lib.osgi.Jar.writeResource(Jar.java:305)[2:org.ops4j.pax.url.wrap:1.3.6] at aQute.lib.osgi.Jar.write(Jar.java:211)[2:org.ops4j.pax.url.wrap:1.3.6] at org.ops4j.pax.swissbox.bnd.BndUtils$1.run(BndUtils.java:174)[2:org.ops4j.pax.url.wrap:1.3.6] I check the MANIFEST.MF in the jar file. the content as below *Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: cruise Build-Jdk: 1.6.0_24* apparently it is not a standard bundle MANIFEST.MF file. *Is the issue caused by the MANIFEST.MF file? Is any solution to fix this?* -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-2-3-3-java-io-IOException-Pipe-closed-tp4030932.html Sent from the Karaf - User mailing list archive at Nabble.com http://Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Karaf samples/quickstarts
Hi I'd like to ask you whether we want to have some samples in Karaf like in ServiceMix or JBoss Fuse, e.g. how to implement persistent bundle or how to use Spring AOP or Spring Security in Karaf... What do you think about the granularity of the samples - more complex samples (e.g. Spring MVC + JPA + Security + Caching...) or simple samples showing only one aspect, something like How to use Spring AOP in Karaf or How to use AspectJ in Karaf? Best regards Krzysztof -- Krzysztof Sobkowiak JEE OSS Architect | Technical Architect @ Capgemini e-mail: krzys.sobkow...@gmail.com mailto:krzys.sobkow...@gmail.com | Twitter: @KSobkowiak
Re: Karaf samples/quickstarts
Hi Krzysiek, I'd like to ask you whether we want to have some samples in Karaf like in ServiceMix or JBoss Fuse I think that all additional examples would be highly appreciated by the community. There are many many use cases not covered by documentation/books/blogs/GitHub. One of the biggest repository of runnable samples is Fuse By Example [1]. I also started to maintain my own [2] - oriented mainly on small runnable PaxExam-based Maven projects that I can easily pick up when working with the customers. I prefer to run Exam tests against the vanilla Karaf. Regarding the size of the examples - I prefer as small examples as possible. Examples I sent to customers usually demonstrates single issue. If you have some sample you might share with the community - please do share :) . Cheers. [1] https://github.com/FuseByExample [2] https://github.com/hekonsek/fuse-pocs -- Henryk Konsek http://henryk-konsek.blogspot.com
RE: Non standard Blueprint properties
Ok, I'll rephrase my theory with a simple example/explanation. Let's say you have a getter and setter like: getABIGInteger and setABIGInteger But the property they set/get is: ABigInt Then what sometimes works is to use a property name based on the getter setter: aBIGInteger (Which I believe it would be). This may work because at runtime DI frameworks will ask for the name of a setter/getter matching the property and therefore will get the one that exists by deriving the property name yourself that matches. Basically, the property name is only used to derive the setter/getter names. I may try this for the heck of it latet and see if it works with Aries. Ryan On Jan 7, 2014 12:56 PM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: Hi Ryan, In concrete terms, what am I supposed to do ? JP [@@ THALES GROUP INTERNAL @@] *De :* Ryan Moquin [mailto:fragility...@gmail.com] *Envoyé :* mardi 7 janvier 2014 16:49 *À :* user@karaf.apache.org *Objet :* Re: Non standard Blueprint properties I THINK this might work, at least it does with certain DI frameworks by nature of how they need to work. When a property is looked up, it isn't visible because it's private. As a result, I don't think the property is actually looked up, I think the setter for whatever setterified or getterfied name of the propery specified in the config is actually looked up. So basically, you can reference a non existing property, as long as it translates into a setter or getter that exists, irregardless of whether the property exists. Also, sometimes you can annotate a setter or getter and change the name of thw property associated with it. If the Aries guys didn't respond with that, maybe it's not an option. I'd give my first suggestion a try.. it's not pretty, but it may work. The setter and getter lookup is based on a standard conversion of the property name anyhow. Hope that helps and works. Ryan On Jan 7, 2014 6:10 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: Dear Karaf experts, I asked the following question to the Aries team, but maybe there is a solution outside Aries. As far as I know Blueprint properties injection work as long as the implementation method name is in the setXXX format, where XXX is the property name. Unfortunately a lot of classes, including brand new JavaFX ones does not follow this convention. Is there a way to handle non-standard method names with the properties? PS: Happy new year! Best regards, Jean-Philippe
Re: Karaf samples/quickstarts
Hi Henryk I think your repository of POCs contains a good starting point for solving several problems. FuseByExamples contains excellent samples too, but the samples are developed for JBoss Fuse. I have found a lot of very excellent repositories with good samples. My idea is to provide the samples as part of Karaf (like ServiceMix) sources, e.g. in examples subdirectory of Karaf repository. This solution would make the maintenance of Karaf more difficult, because the samples must be always adjusted to the changes in Karaf. But on the other side, we could have one place with samples/how-tos which are up to date with the given Karaf release and which provide the best practices for solution of several problems by development of applications running on Karaf. Krzysztof On 08.01.2014 21:16, Henryk Konsek wrote: Hi Krzysiek, I'd like to ask you whether we want to have some samples in Karaf like in ServiceMix or JBoss Fuse I think that all additional examples would be highly appreciated by the community. There are many many use cases not covered by documentation/books/blogs/GitHub. One of the biggest repository of runnable samples is Fuse By Example [1]. I also started to maintain my own [2] - oriented mainly on small runnable PaxExam-based Maven projects that I can easily pick up when working with the customers. I prefer to run Exam tests against the vanilla Karaf. Regarding the size of the examples - I prefer as small examples as possible. Examples I sent to customers usually demonstrates single issue. If you have some sample you might share with the community - please do share :) . Cheers. [1] https://github.com/FuseByExample [2] https://github.com/hekonsek/fuse-pocs -- Krzysztof Sobkowiak JEE OSS Architect | Technical Architect @ Capgemini Capgemini http://www.pl.capgemini.com/ | Software Solutions Center http://www.pl.capgemini-sdm.com/ | Wroclaw e-mail: krzys.sobkow...@gmail.com mailto:krzys.sobkow...@gmail.com | Twitter: @KSobkowiak
Re: Karaf samples/quickstarts
Hi, Just for the curious I have some examples too. It currently contains 3 projects. I mostly use these to isolate specific features and discuss issues I run into with various communities. Regards, misl Krzysztof Sobkowiak schreef op 8-1-2014 22:07: Hi Henryk I think your repository of POCs contains a good starting point for solving several problems. FuseByExamples contains excellent samples too, but the samples are developed for JBoss Fuse. I have found a lot of very excellent repositories with good samples. My idea is to provide the samples as part of Karaf (like ServiceMix) sources, e.g. in examples subdirectory of Karaf repository. This solution would make the maintenance of Karaf more difficult, because the samples must be always adjusted to the changes in Karaf. But on the other side, we could have one place with samples/how-tos which are up to date with the given Karaf release and which provide the best practices for solution of several problems by development of applications running on Karaf. Krzysztof On 08.01.2014 21:16, Henryk Konsek wrote: Hi Krzysiek, I'd like to ask you whether we want to have some samples in Karaf like in ServiceMix or JBoss Fuse I think that all additional examples would be highly appreciated by the community. There are many many use cases not covered by documentation/books/blogs/GitHub. One of the biggest repository of runnable samples is Fuse By Example [1]. I also started to maintain my own [2] - oriented mainly on small runnable PaxExam-based Maven projects that I can easily pick up when working with the customers. I prefer to run Exam tests against the vanilla Karaf. Regarding the size of the examples - I prefer as small examples as possible. Examples I sent to customers usually demonstrates single issue. If you have some sample you might share with the community - please do share :) . Cheers. [1] https://github.com/FuseByExample [2] https://github.com/hekonsek/fuse-pocs -- Krzysztof Sobkowiak JEE OSS Architect | Technical Architect @ Capgemini Capgemini http://www.pl.capgemini.com/ | Software Solutions Center http://www.pl.capgemini-sdm.com/ | Wroclaw e-mail: krzys.sobkow...@gmail.com mailto:krzys.sobkow...@gmail.com | Twitter: @KSobkowiak -- ir. ing. Minto van der Sluis Software innovator / renovator Xup BV Mobiel: +31 (0) 626 014541
karaf cellar 2.3.2 issue
Hi JB, I used the below command to install cellar in karaf 2.3.3 *features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.2/xml/features features:install cellar features:install cellar-cloud* *below is the log. I found there is an issue CELLAR CONFIG: failed to update local configuration . So do you know the solution to fix it? Thanks* 2014-01-08 22:15:46,617 | INFO | rint Extender: 1 | XmlConfigBuilder | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Using configuration file at /opt/gravity/ym39464/apache-karaf-2.3.3/etc/hazelcast.xml 2014-01-08 22:15:46,618 | INFO | rint Extender: 1 | XmlConfigBuilder | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Using configuration file at /opt/gravity/ym39464/apache-karaf-2.3.3/etc/hazelcast.xml 2014-01-08 22:15:46,959 | INFO | -karaf-2.3.3/etc | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed /opt/gravity/ym39464/apache-karaf-2.3.3/etc/org.apache.karaf.cellar.node.cfg 2014-01-08 22:15:46,961 | INFO | -karaf-2.3.3/etc | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed /opt/gravity/ym39464/apache-karaf-2.3.3/etc/org.apache.karaf.cellar.groups.cfg 2014-01-08 22:15:47,084 | INFO | rint Extender: 1 | AddressPicker | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Prefer IPv4 stack is true. 2014-01-08 22:15:47,097 | INFO | rint Extender: 1 | AddressPicker | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Picked Address[162.124.15.154]:5701, using socket ServerSocket[addr=/0.0.0.0,localport=5701], bind any local is true 2014-01-08 22:15:47,242 | INFO | rint Extender: 1 | system | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Hazelcast Community Edition 2.6 (20130603) starting at Address[162.124.15.154]:5701 2014-01-08 22:15:47,243 | INFO | rint Extender: 1 | system | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Copyright (C) 2008-2013 Hazelcast.com 2014-01-08 22:15:47,272 | INFO | rint Extender: 1 | LifecycleServiceImpl | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Address[162.124.15.154]:5701 is STARTING 2014-01-08 22:15:50,085 | INFO | ar.ServiceThread | MulticastJoiner | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Members [1] { Member [162.124.15.154]:5701 this } 2014-01-08 22:15:50,128 | INFO | rint Extender: 1 | LifecycleServiceImpl | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Address[162.124.15.154]:5701 is STARTED 2014-01-08 22:15:50,138 | INFO | ar.ServiceThread | PartitionManager | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Initializing cluster partition table first arrangement... 2014-01-08 22:15:50,343 | ERROR | pool-10-thread-1 | ConfigurationEventHandler| config.ConfigurationEventHandler 91 | 91 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local configuration java.lang.NullPointerException at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[91:org.apache.karaf.cellar.config:2.3.2] at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[91:org.apache.karaf.cellar.config:2.3.2] at Proxy5a0c99d0_cd52_44ca_ad31_987947754f1f.handle(Unknown Source)[:] at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[87:org.apache.karaf.cellar.core:2.3.2] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.6.0_26] at java.lang.Thread.run(Unknown Source)[:1.6.0_26] 2014-01-08 22:15:50,344 | ERROR | pool-10-thread-2 | ConfigurationEventHandler| config.ConfigurationEventHandler 91 | 91 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local configuration java.lang.NullPointerException at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[91:org.apache.karaf.cellar.config:2.3.2] at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[91:org.apache.karaf.cellar.config:2.3.2] at Proxy5a0c99d0_cd52_44ca_ad31_987947754f1f.handle(Unknown Source)[:] at
karaf cellar 2.3.2 issue
Hi JB, I used the below command to install cellar in karaf 2.3.3 *features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.2/xml/features features:install cellar features:install cellar-cloud* *below is the log. I found there is an issue CELLAR CONFIG: failed to update local configuration . So do you know the solution to fix it? Thanks* 2014-01-08 22:15:46,617 | INFO | rint Extender: 1 | XmlConfigBuilder | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Using configuration file at /opt/gravity/ym39464/apache-karaf-2.3.3/etc/hazelcast.xml 2014-01-08 22:15:46,618 | INFO | rint Extender: 1 | XmlConfigBuilder | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Using configuration file at /opt/gravity/ym39464/apache-karaf-2.3.3/etc/hazelcast.xml 2014-01-08 22:15:46,959 | INFO | -karaf-2.3.3/etc | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed /opt/gravity/ym39464/apache-karaf-2.3.3/etc/org.apache.karaf.cellar.node.cfg 2014-01-08 22:15:46,961 | INFO | -karaf-2.3.3/etc | fileinstall | ? ? | 6 - org.apache.felix.fileinstall - 3.2.6 | Installed /opt/gravity/ym39464/apache-karaf-2.3.3/etc/org.apache.karaf.cellar.groups.cfg 2014-01-08 22:15:47,084 | INFO | rint Extender: 1 | AddressPicker | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Prefer IPv4 stack is true. 2014-01-08 22:15:47,097 | INFO | rint Extender: 1 | AddressPicker | dardLoggerFactory$StandardLogger 46 | 86 - com.hazelcast - 2.6.0 | Picked Address[162.124.15.154]:5701, using socket ServerSocket[addr=/0.0.0.0,localport=5701], bind any local is true 2014-01-08 22:15:47,242 | INFO | rint Extender: 1 | system | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Hazelcast Community Edition 2.6 (20130603) starting at Address[162.124.15.154]:5701 2014-01-08 22:15:47,243 | INFO | rint Extender: 1 | system | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Copyright (C) 2008-2013 Hazelcast.com 2014-01-08 22:15:47,272 | INFO | rint Extender: 1 | LifecycleServiceImpl | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Address[162.124.15.154]:5701 is STARTING 2014-01-08 22:15:50,085 | INFO | ar.ServiceThread | MulticastJoiner | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Members [1] { Member [162.124.15.154]:5701 this } 2014-01-08 22:15:50,128 | INFO | rint Extender: 1 | LifecycleServiceImpl | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Address[162.124.15.154]:5701 is STARTED 2014-01-08 22:15:50,138 | INFO | ar.ServiceThread | PartitionManager | dardLoggerFactory$StandardLogger 50 | 86 - com.hazelcast - 2.6.0 | [162.124.15.154]:5701 [cellar] Initializing cluster partition table first arrangement... 2014-01-08 22:15:50,343 | ERROR | pool-10-thread-1 | ConfigurationEventHandler| config.ConfigurationEventHandler 91 | 91 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local configuration java.lang.NullPointerException at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[91:org.apache.karaf.cellar.config:2.3.2] at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[91:org.apache.karaf.cellar.config:2.3.2] at Proxy5a0c99d0_cd52_44ca_ad31_987947754f1f.handle(Unknown Source)[:] at org.apache.karaf.cellar.core.event.EventDispatchTask.run(EventDispatchTask.java:57)[87:org.apache.karaf.cellar.core:2.3.2] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[:1.6.0_26] at java.lang.Thread.run(Unknown Source)[:1.6.0_26] 2014-01-08 22:15:50,344 | ERROR | pool-10-thread-2 | ConfigurationEventHandler| config.ConfigurationEventHandler 91 | 91 - org.apache.karaf.cellar.config - 2.3.2 | CELLAR CONFIG: failed to update local configuration java.lang.NullPointerException at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:71)[91:org.apache.karaf.cellar.config:2.3.2] at org.apache.karaf.cellar.config.ConfigurationEventHandler.handle(ConfigurationEventHandler.java:36)[91:org.apache.karaf.cellar.config:2.3.2] at Proxy5a0c99d0_cd52_44ca_ad31_987947754f1f.handle(Unknown Source)[:] at
Please help to fix karaf cluster issue
Hi JB, I used karaf cellar 2.2.2 to construct my karaf cluster. I tried to construct a cellar cluster in my local. I had 3 nodes in the cluster. 3 kinds of bundles ,as below * 1. third-party bundles(ex: spring-dm bundle) deployed in the node1 2. my customized camel component bundles deployed in the node2 3. my application bundles deployed in the node3* when the 3 node joined in the same group, it seems all the bundles in one node will be copy to other nodes and each of the bundles will have 3 instances in the 3 nodes. in this case, the third-party bundles and custmized camel component bundles are fine. but for my application bundle which is used to listening to the JMS topic and process jms message. Apparently each JMS message will be process in 3 times. * Question1: Do you know any solution of keepping only one instance for a bundle in cluster in the same time?* *Question2: I run command start bundleID in one node. and the bundle will be started in other nodes. *So what's the difference between command start and cluster:bundle-start?* I used cellar to build 2 nodes cluster. * *Question3: I have 2 nodes, one in IP 192.168.1.50, the other in IP 192.169.0.50. But they can't see each other and can't be connected to the same group. Apparently the 2 IP are not in the same net segment. does it caused by the IP which are not in the same net segment.* -- View this message in context: http://karaf.922171.n3.nabble.com/Please-help-to-fix-karaf-cluster-issue-tp4030950.html Sent from the Karaf - User mailing list archive at Nabble.com.