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

Cannot retrieve the keyset of a cache (ISPN000287)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 12.0.1.Final, 12.1.0.Final
    • 11.0.9.Final
    • None
    • None
    • Hide
      • Put the attached config (infinispan.xml) in: <SERVER_ROOT>/server/conf/infinispan.xml
      • Run the server
      • Run the attached JAVA program

      When I am executing the program I get what you see in the attached log file.
      You see that it's correctly retrieved key1 and key2 , but then there is the ISPN000287 error when I execute the keySet operation

      Show
      Put the attached config (infinispan.xml) in: <SERVER_ROOT>/server/conf/infinispan.xml Run the server Run the attached JAVA program When I am executing the program I get what you see in the attached log file. You see that it's correctly retrieved key1 and key2 , but then there is the ISPN000287 error when I execute the keySet operation
    • Undefined

      Hi to all,
      Unfortunately I cannot retrieve the keyset from a cache because I get the following error:
      ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission

      It's quite strange; because in this example code I am able to create a cache if it's not existing (of course if you want to create a cache you need to be admin) but then I am not able to just retrieve the keyset of that cache.
      Am I doing some mistakes or effectively there is a bug?
      Thank you in advance for your help
      Best regards,

      Lorenzo

        1. conf_AND_sample.zip
          4 kB
        2. infinispan.xml
          4 kB
        3. InfinispanSample.java
          2 kB
        4. log.txt
          5 kB

              karestig@redhat.com Katia Aresti
              agslorenzo Lorenzo Pavez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: