[ https://issues.apache.org/jira/browse/ARTEMIS-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653826#comment-14653826 ]
ASF subversion and git services commented on ARTEMIS-162: --------------------------------------------------------- Commit 7cfc33790d710436fe1de9aea844f0350cc60e16 in activemq-artemis's branch refs/heads/master from Clebert Suconic [ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=7cfc337 ] ARTEMIS-162 Fix non serializable JGroups on Configuration clone used on Colocated support https://issues.apache.org/jira/browse/ARTEMIS-162 > Can't create colocated HA topology with JGroups discovery > --------------------------------------------------------- > > Key: ARTEMIS-162 > URL: https://issues.apache.org/jira/browse/ARTEMIS-162 > Project: ActiveMQ Artemis > Issue Type: Bug > Affects Versions: 1.0.0 > Reporter: Jeff Mesnil > Assignee: clebert suconic > Priority: Critical > Fix For: 1.0.1 > > > Hi, I tried to start two Artemis nodes from our application server in > colocated topology with JGroups as discovery method, but i'm not able to do > it. After both nodes are up, this exception starts spamming in logs: > {noformat} > java.io.NotSerializableException: org.jgroups.JChannel > 10:56:50,187 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) > 10:56:50,188 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) > 10:56:50,188 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) > 10:56:50,188 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > 10:56:50,188 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > 10:56:50,188 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) > 10:56:50,189 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) > 10:56:50,189 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > 10:56:50,189 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > 10:56:50,189 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > 10:56:50,189 ERROR [stderr] (default I/O-5) at > java.util.ArrayList.writeObject(ArrayList.java:747) > 10:56:50,189 ERROR [stderr] (default I/O-5) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > 10:56:50,190 ERROR [stderr] (default I/O-5) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > 10:56:50,190 ERROR [stderr] (default I/O-5) at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > 10:56:50,190 ERROR [stderr] (default I/O-5) at > java.lang.reflect.Method.invoke(Method.java:483) > 10:56:50,190 ERROR [stderr] (default I/O-5) at > java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) > 10:56:50,190 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) > 10:56:50,190 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > 10:56:50,191 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > 10:56:50,191 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) > 10:56:50,191 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509) > 10:56:50,191 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) > 10:56:50,191 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) > 10:56:50,192 ERROR [stderr] (default I/O-5) at > java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) > 10:56:50,192 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.config.impl.ConfigurationImpl.copy(ConfigurationImpl.java:1528) > 10:56:50,192 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.server.cluster.ha.ColocatedHAManager.activateReplicatedBackup(ColocatedHAManager.java:190) > 10:56:50,192 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.server.cluster.ha.ColocatedHAManager.activateBackup(ColocatedHAManager.java:104) > 10:56:50,192 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.server.impl.ColocatedActivation$1.handlePacket(ColocatedActivation.java:141) > 10:56:50,193 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.server.cluster.ClusterController$ClusterControllerChannelHandler.handlePacket(ClusterController.java:424) > 10:56:50,193 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:652) > 10:56:50,193 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:402) > 10:56:50,193 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:379) > 10:56:50,193 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:694) > 10:56:50,193 ERROR [stderr] (default I/O-5) at > org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:73) > 10:56:50,194 ERROR [stderr] (default I/O-5) at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339) > 10:56:50,194 ERROR [stderr] (default I/O-5) at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324) > 10:56:50,194 ERROR [stderr] (default I/O-5) at > io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242) > 10:56:50,194 ERROR [stderr] (default I/O-5) at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339) > 10:56:50,194 ERROR [stderr] (default I/O-5) at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324) > 10:56:50,194 ERROR [stderr] (default I/O-5) at > io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847) > 10:56:50,195 ERROR [stderr] (default I/O-5) at > org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:435) > 10:56:50,195 ERROR [stderr] (default I/O-5) at > org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:371) > 10:56:50,195 ERROR [stderr] (default I/O-5) at > org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) > 10:56:50,195 ERROR [stderr] (default I/O-5) at > org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) > 10:56:50,195 ERROR [stderr] (default I/O-5) at > org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88) > 10:56:50,196 ERROR [stderr] (default I/O-5) at > org.xnio.nio.WorkerThread.run(WorkerThread.java:539) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)