The specification for Outrigger is defined not only by the
JavaSpaces(TM) Service Specification but also by the API
documentation (generated by the Javadoc(TM) tool) for com.sun.jini.outrigger.AdminIterator and
com.sun.jini.outrigger.ConstrainableJavaSpaceAdmin.
net.jini.config
configuration model. A number of aspects of Outrigger that were previously
controlled by properties are now controlled by configuration entries:
| Property Name (no longer consulted) | Configuration Entry Name |
|---|---|
com.sun.jini.outrigger.backend.gcInterval
| gcInterval
|
com.sun.jini.outrigger.basicspace.reapingInterval
| reapingInterval
|
com.sun.jini.outrigger.defaultEventLease
| eventLeasePolicy
|
com.sun.jini.outrigger.maxEventLease
| eventLeasePolicy
|
com.sun.jini.outrigger.maxOps
| maxOps
|
com.sun.jini.outrigger.spaceName
| initialLookupAttributes
|
There are also a number of properties where the associated functionally has either been superseded or changed to be controlled by a different mechanism:
com.sun.jini.outrigger.debug
java.util.logging APIs. Consult Outrigger's
package documentation for details on the loggers and logging levels
used.
com.sun.jini.outrigger.maxProbeInterval
com.sun.jini.outrigger.backend.vm.options and
com.sun.jini.outrigger.java
Most items that were previously controlled by command-line arguments are
now controlled by configuration entries. The initial groups and locators to
join are now controlled by the initialLookupGroups
and initialLookupLocators
configuration entries. The name of the persistence directory is controlled
by the persistenceDirectory
configuration entry. The codebase, classpath, and security policy file are
all specified by the configuration that is passed to the Jini(TM)
Technology Starter Kit (starter kit) service launcher com.sun.jini.start.
This release also supports the new net.jini.core.constraint
model. When Outrigger is configured to use a Java(TM) remote method
invocation (Java RMI) implementation that supports constraints (e.g. Jini extensible method
invocation), all of its proxies will support constraints. Most will do
this by implementing MethodConstraints,
but the proxies for iterators will do so by allowing constraints to be
specified at the time the iterator is created.
Certain configurations of Outrigger will support integrity, confidentiality, authentication, and access control on calls to the Outrigger server. This version of Outrigger also supports:
RemoteListener instances
TransactionManager instances
ActivationID instances
ActivationSystem instances
LookupLocator instances
Lease instances (via the new version of the
JoinManager class)
ServiceRegistrar instances (via the new versions of the
JoinManager, LookupLocatorDiscovery,
and LookupDiscovery classes)
ServiceRegistration instances (via the new version of the
JoinManager class)
A complete list of the supported configuration entries plus example configuration files and command lines can be found in Outrigger's package documentation.
This re-write also increased the number of Outrigger classes that can be re-built from source without the PSEPro development tools. See the note on building Outrigger from source code for details.
The new implementation should be more reliable in the face of crashes but will also be slower for some applications. For other applications it may be faster because in most cases it performs fewer disk synchs when performing operations under transactions.
Because of this rewrite, a database generated by previous releases will not be compatible with this release.
This release uses a new protocol where blocking queries block in the server. Although this ties up a thread (and potentially a socket connection) it appears to have better scaleability for most applications than the previous protocol. As part of developing and implementing the new protocol we were able to fix a number of bugs related to blocking queries. The new protocol should work better in non-LAN environments and is less complex to secure.
If there is demand, we will investigate adding an optional callback-based blocking query protocol in a future release.
outrigger.jar, that is
used for both transient and persistent Outrigger services. The class files
for the default persistence implementation have all been placed in
outrigger-logstore.jar and pro.zip. Both files
are included in outrigger.jar by reference and, if using the
default persistence layer, must be present in the same directory as
outrigger.jar. It is not necessary to have
outrigger-logstore.jar or pro.zip present when
running Outrigger in transient mode. Outrigger also assumes that
jsk-platform.jar is also available. Under normal conditions
as long as jsk-platform.jar is available to the service starter,
the service starter will make jsk-platform.jar visible to
Outrigger.
outrigger-dl.jar Has Been Restructured
outrigger-dl.jar has been changed to enable the use of preferred
classes by inclusion of a preferred
list. Also, outrigger-dl.jar has been changed to assume
that jsk-platform.jar is in the client's classpath (or
extensions).
java.lang.StackOverflowError errorsjava.lang.StackOverflowError
errors. There were two known workarounds for this issue, both involved
passing additional arguments to the back-end process. One
workaround was to set the com.odi.Pool.objectsLimit property to
a sufficiently small value. The other workaround was to allocate a larger
stack. This release uses a newer release of the PSE Pro
object database, which fixes the underlying issue.
null when
transactions replaced matching entriesnull even though there had always been (and
still was) an entry in the space that matched F. The way blocking ifExists
queries are handled has been changed in this release so null
will only be returned if there was a period where there were no matches in
the space.
read(), take(),
readIfExists(), or takeIfExists() with a non-zero
timeout) against its server, the proxy exported a remote object using
java.rmi.server.UnicastRemoteObject.export() and passed it to
the server. As long as there were references to this remote object, Java
RMI would keep a non-daemon thread running to accept connections for
incoming calls. This non-daemon thread would keep the client's virtual
machine for the Java platform from exiting - even if all of the client's
other threads had finished. The way blocking queries are handled has been
changed so it is no longer necessary for the proxy to export a remote
object and thus no non-daemon threads will be created by the proxy.
Entry implementation
class, wrote an instance of it into the space, and then changed the fields
of the class (for example: adding fields, removing fields, changing their
type, and so on), the results of writing instances of the new version of
the class or performing reads and takes using an instance of the new
version of the class were undefined. In the current release you will get an
java.rmi.UnmarshalException.
FrontEndSpace
did not always terminate immediately when the front-end process
was terminated
On the Microsoft Windows NT platform, clients that attempted to
call the service after the front-end process died would block until
the back end process died, at which point they would get a
RemoteException. Once the back-end process died, the
next call to the space would restart the service.
com.sun.jini.outrigger.lifecycle logger at the
INFO level (which by default should print a message to the
console) when an Outrigger server is successfully started.
NullPointerExceptions. This issue has been addressed
in this release.