
tim@935: \section{General Settings}
tim@935: \subsection{Structure of Configurationfile}
tim@936: The Configuration of the Artifact-Server will generally be done in one single
tim@936: File. This file is called conf.xml and is stored in the folder conf of the 
tim@936: Artifact-Server.
tim@936: Some additional Configurations will be done using Systemproperties. This 
tim@936: Properties will be listed in the last Section of this chapter.
tim@936: 
tim@936: The Configuration is modelled using XML.
tim@936: The main Structure of the XML-Document now will be explained:
tim@936: 
tim@936: \begin{verbatim}
tim@936: artifact-database
tim@936: |--artifact-factories
tim@936: |--artifacts
tim@936: |--gnv
tim@936: |  |--charttemplate
tim@936: |  |--palettes
tim@936: |  |--horizontal-cross-section-profile
tim@936: |  |--horizontal-cross-section
tim@936: |  |--vertical-cross-section
tim@936: |  |--shapefile-directory
tim@936: |  `--map-generator
tim@936: |--mapserver
tim@936: |--velocity
tim@936: |--ehcache
tim@936: |--geo-backend
tim@936: |--rest-server
tim@936: |--cleaner
tim@936: `--database
tim@936: \end{verbatim}
tim@936: 
tim@936: \subsubsection{artifact-factories}
tim@936: \subsubsection{artifacts}
tim@936: \subsubsection{gnv}
tim@936: \subsubsection{mapserver}
tim@936: \subsubsection{velocity}
tim@936: \subsubsection{ehcache}
tim@936: \subsubsection{geo-backend}
tim@936: 
tim@935: queries.properties
tim@935: arcsdeconnectionpool.properties
tim@935: SQL:
tim@935:     Clarify the special mechanism of the internal functions
tim@935:         ST\_ASTEXT(SHAPE)
tim@935:         ST\_ASTEXT(RASTER)
tim@936: 
tim@936: \subsubsection{rest-server}
tim@936: \subsubsection{cleaner}
tim@936: \subsubsection{database}
tim@936: 
tim@936: 
tim@935: \subsection{Set the Communicationport}
tim@935: \subsection{Logging}
tim@936: \subsection{Configure ArtifactServer using Systemproperties}
tim@936: \begin{itemize}
tim@936:     \item artifact.database.dir The folder where the Configuration is located-
tim@936:     \item query.executor.factory: The absoulte Classname which QueryExecutorfactory should be used
tim@936:     \begin{itemize}
tim@936:         \item de.intevation.gnv.geobackend.base.query.QueryExecutorFactory :
tim@936:               Standardfactory without any Addons.
tim@936:         \item de.intevation.gnv.geobackend.base.query.CachingQueryExecutorFactory: 
tim@936:               Factory with Cache for SQL-Query-Results
tim@936:     \end{itemize}
tim@936:     \item caching.query.executor.config: The absolute Path to the Configurationfile 
tim@936:                                          for the Cache which stores the SQL-Query-
tim@936:                                          Results. This only take effect if the
tim@936:                                          query.executor.factory-Property is set
tim@936:                                          to de.intevation.gnv.geobackend.base.query.CachingQueryExecutorFactory.
tim@936:     \item caching.cleaner.interval: The Interval in seconds the Caches should be cleaned using the Cachecleaner
tim@936: \end{itemize}
tim@935: 




