archive_server(33) Language: English Archive Server Archive Server
Size [KiB]1920
Checked18.08.2014 17:08:22


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).


The 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. IAL) available using as little disk space as possible. 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 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.


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


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.
May be any zip or (non-solid) 7z archive you want to read data from. 7z-support has been dropped in Version
A port for the server to listen. Defaults to 50081 for the standalone console application and 1164 for the Ma_Zentral version.


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 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