3 Replies Latest reply on Dec 17, 2004 6:26 PM by zhe zhang

    I can' t run the example from the downloaded zip file.

    zhe zhang Newbie

      I am trying to run the example in the following step.

      I download the 1.2 versoin's zip file.
      unziped everything to c:\jboss-cache.

      open 2 command window (win 2000 prof)

      in the window1.
      cd c:\jboss-cache
      build run.demo

      C:\jboss-cache>build run.demo

      some messages printed out:

      Buildfile: build.xml

      init:

      compile:

      run.demo:

      [java] -------------------------------------------------------
      [java] GMS: address is 10.16.1.63:2154
      [java] -------------------------------------------------------
      [java] ** view change: [10.16.1.63:2154|0] [10.16.1.63:2154]
      [java] ** node modified: /
      [java] ** node modified: /

      then I saw a gui java window is openning. there is a node in the cache tree.


      then in the window2.
      cd c:\jboss-cache
      C:\jboss-cache>runShellDemo
      BeanShell 1.3.0 - by Pat Niemeyer (pat@pat.net)
      bsh % sourceRelative("plain.bsh");

      -------------------------------------------------------
      GMS: address is 10.16.1.63:2125
      -------------------------------------------------------

      and then in the shell, I typed:
      tree.put("/a/b/c", "testkey", "testvalue");

      but I couldn't see any change in the window1.
      I wonder if I have to change some configuration file before I running these programs? if yes. please let me know where and how.

      another question: what is GMS:address mean?
      should GMS address and port number should be same in both window1 and window2 ( I mean gui window and shell window).

      thanks

      -Z