| Property |
Default Value |
Description |
mbs.storage.allowroot |
com.prosyst.fsbrowser;
com.prosyst.httpfsbrowser |
Contains a list of symbolic names, separated with semi-colons, of the bundles which are allowed to access the root directory of the framework storage. |
mbs.storage.delete |
false |
Removes or preserves the storage directory
at startup. If set to true, the storage folder is deleted. |
mbs.storage.
delete.subarchives |
false |
If true, makes the framework delete
all sub archives included in the bundle classpath from the bundle
JAR after they are extracted. Enabling this function can significantly
reduce the size of the framework storage.
Note: This property
is not valid when using the standard server.jar. To make
it work, server.jar should be recompiled using the JMM Java
Preprocessor option deflate. As the framework source files
are not included in the installation, the recompiled server.jar
is available only upon request to ProSyst. |
mbs.storage.grbnotsave |
false |
Specifies if the list with files to be deleted from
the storage should be saved after every modification (adding or removing
a file). |
mbs.storage.root |
storage |
The name of the root storage folder. |
mbs.storage.inflater |
- |
Defines what ZIP implementation will be
used to decompress JAR files. There are two possibilities:
- To use the inflater in the
java.util.zip package,
set the property to com.prosyst.mbs.
impl.services.
przip.jzip.InflaterImpl.
- To use the ProSyst pure Java inflater, set the property to
com.prosyst.mbs.
impl.services.
przip.pzip.InflaterImpl.
When there is no value set for this property,
the framework works with the java.util.zip inflater.
Note: This property
works for the Standard Version of the framework and the Connector
version of the framework using storage on top of java.io with Connector
support only if server.jar and serverconn.jar, respectively,
are re-compiled with the JMM Java Preprocessor option przip.
As the framework source files are not included in the installation,
the recompiled server.jar is available only upon request
to ProSyst. |
mbs.storage.trustedRoot |
../../../ |
Specifies the directory which the framework will consider as trusted storage root - the checksums of the installed bundles stored outside this directory will be compared on each framework restart, and those whose checksums do not match will be uninstalled. In addition, all extension bundles must be installed in this storage so that they are loaded in the framework.
The property value should end with a path separator ("/"). |
mbs.storage.zip.jdk13 |
true |
If true, fixes some ZIP problems in most of the JDK 1.1/PersonalJava/JDK 1.2 compliant JVMs, like Perc, PJEE, CEE-J, Sun JDK 1.1, etc. |
mbs.storage.zipoutputstream |
- |
Defines what ZIP implementation to use
when writing data in archives. The property has two possible values:
com.prosyst.mbs.
impl.services.
przip.jzip.
ZipOutputStreamImpl - for the archive writer based on the
java.util.zip package;
com.prosyst.mbs.
impl.services.
przip.pzip.
ZipOutputStreamImpl - for the ProSyst archive writer in
pure Java.
Note: This property works for
the Standard Version of the framework and the Connector version
of the framework using storage on top of java.io with Connector
support only if server.jar and serverconn.jar, respectively,
are re-compiled with the JMM Java Preprocessor option przip.
As the framework source files are not included in the installation,
the recompiled server.jar is available only upon request
to ProSyst. |
mbs.update.keep |
false |
Specifies whether the data files in the
framework storage should be kept, when a bundle is updated, or not.
If this property has no value, then as a default value false
is considered. |
mbs.keepmf |
true |
Turns on the framework cache of bundles'
manifests. Otherwise, they are read from the JARs every time Bundle.getHeaders
is called. |
mbs.storage.impl |
com.prosyst.mbs.
impl.framework.
module.storage.
file.StorageImpl |
Specifies which storage
implementation should be used to save framework data. This property
can be:
- For storage on top of java.io and storage on top of java.io
with Connector support -
com.prosyst.mbs.impl.
framework.module.
storage.file.StorageImpl
- For storage on top of MMFS with Connector support -
com.prosyst.mbs.impl.
framework.module.
storage.mm.StorageImpl
|
mbs.storage.url |
- |
If set, this property
specifies a URL from where a built storage can be taken.
Depending on the storage implementation (set with
the mbs.storage.impl system property), this property
should point to:
- Valid ZIP file for storage on top of java.io and storage on
top of java.io with Connector support.
- Valid storage.mbs file for storage on top of MMFS.
storage.mbs is a built storage in a special MMFS format.
|
mbs.storage.native |
jdk12 |
Specifies how
to store native libraries in the storage directory. The value of
this property can be jdk11 or jdk12.
- If it is jdk12, native libraries are placed in separate sub-directories within the data directories
allocated for each installed bundle in the framework storage. In detail, the native libraries of a bundle are saved into <storage_root>/data/<bundle_id>/<bundle_vesion>/native.
Use jdk12 when you have 1.2 compatible VM (you have the
findLibrary
method in a class loader).
- If it is jdk11, native libraries are stored in the native
subfolder of the framework storage. A path to this folder is automatically
added in the environment. Use jdk11 when you have 1.1 compatible
VM. In this case, the path is set to the <storage_root>/native
folder so the
loadLibrary
method can work correctly.
|
mbs.storage.nativedir |
. |
Specifies the directory to which native libraries are
extracted from bundle JARs.
This property is vital when the jdk11 native mode is used and there
is no PATH environment variable, which is the case with
WinCE. |
mbs.storage.keepgarbage |
false |
Turns on/off keeping storage garbage at framework startup. |
mbs.storage.norename |
false |
Specifies if the flat RAM file system the flash
manager will operate on does not support renaming. |
mbs.storage.ramroot |
- |
Indicates the root directory of the temporary RAM storage,
in which the flash
manager will transfer files from the flash persistent storage.
|
mbs.storage.forbiddenChars |
':', '*', '?', '\"', '<', '>', '|' |
Defines the comma-separated set of characters forbidden for file names in the operating system. If some of these characters is encountered in a bundle location, it is replaced with the ^ symbol in the storage. |
mbs.storage.maxFileName |
- |
The maximum number of characters that a bundle JAR file can have in the framework storage. This property should have value less than 48 for the QNX operating system. |
mbs.storage.flashmgr.flatram |
false |
Indicates if the RAM file system, used with the framework
flash manager, is "flat". |
mbs.storage.flashmgr.replace |
false |
Specifies if when a temporary file is scheduled twice
for flush in the queue of the flash
manager, the second instance will replace the first one (the flush
operation is not executed yet).
The default is false – which means that the file will
not be replaced and thus will be synchronized twice. |
mbs.storage.mm.type |
file |
Specifies the type of the memory model
file system (MMFS) used for storing framework data when using the
Connector Version of the framework. It can be:
- file - Stored data is kept in a single file, referred
to as
java.io.RandomAccessFile, on the external memory
of the framework device (hard disk or flash).
- ram - framework and bundle related data are stored in
RAM memory
- <custom_type> - framework and bundle related data
are stored using memory models developed by third parties. In
this case the file system components found in
org.osgi.service.io
and javax.microedition.io should be implemented.
|
mbs.storage.mm.nativelibs |
true |
Enables working with native libraries if
the current storage implementation is com.prosyst.mbs.impl.framework.
module.storage.mm.StorageImpl. Use this property only if the
framework device has file system. |
mbs.storage.mm.cluster.count |
3995 |
Specifies the number of data clusters to
segment an MMFS into. |
mbs.storage.mm.cluster.size |
1024 |
Specifies the size in bytes of each cluster
an MMFS is segmented into. |
mbs.storage.mm.changes.save |
1 |
Specifies the number of changes in the MMFS, after which
the system information will be automatically saved (in case MMFS over
RAM is not used). |
mbs.storage.mm.file.name |
storage.mbs |
Specifies the name of the file, which keeps system information
about the framework storage when MMFS is used. It is recommended to
change this property for Jbed to Vfat0/storage.mbs or to Ram/storage.mbs. |