ALOV logo

DOCUMENTATION

ALOV Map's server side is implemented using Java® servlets and filters. They are running on our server under Tomcat 4.x. You may use any other server that is Servlet 2.2 compliant.

Tomcat can be downloaded from http://jakarta.apache.org/tomcat/index.html.

Step-by-step instructions for installing server software under Tomcat:

  1. Create a dir in [TOMCAT_HOME]/webapps.
  2. Unzip the distribution zip file into this folder.
  3. The distribution contains demo an MS Access database which is the alovbase.mdb file in the [installation_dir]/base dir. You have to create an ODBC DSN "ALOVBASE" for this database.
  4. Run Tomcat. Using your browser (depending on your configuration) go to : http://yourhost:port/[installation dir]/index.html

You may use as demo the MySQL, Interbase or Hypersonic databases.

  1. Download it from our download page.
  2. Restore the database from dump.
  3. If needed, download and install the appropriate JDBC driver
    MySQL: http://www.mysql.com/downloads/api-jdbc.html
    Interbase: http://info.borland.com/devsupport/interbase/opensource
    Hypersonic: http://hsqldb.sourceforge.net/
  4. Ensure the JDBC driver that you are using is installed either at
    [TOMCAT_HOME]/lib
    [TOMCAT_HOME]/webapps/[installation_dir]/WEB-INF/lib.
  5. Either enter in admin zone and define location of database or in the installation folder, find the dir WEB_INF/mapserv-home. Open the file mapserv.xml and setup the connection parameters for the appropriate database manually.

For MySQL

<clearinghouse type="db"> <database url="jdbc:mysql://localhost/alov?autoReconnect=true" user="sa" password="" driver="org.gjt.mm.mysql.Driver"/> </clearinghouse>

For Interbase

<clearinghouse type="db"> <database url="jdbc:interbase://localhost/[path]/alov.gdb" user="SYSDBA" password="masterkey" driver="interbase.interclient.Driver"/> </clearinghouse>

For Hypersonic

<clearinghouse type="db"> <database url="jdbc:hsqldb:hsql://localhost:3309" user="sa" password="" driver="org.hsqldb.jdbcDriver"/> </clearinghouse>

previous  top  next


© ALOV 2002-2005 contact6 at alov.org