Sun and Oracle Community Voices How to Buy Log In United States [Change] English

»  Spotlight Articles
»  Projects
»  Publications
»  People
»  Awards
»  Events
»  Downloads
»  Internships
»  Contrarian Minds
»  About Sun Labs

opjcs- Creating and Deleting Stores

opjcs creates a new, empty, store or deletes an existing store

SYNOPSIS

opjcs [-storeconfig] pathname [ options ]

DESCRIPTION

opjcs is an application that creates or deletes a store from a given configuration file. A newly created store contains a minimal number of objects to support its subsequent resumption, essentially the persistence-reachable bootstrap classes.

opjcs parses the store configuration file in order to determine the location of the store components. As such it can be used to test a configuration file for syntactic correctness.

OPTIONS

-overwrite
Causes any existing store by the same name to be deleted before creating the new store.
-delete
Simply deletes any existing store
-verbose
Causes a small amount of trace information to be written as opjcs works.
-autoWindowsOff
-nowindowresume
Disable the "Auto Windows" setting in the created store. See opj for details.

BUGS

Note that the (optional) keyword prefix to the configuration file pathname is "-storeconfig" and not "-config" or "-store". Since opjcs is a Java program, if you give it either of these keywords, then then the OPJ Virtual Machine will swallow them and execute opjcs on the given store, which will not have the effect that you want! However, opjcs will output an error message "no store configuration file specified" in this case, which should alert you to the mistake.


Questions and comments to forest-info@sunlabs.com