archive_server(33) Language: English


Ma_Sys.ma Archive Server

Ma_Sys.ma Archive Server
Version1.1.0.0
Size [KiB]1920
SHA256c1debeecdb147e398be776ee78059d520a9ea8f2c62aa87a68760f1200d3b035
Checked18.08.2014 17:08:22
Downloadhttp://k007.kiwi6.com/hotlink/n2987ch7kt/archive_server.7z

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <url>.

On Debian systems, the license is located at /usr/share/common-licenses/GPL-3. Otherwise, please check LICENSE.txt or if using d5man(32) goto web/gpl(31).

About

The Ma_Sys.ma Archive Server allows you to start a simple HTTP server which reads all data directly from an archive file in ZIP format. The SIMPLE HTTP-Server is used to serve data which is directly read from the archive on-the-fly.

This program was especially designed to be integrated in Ma_Zentral DVDs to make HTML-Documentation (e.g. Ma_Sys.ma IAL) available using as little disk space as possible. Ma_Sys.ma IAL could be compressed from 987 MiB to 336 MiB with ZIP-Compression freeing more than 600 MiB of space on a Ma_Zentral DVD.

The Ma_Sys.ma Archive Server is therefore not designed to be used as an arbitary server for online-purposes but should rather run on local machines behind firewalls (i.e. in intranets) only.

Usage

Ma_Zentral Plugin
$ java -cp CLASSPATH ma.zentral.Main and add a new Plugin Panel with class ma.archive.server.ArchiveServerMaZentral.
Standalone Application with Ma_Zentral in Classpath
$ java -cp CLASSPATH ma.archive.server.ArchiveServerMaZentral
Standalone Application (Terminal only)
$ java -cp CLASSPATH ma.archive.server.Main ARCHIVE PORT

Parameters

CLASSPATH
Should be set to contain all libraries below lib/. When using anything related to Ma_Zentral you will need to have Ma_Zentral 11 and Tools 2.0 in the classpath as well.
ARCHIVE
May be any zip or (non-solid) 7z archive you want to read data from. 7z-support has been dropped in Version 1.1.0.0
PORT
A port for the server to listen. Defaults to 50081 for the standalone console application and 1164 for the Ma_Zentral version.

Makefile

The makefile is designed to only work on the system it was created on. To use it on other systems, some changes have to be done to the variables section depending on the environment. With the necessary programs (Ma_Zentral 11, Tools 2.1 and the JARs below lib/) in your classpath, you should be able to compile and run the Ma_Sys.ma Archive Server via simple javac and java commands. A compiled bytecode-version is distributed together with the sourcecode which means that a JDK is not necessary to run the program.

Miscellaneous notes

Java Squashfs
Java HTTP servers

Zum Seitenanfang