Description

This article defines the syntax for running a G-Map Server. The G-Map Server must be launched and running before generating data. 


Command to the run within a G-Map Server

Syntax: -gmap <port>

Example: genrocket -gmap 8500


Example Usage

The image below shows a G-Map server being launched on port 8500 within a terminal. When the G-Map server starts up, it echos its current configuration to the terminal.


> genrocket -gmap 8500


port = 8500

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheManager 

INFO: Instance is null, returning unconfigured instance

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheManager 

INFO: Setting default auxiliaries to "DC"

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheManager 

INFO: setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheManager 

INFO: setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = 21600, IdleTime = 1800, CreateTime = 1637298905535, LastAccessTime = 1637298905535, getTimeToLiveSeconds() = 21599, createTime = 1637298905535 ]

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheConfigurator 

INFO: Parsed regions []

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheManager 

INFO: Finished configuration in 9 ms.

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCacheConfigurator 

INFO: No special ElementAttribute class defined for key [jcs.region.default.elementattributes], using default class.

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.memory.AbstractDoubleLinkedListMemoryCache 

INFO: initialized MemoryCache for default

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.engine.control.CompositeCache 

INFO: Constructed cache with name [default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.auxiliary.AuxiliaryCacheConfigurator 

INFO: No cache event logger defined for auxiliary [jcs.auxiliary.DC]

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.auxiliary.AuxiliaryCacheConfigurator 

INFO: Using standard serializer [org.apache.commons.jcs3.utils.serialization.StandardSerializer@2b5825fa] for auxiliary [jcs.auxiliary.DC]

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCache 

INFO: Region [default] : Set maxKeySize to: "1,000,000"

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCache 

INFO: Region [default] : Cache file root directory: /Users/htaylor/.genrocket/gmap_cache_8500

Nov 18, 2021 9:15:05 PM org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCache 

INFO: Region [default] : Loaded keys from [default], key count: 200,000; up to 1,000,000 will be available.

Nov 18, 2021 9:15:06 PM org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCache 

INFO: Region [default] : Finished inital consistency check, isOk = true in 91ms.

Nov 18, 2021 9:15:06 PM org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCache 

INFO: Region [default] : Indexed Disk Cache is alive.

Nov 18, 2021 9:15:06 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate

INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 04:51 PM'

Nov 18, 2021 9:15:06 PM org.glassfish.grizzly.http.server.NetworkListener start

INFO: Started listener bound to [localhost:8500]

Nov 18, 2021 9:15:06 PM org.glassfish.grizzly.http.server.HttpServer start

INFO: [HttpServer] Started.

Jersey app started with WADL available at http://localhost:8500/application.wadl