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

Failure to change 'protocolVersion' in RemoteStoreConfiguration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.2.Final, 9.3.0.Final
    • 9.2.0.Final, 9.2.1.Final
    • Hot Rod
    • None
    • Hide

      e.g. in upstream WildFly

      /subsystem=infinispan/cache-container=web/distributed-cache=dist/store=remote:map-put(name=properties,key=protocolVersion,value="2.5")
      Show
      e.g. in upstream WildFly /subsystem=infinispan/cache-container=web/distributed-cache=dist/store=remote:map-put(name=properties,key=protocolVersion,value= "2.5" )

      14:51:28,266 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache.store.web.dist: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache.store.web.dist: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1706)
      	at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1540)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1364)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.IllegalArgumentException: No enum constant org.infinispan.client.hotrod.ProtocolVersion.2.5
      	at java.lang.Enum.valueOf(Enum.java:238)
      	at org.infinispan.configuration.parsing.XmlConfigHelper.valueConverter(XmlConfigHelper.java:406)
      	at org.infinispan.configuration.parsing.XmlConfigHelper.setAttributes(XmlConfigHelper.java:418)
      	at org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder.withProperties(AbstractStoreConfigurationBuilder.java:149)
      	at org.jboss.as.clustering.infinispan.subsystem.StoreBuilder.getValue(StoreBuilder.java:103)
      	at org.jboss.as.clustering.infinispan.subsystem.StoreBuilder.getValue(StoreBuilder.java:54)
      	at org.jboss.msc.service.ValueService.start(ValueService.java:49)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1714)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1693)
      	... 6 more
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: