2 Replies Latest reply on Feb 4, 2016 9:38 AM by Sal Collura

    Getting WARN: exception during starting JBoss on secondary Node

    Sal Collura Newbie

      Hey guys, were having issues with repeated warnings that are appearing in the server.log on only the secondary server.

       

      There are 2 servers. 1028/1029. Each server is running JBoss EAP 6.3. Were using the standalone-full-ha.xml fie to initiate clustering in a standalone Env.

       

      Here are the scripts that we use to start JBoss on both servers,

       

      Server1:

      /appl/jboss/jboss-eap-6.3/bin/standalone.sh -c standalone-full-ha.xml -b Hostname -u 230.0.0.4 -Djboss.server.base.dir=/appl/jboss/jboss-eap-6.3/standalone -Djboss.node.name=node1 -bmanagement Hostname &

       

      Server2:

      /appl/jboss/jboss-eap-6.3/bin/standalone.sh -c standalone-full-ha.xml -b Hostname -u 230.0.0.4 -Djboss.server.base.dir=/appl/jboss/jboss-eap-6.3/standalone -Djboss.node.name=node2 -bmanagement Hostname &

       

      JBoss works fine but we see the following repeated warnings in the server.log only on 1029 (secondary server).

       

      The application appears to be working fine. However, the issue that we are seeing is that the log file will grow very fast and as a workaround we would have to schedule a script to clear the logs. Does anyone know what these warnings mean and how to resolve them?

       

      Here's the warnings,

       

      15:15:03,497 WARN  [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (Incoming-7,shared=udp) Problems unmarshalling remote command from byte buffer: java.lang.ClassCastException: java.util.RegularEnumSet cannot be cast to java.lang.Boolean

              at org.infinispan.commands.write.PutKeyValueCommand.setParameters(PutKeyValueCommand.java:152)

              at org.infinispan.commands.RemoteCommandsFactory.fromStream(RemoteCommandsFactory.java:157)

              at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readObject(ReplicableCommandExternalizer.java:114)

              at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readObject(ReplicableCommandExternalizer.java:60)

              at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:406)

              at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:226)

              at org.infinispan.marshall.jboss.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:167)

              at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)

              at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

              at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)

              at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readParameters(ReplicableCommandExternalizer.java:130)

              at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.readObject(CacheRpcCommandExternalizer.java:158)

              at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.readObject(CacheRpcCommandExternalizer.java:73)

              at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:406)

              at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:226)

              at org.infinispan.marshall.jboss.JBossMarshaller$ExternalizerTableProxy.readObject(JBossMarshaller.java:167)

              at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)

              at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

              at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)

              at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:163)

              at org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:121)

              at org.infinispan.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:104)

              at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromBuffer(MarshallerAdapter.java:50)

              at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:215)

              at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:484) [jgroups-3.2.13.Final-redhat-1.jar:3.2.13.Final-redhat-1]