Stop and Restart KVLite

To stop and restart KVLite, perform the following steps:

To stop KVLite, use Ctrl C (^C) from within the shell where KVLite is running.

To restart the process, simply run the KVLite utility without any command line options. Do this even if you provided non-standard options when you first started KVLite. This is because KVLite remembers information such as the port value and the store name in between run times. You cannot change these values by using the command line options.

$ java -Xmx64m -Xms64m -jar KVHOME/lib/kvstore.jar kvlite

If you want to start over with different options than you initially specified, delete the KVROOT directory (./kvroot, by default), and then re-run the kvlite utility with whatever options you desire. Refer to Start KVLite.

Alternatively, specify the -root command line option, making sure to specify a location other than your original KVROOT directory, as well as any other command line options that you want to change.

Note: If you choose to start over, all your previous data will be lost.