Toll Rail Container Terminal Management System (CTMS)

The CTMS is a major application that manages the various rail container terminals on the New Zealand Rail Network. The CTMS allows Toll Rail (formerly Tranz Rail) to manage any freight container - be it on the ground or on a train - in a container terminal, and to control the flow of containers on and off the Rail Network.

The CTMS is also tightly integrated with AMICUS, an older COBOL program that manages other aspect of the Rail Network.

The business logic in CTMS is implemented with a server component using the J2EE standard and IBM WebSphere Application Server; while the full-featured graphical user interface is provided on the desktop using the Amber Java environment

Clearfield Software was the prime contractor used by Toll Rail when building the CTMS.

Project overview:

  • Efficiently manages rail Container Terminals
  • Controls all movements of containers into, out of and within a Container Terminal.
  • Controls all fork lift movements within a Container Terminal, including communicating directly to those fork lifts that have PCs fitted.
  • Includes a B2B website to streamline customers' freight movements.
  • Includes specific functionality to streamline the running of a container terminal, including early problem detection and notification, and specific handling for refrigerated containers (a Toll Rail speciality)
  • Tight integration with other existing applications


  • Amber front end
  • IBM WebSphere back end
  • IBM DB2 database
  • IBM MQ Series
  • Web Services
  • Java
  • J2EE
  • Hibernate
  • Struts



A typical data-entry CTMS screen for managing freight movements.

The CTMS front end is an Amber application that runs in a web browser. CTMS makes heavy use of the enhanced functionality that Amber provides, such as data grids, smart tabs and server push.

The CTMS Stow Plan feature, for planning how containers will be loaded onto a service.

The stow plan is a drag-and-drop Amber interface, that runs in a web browser. Among it's many features, the stow plan allows for the visual management of rail capacity, forward planning, weight-balancing the Cook Strait ferries, controlling forklifts and managing business exceptions.