[infinispan-issues] [JBoss JIRA] (ISPN-6093) When infinispan-remote and infinispan-embedded are deployed together we get an error

Sebastian Łaskawiec (JIRA) issues at jboss.org
Mon Jan 25 02:08:00 EST 2016


Sebastian Łaskawiec created ISPN-6093:
-----------------------------------------

             Summary: When infinispan-remote and infinispan-embedded are deployed together we get an error
                 Key: ISPN-6093
                 URL: https://issues.jboss.org/browse/ISPN-6093
             Project: Infinispan
          Issue Type: Bug
    Affects Versions: 8.1.0.Final
            Reporter: Sebastian Łaskawiec
            Assignee: Sebastian Łaskawiec
            Priority: Minor


{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the infinispan-issues mailing list