Test class to rehydrate an agent snapshot and print the contents.
Usage is:
java \
-Xbootclasspath/p:$COUGAAR_INSTALL_PATH/lib/javaiopatch.jar \
-Djava.class.path=$COUGAAR_INSTALL_PATH/lib/bootstrap.jar \
-Dorg.cougaar.install.path=$COUGAAR_INSTALL_PATH \
-Dorg.cougaar.core.persistence.enable=true \
org.cougaar.bootstrap.Bootstrapper \
org.cougaar.core.persist.RehydrateTest \
THE_AGENT_NAME
Optionally enable persistence detail logging by setting:
-Dorg.cougaar.core.logging.log4j.category.org.cougaar.core=DETAIL#org.cougaar.util.log.log4j.DetailPriority
|