karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-2345) Can't start second instance of Karaf 2.3.1 with Cellar 2.3.0
Date Wed, 29 May 2013 14:13:22 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitriy updated KARAF-2345:
---------------------------

    Description: 
I downloaded released Karaf 2.3.1 run it and install Cellar 2.3.0 using 

_features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.0/xml/features_
_features:install cellar_

It works with one instance but if I start the second instance of Karaf I receive an exception:

{code}
2013-05-29 15:11:01,710 | INFO  | rint Extender: 3 | HazelcastGroupManager            | .hazelcast.HazelcastGroupManager
 342 | 57 - org.apache.karaf.cellar.hazelcast - 2.3.0 | CELLAR HAZELCAST: registering cluster
group default
2013-05-29 15:11:01,720 | ERROR | .cached.thread-5 | ListenerManager                  | dardLoggerFactory$StandardLogger
  50 | 54 - com.hazelcast - 2.5.0 | [10.20.30.100]:5702 [cellar] Caught error while calling
event listener; cause: Problem when serializing type 1
com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 1
	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:128)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:156)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.Serializer.readObject(Serializer.java:71)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.ThreadContext.toObject(ThreadContext.java:135)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.IOUtil.toObject(IOUtil.java:163)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.DataMessage.getMessageObject(DataMessage.java:35)[54:com.hazelcast:2.5.0]
	at org.apache.karaf.cellar.hazelcast.TopicConsumer.onMessage(TopicConsumer.java:107)[57:org.apache.karaf.cellar.hazelcast:2.3.0]
	at com.hazelcast.impl.ListenerManager.callListener(ListenerManager.java:419)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.ListenerManager.callListeners(ListenerManager.java:334)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.BaseManager$2.run(BaseManager.java:1391)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.executor.ParallelExecutorService$ParallelExecutorImpl$ExecutionSegment.run(ParallelExecutorService.java:212)[54:com.hazelcast:2.5.0]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
	at com.hazelcast.impl.ExecutorThreadFactory$1.run(ExecutorThreadFactory.java:38)[54:com.hazelcast:2.5.0]
Caused by: java.lang.ClassNotFoundException: org.apache.karaf.cellar.bundle.ClusterBundleEvent
	at org.apache.karaf.cellar.core.utils.CombinedClassLoader.findClass(CombinedClassLoader.java:60)[55:org.apache.karaf.cellar.core:2.3.0]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)[:1.6.0_26]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_26]
	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:81)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:56)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer$1.resolveClass(AbstractSerializer.java:91)[54:com.hazelcast:2.5.0]
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)[:1.6.0_26]
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)[:1.6.0_26]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)[:1.6.0_26]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)[:1.6.0_26]
	at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:440)[:1.6.0_26]
	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.readNormal(DefaultSerializer.java:410)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.read(DefaultSerializer.java:380)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.DefaultSerializer.read(DefaultSerializer.java:138)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.CustomSerializerAdapter.read(CustomSerializerAdapter.java:32)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:121)[54:com.hazelcast:2.5.0]
	... 14 more
{code}

And then 

{code}
2013-05-29 16:21:33,807 | WARN  | l-10-thread-1980 | ThreadContext                    | dardLoggerFactory$StandardLogger
  46 | 54 - com.hazelcast - 2.5.0 | 1652 Thr
eadContext is created!! You might have too many threads. Is that normal?
{code}

It is reproduced for Windows and Unix distributive of Karaf.

  was:
I downloaded released Karaf 2.3.1 run it and install Cellar 2.3.0 using 
_features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.0/xml/features_
_features:install cellar_

It works with one instance but if I start the second instance of Karaf I receive an exception:

{code}
2013-05-29 15:11:01,710 | INFO  | rint Extender: 3 | HazelcastGroupManager            | .hazelcast.HazelcastGroupManager
 342 | 57 - org.apache.karaf.cellar.hazelcast - 2.3.0 | CELLAR HAZELCAST: registering cluster
group default
2013-05-29 15:11:01,720 | ERROR | .cached.thread-5 | ListenerManager                  | dardLoggerFactory$StandardLogger
  50 | 54 - com.hazelcast - 2.5.0 | [10.20.30.100]:5702 [cellar] Caught error while calling
event listener; cause: Problem when serializing type 1
com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 1
	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:128)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:156)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.Serializer.readObject(Serializer.java:71)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.ThreadContext.toObject(ThreadContext.java:135)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.IOUtil.toObject(IOUtil.java:163)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.DataMessage.getMessageObject(DataMessage.java:35)[54:com.hazelcast:2.5.0]
	at org.apache.karaf.cellar.hazelcast.TopicConsumer.onMessage(TopicConsumer.java:107)[57:org.apache.karaf.cellar.hazelcast:2.3.0]
	at com.hazelcast.impl.ListenerManager.callListener(ListenerManager.java:419)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.ListenerManager.callListeners(ListenerManager.java:334)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.BaseManager$2.run(BaseManager.java:1391)[54:com.hazelcast:2.5.0]
	at com.hazelcast.impl.executor.ParallelExecutorService$ParallelExecutorImpl$ExecutionSegment.run(ParallelExecutorService.java:212)[54:com.hazelcast:2.5.0]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
	at com.hazelcast.impl.ExecutorThreadFactory$1.run(ExecutorThreadFactory.java:38)[54:com.hazelcast:2.5.0]
Caused by: java.lang.ClassNotFoundException: org.apache.karaf.cellar.bundle.ClusterBundleEvent
	at org.apache.karaf.cellar.core.utils.CombinedClassLoader.findClass(CombinedClassLoader.java:60)[55:org.apache.karaf.cellar.core:2.3.0]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)[:1.6.0_26]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_26]
	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:81)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:56)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer$1.resolveClass(AbstractSerializer.java:91)[54:com.hazelcast:2.5.0]
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)[:1.6.0_26]
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)[:1.6.0_26]
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)[:1.6.0_26]
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)[:1.6.0_26]
	at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:440)[:1.6.0_26]
	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.readNormal(DefaultSerializer.java:410)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.read(DefaultSerializer.java:380)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.DefaultSerializer.read(DefaultSerializer.java:138)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.CustomSerializerAdapter.read(CustomSerializerAdapter.java:32)[54:com.hazelcast:2.5.0]
	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:121)[54:com.hazelcast:2.5.0]
	... 14 more
{code}

And then 

{code}
2013-05-29 16:21:33,807 | WARN  | l-10-thread-1980 | ThreadContext                    | dardLoggerFactory$StandardLogger
  46 | 54 - com.hazelcast - 2.5.0 | 1652 Thr
eadContext is created!! You might have too many threads. Is that normal?
{code}

It is reproduced for Windows and Unix distributive of Karaf.

    
> Can't start second instance of Karaf 2.3.1 with Cellar 2.3.0
> ------------------------------------------------------------
>
>                 Key: KARAF-2345
>                 URL: https://issues.apache.org/jira/browse/KARAF-2345
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: cellar-2.3.0
>            Reporter: Dmitriy
>            Assignee: Jean-Baptiste Onofré
>         Attachments: etc_karaf_first.zip, etc_karaf_second.zip
>
>
> I downloaded released Karaf 2.3.1 run it and install Cellar 2.3.0 using 
> _features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.0/xml/features_
> _features:install cellar_
> It works with one instance but if I start the second instance of Karaf I receive an exception:
> {code}
> 2013-05-29 15:11:01,710 | INFO  | rint Extender: 3 | HazelcastGroupManager          
 | .hazelcast.HazelcastGroupManager  342 | 57 - org.apache.karaf.cellar.hazelcast - 2.3.0
| CELLAR HAZELCAST: registering cluster group default
> 2013-05-29 15:11:01,720 | ERROR | .cached.thread-5 | ListenerManager                
 | dardLoggerFactory$StandardLogger   50 | 54 - com.hazelcast - 2.5.0 | [10.20.30.100]:5702
[cellar] Caught error while calling event listener; cause: Problem when serializing type 1
> com.hazelcast.nio.HazelcastSerializationException: Problem when serializing type 1
> 	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:128)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:156)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.Serializer.readObject(Serializer.java:71)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.impl.ThreadContext.toObject(ThreadContext.java:135)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.IOUtil.toObject(IOUtil.java:163)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.impl.DataMessage.getMessageObject(DataMessage.java:35)[54:com.hazelcast:2.5.0]
> 	at org.apache.karaf.cellar.hazelcast.TopicConsumer.onMessage(TopicConsumer.java:107)[57:org.apache.karaf.cellar.hazelcast:2.3.0]
> 	at com.hazelcast.impl.ListenerManager.callListener(ListenerManager.java:419)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.impl.ListenerManager.callListeners(ListenerManager.java:334)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.impl.BaseManager$2.run(BaseManager.java:1391)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.impl.executor.ParallelExecutorService$ParallelExecutorImpl$ExecutionSegment.run(ParallelExecutorService.java:212)[54:com.hazelcast:2.5.0]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_26]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_26]
> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
> 	at com.hazelcast.impl.ExecutorThreadFactory$1.run(ExecutorThreadFactory.java:38)[54:com.hazelcast:2.5.0]
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.cellar.bundle.ClusterBundleEvent
> 	at org.apache.karaf.cellar.core.utils.CombinedClassLoader.findClass(CombinedClassLoader.java:60)[55:org.apache.karaf.cellar.core:2.3.0]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)[:1.6.0_26]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_26]
> 	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:81)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.AbstractSerializer.loadClass(AbstractSerializer.java:56)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.AbstractSerializer$1.resolveClass(AbstractSerializer.java:91)[54:com.hazelcast:2.5.0]
> 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)[:1.6.0_26]
> 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)[:1.6.0_26]
> 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)[:1.6.0_26]
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)[:1.6.0_26]
> 	at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:440)[:1.6.0_26]
> 	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.readNormal(DefaultSerializer.java:410)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.DefaultSerializer$ObjectSerializer.read(DefaultSerializer.java:380)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.DefaultSerializer.read(DefaultSerializer.java:138)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.CustomSerializerAdapter.read(CustomSerializerAdapter.java:32)[54:com.hazelcast:2.5.0]
> 	at com.hazelcast.nio.AbstractSerializer.toObject(AbstractSerializer.java:121)[54:com.hazelcast:2.5.0]
> 	... 14 more
> {code}
> And then 
> {code}
> 2013-05-29 16:21:33,807 | WARN  | l-10-thread-1980 | ThreadContext                  
 | dardLoggerFactory$StandardLogger   46 | 54 - com.hazelcast - 2.5.0 | 1652 Thr
> eadContext is created!! You might have too many threads. Is that normal?
> {code}
> It is reproduced for Windows and Unix distributive of Karaf.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message