3 Replies Latest reply on Apr 2, 2016 7:24 AM by Karl von Randow

    Logging problem in Infinispan 8.*

    Eugeny Balakhonov Newbie

      Hello everybody!

       

      I have web application which contains some web-services and uses Infinispan for caching data. It runs under GlassFish 4.1 (Payara 4.1) and JDK 8.

      I tried to upgrade Infinispan in my project from version 7.2.5-Final to latest 8.1.1. For this purpose I just changed Infinispan version in my Maven POM file.

      But any requests to Infinispan throws following error:

       

      at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
      at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
      at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:226)
      ... 104 more

      Caused by: java.lang.NoSuchMethodError: org.infinispan.util.logging.Log.tracef(Ljava/lang/String;I)V

      at org.infinispan.remoting.transport.jgroups.JGroupsTransport.waitForView(JGroupsTransport.java:238)
      at org.infinispan.remoting.transport.jgroups.JGroupsTransport.waitForChannelToConnect(JGroupsTransport.java:455)
      at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:191)

       

      Previous Infinispan version (7.2) works fine.

      Errors above throws in any 8.* versions.

      Can somebody prompt me what need to do? I think that some additional logging configuration needed for Infinispan 8. Currently I have no special configuration for logging - Infinispan uses standard Java logging interfaces in GlassFish.

       

      Best regards,

      Eugeny