Description of problem: Method java.lang.Long.compare is only available since java7, it is causing problems when running with JDK6. Error Message org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport Extracted trace: Caused by: java.lang.NoSuchMethodError: java.lang.Long.compare(JJ)I at org.jgroups.util.TimeScheduler3$Task.compareTo(TimeScheduler3.java:260) at org.jgroups.util.TimeScheduler3$Task.compareTo(TimeScheduler3.java:237) at java.util.PriorityQueue.siftUpComparable(PriorityQueue.java:599) at java.util.PriorityQueue.siftUp(PriorityQueue.java:591) at java.util.PriorityQueue.offer(PriorityQueue.java:291) at java.util.concurrent.DelayQueue.offer(DelayQueue.java:115) at java.util.concurrent.DelayQueue.add(DelayQueue.java:100) at java.util.concurrent.DelayQueue.add(DelayQueue.java:68) at org.jgroups.util.TimeScheduler3.add(TimeScheduler3.java:211) at org.jgroups.util.TimeScheduler3.doSchedule(TimeScheduler3.java:190) at org.jgroups.util.TimeScheduler3.scheduleRecurring(TimeScheduler3.java:176) at org.jgroups.util.TimeScheduler3.scheduleWithFixedDelay(TimeScheduler3.java:99) at org.jgroups.protocols.TP.init(TP.java:1205) at org.jgroups.protocols.BasicTCP.init(BasicTCP.java:84) at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:860) at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481) at org.jgroups.JChannel.init(JChannel.java:848) at org.jgroups.JChannel.<init>(JChannel.java:159) at org.jgroups.JChannel.<init>(JChannel.java:139) at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:392) at org.infinispan.remoting.transport.jgroups.JGroupsTransport.initChannel(JGroupsTransport.java:284) at org.infinispan.remoting.transport.jgroups.JGroupsTransport.initChannelAndRPCDispatcher(JGroupsTransport.java:328) at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168) ... 34 more
This was already fixed in ER5. *** This bug has been marked as a duplicate of bug 1162798 ***