![]() |
|
The following software components are required for using the OLOS Middleware:
Also, Apache Ant is useful for building and running the components.
Parts using the Ekahau Positioning Engine are not present in the Open Source release (although they are mentioned in the original documentation).
The following steps loosely explain how to compile OLOS and run the Virtual Graffiti example application. (It is probably a better idea to start by reading about OLOS from the M.Sc. Thesis available at the documentation section.)
hsqldb.jar
, xercesImpl.jar
, and
xmlParserAPIs.jar
into OLOS-x.x/lib/
directory or modify build.xml
to refer to these
jar
s.ant jar.
registry_db.sql
. Note that you must include olos.jar
in the runtime classpath of hsqldb.ant run_registry
. Note that
running the registry and other components require modifications to
the deployment descriptors (.properties
files) when
they are run in different nodes. As a default, everything is
configured to be run in localhost.ant run_virtualgraffitifactory
and
ant run_vguserfactory
. ant
run_vgclient
. Reading the documentation included helps a lot
to understand the application... (Note that random circular track
location data in IP-based when running multiple clients.)
The components should be shut down in reverse order, i.e. the client should be able to destroy the PhysicalOLOSObject (see documentation) it uses and the factories should be able to unregister their product classes from the OLOS Registry etc.
Note: If the factory and registry components seem to crash during shutdown, running them without ant typically solves the problem.