Tidy up of the client interface code - more commonly known as the "right hand side of the server". Right since the start the filter side of the server has been nice and tree like - every Filter sent data to another Filter. At the top of the tree there was a "special" Filter known as the RootFilter, which to the other Filters just looked like a normal Filter. This was nice, and simple, and expandable. The Client Interface on the other hand was messy. The root filter had some hacky wrapper threads which pulled from a queue and pushed to the relevant client interfaces (one for real time stuff, and the other for databases). There was no simple room for expandability - it was all hardwired to do just what was needed at the time. This commit changes that. A Client Interface now connects to another Client Interface, with a special one being found in the RootFilter (yes, maybe that needs a name change now :-). So we can chain client interfaces, and move other bits and bobs around in the server - for example, alerting no longer needs to be connected to the Client Interface, it can connect straight to the RootFilter (or, wherever the config tells it ;). Hopefully this sanitizes the underlying layout of the server a bit. As a final note, I dropped the DBInterface. This used to insert data in to a MySQL database. We've long since stopped using that, and it's fallen behind and is way out of date. For now, it's gone in to the attic.
Set default logging level to SYSMSG rather than DEBUG.
By default we don't activate the DBInterface. I'll try and craft this in to a better "default" config at some point.
Main change is making the use of jacorb.properties transparent to the end user - something which should have been done with CorbaServices a long time ago :-) Now a base jacorb.properties is included in the jar files, because it's searched by the jacorb loading stuff. The only value outside of the jar file is the naming service location, which can now be found in the default.properties files. The server and corbaservices assume that the naming services is running on localhost on port 8052, which is ok for most normal things. If it's on a different host the default.properties just needs fixing. Also added a default.properties style thing to the corbaservices, and fixed some bugs in the command line argument parsing. Finally, fixed a bug with the make src target of all the Makefiles.
The FileLogger is maybe not the best default logger :) Now adjusted to use the ScreenLogger, which should be be useful for a first install. Thanks AJ!
Major change in the java package naming. This has been held off for some time now, but it really needed doing. The future packaging of all i-scream products will be; uk.org.iscream.<product>.<subpart>.* In the case of the central monitoring system server this will be; uk.org.iscream.cms.server.* The whole server has been changed to follow this structure, and tested to a smallish extent. Further changes in other parts of the CMS will follow.
Changes to reflect the updates in JacORB (1.3.21).
Opps... this a'int right :)
More general changes to the configuration.
Opps, forgot to change this one :)
The whole server package structure has been changed. Old Package: uk.ac.ukc.iscream.* New Package: uk.org.iscream.*
Arg, that silly webpage on the SUN JAVA website told me to do it wrong :) Now fixed it.
SQL Driver is now specified in the default.properties file.
Use the FileLogger instead.
Added starting of the local client.
now has a value for ComponentTimeout in the config
Activated the database now, as it seems to be working fine and more reliably.
modified dependency of FilterManager after discovering problem if it is brought up before the filters
MERGE: Merged the SERVER_PACKAGEBUILD branch back into the HEAD trunk.
Moved to a new location.
file default.properties was initially added on branch SERVER_PACKAGEBUILD.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.