Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6093

When infinispan-remote and infinispan-embedded are deployed together we get an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 8.1.0.Final, 8.2.0.Final
    • None
    • None

      Exception in thread "main" java.lang.NoSuchMethodError: org.infinispan.commons.logging.BasicLogFactory.getLog(Ljava/lang/Class;)Lorg/jboss/logging/BasicLogger;
      	at org.infinispan.client.hotrod.impl.operations.PingOperation.<clinit>(PingOperation.java:25)
      	at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.ping(TransportObjectFactory.java:51)
      	at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:45)
      	at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:16)
      	at infinispan.org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
      	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.pingServersIgnoreException(TcpTransportFactory.java:177)
      	at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.start(TcpTransportFactory.java:148)
      	at org.infinispan.client.hotrod.RemoteCacheManager.start(RemoteCacheManager.java:579)
      	at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:380)
      	at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:387)
      	at org.infinispan.data.RemoteWordCount.main(RemoteWordCount.java:25)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      

      The main cause is that in embedded BasicLogger is relocated whereas in remote it's not.

            ttarrant@redhat.com Tristan Tarrant
            slaskawi@redhat.com Sebastian Ɓaskawiec (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: