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

java.lang.IllegalArgumentException: ISPN027002: Unknown task '@@template@create'

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.0.0.Final
    • 12.0.0.Final
    • Hot Rod, Server
    • None
    • DataGrid Sprint #53
    • Hide
          String xml = String.format("<infinispan><cache-container><distributed-cache name=\"%s\"><memory max-count=\"%d\" storage=\"%s\"/></distributed-cache></cache-container></infinispan>", "FirstDistConf", 10000, "OFF_HEAP");
          BasicConfiguration template = new XMLStringConfiguration(xml);
          remoteCacheManager.administration().createTemplate("FirstDistConf", template);
      
      Show
      String xml = String .format( "<infinispan><cache-container><distributed-cache name=\" %s\ "><memory max-count=\" %d\ " storage=\" %s\ "/></distributed-cache></cache-container></infinispan>" , "FirstDistConf" , 10000, "OFF_HEAP" ); BasicConfiguration template = new XMLStringConfiguration(xml); remoteCacheManager.administration().createTemplate( "FirstDistConf" , template);
    • Undefined

      Creating/Removing a template via the Hot Rod client throws the following exception on the server:

      java.lang.IllegalArgumentException: ISPN027002: Unknown task '@@template@create'
      

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: