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

Can not create newCache from baseCache from which to get the configuration inside EAP server

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.0.0.Final
    • CLI
    • None

      After deploying carmart-tx application on EAP server and running create command with like paramer, ISPN019016 error occurs
      [remoting://localhost:9999/DefaultCacheManager/]> create newCache like carcache
      ISPN019016: No such cache: 'carcache'
      [remoting://localhost:9999/DefaultCacheManager/]> cache
      ___defaultcache carcache
      [remoting://localhost:9999/DefaultCacheManager/]> cache carcache
      [remoting://localhost:9999/DefaultCacheManager/carcache]> create newCache like carcache
      ISPN019016: No such cache: 'carcache'
      [remoting://localhost:9999/DefaultCacheManager/carcache]> create newCache like carcache
      ISPN019016: No such cache: 'carcache'
      [remoting://localhost:9999/DefaultCacheManager/carcache]> cache carcache
      [remoting://localhost:9999/DefaultCacheManager/carcache]> get carnumbers

      {"java.util.ArrayList":["FML 23-25","1P3 2632","1B2 1111","6T4 2526","2B2 4946"]}

      [remoting://localhost:9999/DefaultCacheManager/carcache]> get "6T4+2526"
      {"org.jboss.as.quickstarts.datagrid.carmart.model.Car":{"brand":"Mazda MX-5","displacement":1.8,"type":"CABRIO","color":"red","numberPlate":"6T4 2526","country":"USA"}}
      [remoting://localhost:9999/DefaultCacheManager/carcache]> create newCache like carcache
      ISPN019016: No such cache: 'carcache'
      [remoting://localhost:9999/DefaultCacheManager/carcache]> cache newCache
      ISPN019016: No such cache: 'newCache'
      [remoting://localhost:9999/DefaultCacheManager/carcache]> cache
      ___defaultcache carcache
      [remoting://localhost:9999/DefaultCacheManager/carcache]> cache ___defaultcache
      [remoting://localhost:9999/DefaultCacheManager/___defaultcache]> cache
      ___defaultcache
      [remoting://localhost:9999/DefaultCacheManager/___defaultcache]> create newCache like ___defaultcache
      ISPN019016: No such cache: '___defaultcache'
      -------------------------------------------------------------------------------------------------------
      Here is stack trace from server
      13:47:00,970 ERROR [org.infinispan.cli.interpreter.Interpreter] (pool-1-thread-1) ISPN019003: Interpreter error: java.lang.IllegalArgumentException: ISPN019016: No such cache: 'carcache'
      at org.infinispan.cli.interpreter.session.SessionImpl.createCache(SessionImpl.java:93) [infinispan-cli-server-6.0.0.Beta1.jar:6.0.0.Beta1]
      at org.infinispan.cli.interpreter.statement.CreateStatement.execute(CreateStatement.java:25) [infinispan-cli-server-6.0.0.Beta1.jar:6.0.0.Beta1]
      at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:150) [infinispan-cli-server-6.0.0.Beta1.jar:6.0.0.Beta1]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
      at org.infinispan.jmx.ResourceDMBean.invoke(ResourceDMBean.java:271) [infinispan-core-6.0.0.Beta1.jar:6.0.0.Beta1]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [rt.jar:1.7.0_25]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [rt.jar:1.7.0_25]
      at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:1475)
      at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:731)
      at org.jboss.remotingjmx.protocol.v2.ServerProxy$InvokeHandler.handle(ServerProxy.java:952)
      at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1$1.run(ServerCommon.java:153)
      at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$2.run(ServerInterceptorFactory.java:100)
      at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor$2.run(ServerInterceptorFactory.java:96)
      at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_25]
      at javax.security.auth.Subject.doAs(Subject.java:415) [rt.jar:1.7.0_25]
      at org.jboss.as.jmx.ServerInterceptorFactory$Interceptor.handleEvent(ServerInterceptorFactory.java:96)
      at org.jboss.remotingjmx.protocol.v2.ServerCommon$MessageReciever$1.run(ServerCommon.java:149)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
      at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

              Unassigned Unassigned
              vchepeli_jira Vitalii Chepeliuk (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare
              Vitalii Chepeliuk Vitalii Chepeliuk (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: