What's new? | Help | Directory | Sign in
Google
jtilecache
A Java implementation of a WMS-C (Web Mapping Service Caching server)
  
  
  
  
    
Search
for
Updated Aug 20, 2007 by chris.whitney
Labels: Featured
InstallingReadme  
How to install and run JTileCache

JTileCache Setup

chris.whitney@gmail.com

Building

Using maven to generate a war file: mvn package

Configuration

All JTileCache configuration is done in the jtilecache.properties file. Since this file is located inside of the packaged war file, it is a bit cumbersome to use (particularly on application servers that don't explode the war). Future versions might change this location to make it easier to use. If you are building JTileCache from source, you can also specify your configuration before packaging, which might be easier.

In addition to the jtilecache.properties file, JTileCache also uses properties files for commons-logging and cache configuration. Included are sample files for setting up commons-logging with log4j and configuring the JCS cache.

Running

Copy the war file into the webapps directory of your application server. JTileCache should be available at http://server:port/jtilecache/jtilecache . There is sample OpenLayers interface (if you have a Geoserver deployed alongside JTileCache and topp:states available) at http://server:port/jtilecache . Also included is src/docs/JCSAdmin.jsp, a basic cache viewer-- copy it into src/main/webapp (or copy into a running web application root folder) to use. it exposes cache clearing without a password, do not use it for a public-facing server.

Debugging


Sign in to add a comment