3 Replies Latest reply on Nov 16, 2012 1:46 AM by nadirx

    Hotrod Supports Querying data & Index ??

    ssigabudeen

      Hi

       

      1) I like to know the Infinispan 5.1 version of Hotrod server supports Index & Querying.

       

      2) Failed to connect Hotrod server using JConsole, I enabled the JMX configuration for HotRod server, but still i am not able to connect the hotrod server using JConsole.

       

      •      Enabled <globalJmxStatistics enabled="true"/> at CacheManager level.
      •      Enabled <jmxStatistics enabled="true"/> at Cache level in the configuration file.
      •      Set the properties in startServer.bat,  -Dcom.sun.management.jmxremote.port=3377 -Dcom.sun.management.jmxremote.authenticate=false.    

       

                Tried the below combination of connection Url to connect JConsole, but fails to connect.

       

                Q20206:3377

                service:jmx:rmi:///jndi/rmi://Q20206:3377/jmxrmi/hotrod

                service:jmx:rmi:///jndi/rmi://Q20206:3377/jmxrmi/

               

                service:jmx:rmi:///jndi/rmi://Q20206:11222/jmxrmi/hotrod

                service:jmx:rmi:///jndi/rmi://Q20206:11222/jmxrmi/

          

               

      Kindly let me know what need to be done..

       

      Thanks & Regards

      Jawahar

        • 1. Re: Hotrod Supports Querying data & Index ??
          sannegrinovero

           

          1) I like to know the Infinispan 5.1 version of Hotrod server supports Index & Querying.

           

           

          Hi Jawahar,

          no to support indexing or querying you need to use embedded mode. Technically you could easily have indexing work via Hot Rod, but Querying would be harder as you would need to define some way to encode queries over the protocol (requires a protocol change)

          • 2. Re: Hotrod Supports Querying data & Index ??
            ssigabudeen

            Thanks Sanne.

            Point2: I am not abe to connect the server using JConsole, do i have to configure additionally any parameter apart from the above.

             

             

            • 3. Re: Hotrod Supports Querying data & Index ??
              nadirx

              Hi jawahar,

              connecting to the HotRod server should be just a matter of specifying host:port in the JConsole dialog box (I just did so). These are my properties

               

              -Dcom.sun.management.jmxremote.authentication=false

              -Dcom.sun.management.jmxremote.ssl=false

              -Dcom.sun.management.jmxremote.port=12000

               

              Tristan